question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In the readme you say:

To complete the bridging process, look for AppDelegate.h in ios/yourapp Add #import <YourModule/YourModule.h> to the top of the file

When I do that, I get:

fatal error: 'RNTestModule/RNTestModule.h' file not found

The files live in the root of ios/ folder - not in the project folder within, i.e. ios/MyApp. Could that be the reason?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
peggyrayziscommented, Jul 21, 2017

I was able to reproduce your issue last night creating a demo project. Originally, I thought you meant that you had to manually add React files like RCTBridgeModule.

You will have to manually add your files generated from RNCB because we don’t currently edit your existing files like project.pbxproj. Thank you for catching this though because this was definitely an opportunity to improve the readme. 😀

Also, I put bridge modules in the root of ios/ because folders can get weird in Xcode and everyone has their own preferences. I tend to use groups instead of folders on disk to organize my bridge modules, but that’s up to you.

0reactions
chrise86commented, Jul 21, 2017

Yes existing project:

"react": "16.0.0-alpha.6",
"react-native": "0.44.0",
Read more comments on GitHub >

github_iconTop Results From Across the Web

Universal Links - Apple Developer
Seamlessly link to content inside your app, or on your website in iOS 9 or later. With universal links, you can always give...
Read more >
Linking - React Native
Linking gives you a general interface to interact with both incoming and outgoing ... Android calls it Deep Links (Universal Links - iOS)....
Read more >
What is Deep Linking in iOS? - Originate
Deep linking consists of using a hyperlink that links to a specific piece of content within an app - a specific view, particular...
Read more >
Universal links in iOS. Last day I was asked to integrate deep…
Apple introduced Universal Links in iOS 9 as a solution to the lack of graceful fallback functionality in custom URI scheme deep links....
Read more >
Deep Linking for iOS - Braze
This article covers how to implement the universal deep linking delegate for your iOS app and examples on how to deep link to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found