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.

No Libraries folder in Xcode 10.1 Project

See original GitHub issue

Expected behavior

The installation procedure is outdated : there is no Libraries folder in my .xcworkspace file with the configuration I have (please see below). I would like to participate in the project and propose an update of the iOSInstallation.md file, but I don’t know the right way to do… I try to get some help from #301 and from #312 but it is still not clear how to deal with the first step. Is there anybody to help ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
poltakcommented, Dec 4, 2019

RE @arnaudambro https://github.com/react-native-webrtc/react-native-webrtc/issues/571#issuecomment-457103271: why would we need to follow official steps 2, 3, 4 if using CocoaPods?

For step 2, I can see "${PODS_ROOT}/../../node_modules/react-native-webrtc/ios" is already in Framework Search Paths and "${PODS_CONFIGURATION_BUILD_DIR}/react-native-webrtc" is already in Library Search Paths, but both set as non-recursive. Should those be removed and replaced with what’s detailed in step 2, or should that stay? If still adding what’s detailed in step 2, should I be adding paths to what’s in node_modules or paths to the libs in my pods dir?

For step 3, I can’t see any Embedded Binaries section in xcode 11. I can see a Frameworks, Libraries, and Embedded Content section which seems appropriate. However that already includes my generated libPods-XX.a. Does that already include the WebRTC.framework or that needs to be included again?

For step 4, most of those libs + frameworks I’m meant to add in Link Binary With Libraries seem to already be present in my Podfile. Do these need to be added again or will they be used from my linked libPods-XX.a? If I scroll down to the Embed Pods Frameworks section of Build Phases I can also see ${PODS_ROOT}/../../node_modules/react-native-webrtc/ios/WebRTC.framework already set there. Not sure if that covers me or I need to add it again in Embed Frameworks section as detailed in that step.

The iOS Podfile section of Documentation/iOSInstallation.md also comes between step 1 and 2. I presume that means I’m meant to follow step 1 first, though from what I understand of how Cocoapods works that seems redundant (those libs are already included in the built pods lib that gets linked).

In general I am very new to React Native and using tools like Cocoapods, and am finding the instructions for this project very confusing. I am confused in particular as to what needs to change in the setup if I’m using Cocoapods. I would happily help try to make the instructions less confusing, although I’m trying to get my head around how things should work first.

0reactions
saghulcommented, Nov 25, 2020

Updated the installation docs, with XCFramework everything should be simpler now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode 10.1 - the file '***.app' co… | Apple Developer Forums
I removed library lstdc++6.0.9.dylib from the project because it is not required and Xcode 10.1 won't let me compile. Likewise, I leave Valid...
Read more >
xcode library not found - Stack Overflow
In my case, the project uses CocoaPods. And some files are missing from my project. So I install it from CocoaPods: https://cocoapods.org/.
Read more >
Copy Xcode Project in 5 Easy, Safe Steps within 10 Minutes
The first action not to be done is to copy/duplicate the folder and rename the project. This is prone to so many errors;...
Read more >
Getting Started - CocoaPods Guides
CocoaPods manages library dependencies for your Xcode projects. The dependencies for your projects are specified in a single text file called a Podfile....
Read more >
Add Firebase to your Apple project
If you don't already have an Xcode project and just want to try out a Firebase product, ... Learn more about these Firebase...
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