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.

Installation: issue when adding RNInCallManager and looking at Objective-C Bridging header

See original GitHub issue

I’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:closed
  • Created 6 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jerameelcommented, Jul 12, 2017

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.

0reactions
zxcpoiucommented, Sep 27, 2017

thanks @jay0lu , doc updated.

Read more comments on GitHub >

github_iconTop 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 >

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