Installation: issue when adding RNInCallManager and looking at Objective-C Bridging header
See original GitHub issueI’m trying to follow the instructions to get this library working in my react-native project, for ios, and am having major trouble:
Add files in to your project:
Open your project in xcode
find your_project directory under your project's xcodeproject root. ( it's a sub-directoory, not root xcodeproject itself )
you can do either:
directly drag your node_modules/react-native-incall-manager/ios/RNInCallManager/ into it.
right click on your_project directory, add files to your project and add node_modules/react-native-incall-manager/ios/RNInCallManager/
on the pou-up window, uncheck Copy items if needed and select Added folders: Create groups then add it. you will see a new directory named RNInCallmanager under your_project directory.
Setup Objective-C Bridging Header:
click your project's xcodeproject root, go to build setting and search Objective-C Bridging Header
set you header location, the default path is: ReactNativeProjectRoot/ios/, in this case, you should set ../node_modules/react-native-incall-manager/ios/RNInCallManager/RNInCallManager-Bridging-Header.h
This is what the directory structure looks like in xcode:
myProject
-- webRTC.framework
-- RCTWebRTC.xcodeproj
-- myProject
-- Libraries
-- voicewrtcTests
-- Products
-- Frameworks
I need to add RNInCallManager to myProject/myProject, correct? When I do I don’t get the pop-up window where I can uncheck “Copy items if needed” and select “Added folders: Create Groups”.
**When I look at the build settings on myProject root directory, I do not see Objective-C Bridging Header anywhere, it’s not there (I can search for it with empty results) **
How can I proceed to install this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Need help to resolve error "using bridging headers with ...
1) Created Bridging header file and added into project target. 2)Added import statement to header file "#import <sqlite3.h>". 3) This header is marked...
Read more >Getting "file not found" in Bridging Header when importing ...
Things I've checked: The "Install Objective-C Compatibility Header" is set to "YES". The Header Search Paths includes the path to the frameworks ...
Read more >Installation Instructions for Adding Swift Bridging Header #292
When adding Stripe React Native to a fresh React Native project, it won't build on its own. It is required to add a...
Read more >react-native-incall-manager - npm
Setup Objective -C Bridging Header: click your project's xcodeproject root , go to build setting and search Objective-C Bridging Header ...
Read more >Write Swift Applications Using the iOS Client SDK
Add the Bridging Header File. You need to use a bridging header file to import the header files of the Objective-C public classes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I solved this issue by draging the folder from finder directly. after that, the dialog will pop up. select the required options as indicated in the Readme then bridging header will finally appear.
thanks @jay0lu , doc updated.