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.

Wrong documentation for iOS installation

See original GitHub issue

How can I make this library work on iOS using Cocoapods? In your documentation I’ve found the following:

You can use the included podspec in your podfile to take care of all dependencies
instead of manually adding files to the project (instead of steps 2 through 5,
but you might still have to do step 6 above).

but above is only 4 steps…

My actions to reproduce the issue:

  1. yarn add react-native-webrtc
  2. add podspec to Podfile in ios folder
  3. cd ios && pod install
  4. cd .. && react-native link
  5. try to build project in Xcode -> the error appears: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Kenjiroucommented, Jun 23, 2017

@saghul yeah, you’re right - it happens because of react-native link command. So, with Cocoapods we don’t need to use it after pods have installed. Thank a lot for your help!

P.S. but the documentation still needs to be improved, I think 😉

0reactions
saghulcommented, Jun 23, 2017

The error is “Duplicate symbols for architecture x86_64”. Check if you are linking with WebRTC.framework twice.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation Failure Troubleshooting for iOS - Apple Developer
This document assists with iOS App installation failures. Use it to diagnose specific causes and resolve app installation failures.
Read more >
Error installing iOS 6 sdk Documentation - Stack Overflow
I am having the following error, after I it has downloaded the iOS 6.0 Library : Installation path, /Users/user/Library/Developer/Shared/ ...
Read more >
Troubleshooting iOS - OneSignal Documentation
Troubleshooting Steps. Check this page first for common issues based on iOS Setup. Try the example project on our Github repository.
Read more >
Set up an Xcode Project | Maps SDK for iOS
Step 2: Create the XCode project and install the Maps SDK for iOS · Open a terminal and go to the project directory...
Read more >
Troubleshooting iOS/iPadOS device enrollment errors in ...
Download and install the Microsoft Intune Company Portal app from App Store. Re-enroll the device. User Name Not Recognized. The error "User ...
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