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.

iOS build fails after updating the library

See original GitHub issue

Steps to reproduce

  1. I am using this library for the past one month.
  2. After updating it to the latest one, gives me this error.
  3. I have added it like this in my package.json - "react-native-twilio-video-webrtc": "git+https://github.com/blackuy/react-native-twilio-video-webrtc.git"

Expected behavior

Should work as earlier

Actual behavior

Gives Compile-time error

Environment

  • Node.js version: v10.4.1
  • React Native version:0.61.1
  • React Native platform + platform version: iOS 13.0/11.4

react-native-twilio-video-webrtc

Version: “master”

Below are the errors -

  • Implicit declaration of function ‘kTVIDefaultAVAudioSessionConfigurationBlock’ is invalid in C99
  • Unknown receiver ‘TwilioVideoSDK’; did you mean ‘TwilioVideo’?

Issue Analytics

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

github_iconTop GitHub Comments

19reactions
deshanmcommented, May 4, 2020

After upgrading pod install shows this error

[!] CocoaPods could not find compatible versions for pod "TwilioVideo":
  In snapshot (Podfile.lock):
    TwilioVideo (= 2.10.2, ~> 2.10.1)

  In Podfile:
    react-native-twilio-video-webrtc (from `../node_modules/react-native-twilio-video-webrtc`) was resolved to 1.0.2-1, which depends on
      TwilioVideo (~> 3.2.3)


You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * changed the constraints of dependency `TwilioVideo` inside your development pod `react-native-twilio-video-webrtc`.
   You should run `pod update TwilioVideo` to apply changes you've made.

They have upgraded the IOS platform version - https://github.com/blackuy/react-native-twilio-video-webrtc/blob/master/react-native-twilio-video-webrtc.podspec#L16

I had to upgrade the Pod platform version in ios/Podfile platform :ios, '11.0'

2reactions
raphaelrkcommented, May 5, 2020

A note for others trying to install a specific version of this library using yarn, the steps I used:

  • yarn cache clean
  • rm yarn.lock
  • yarn add https://github.com/blackuy/react-native-twilio-video-webrtc#16105c0e22b6c46dafc1e11d314b8dc02e481b87 (this is the current master commit, sub in whichever commit you were last using)
  • yarn
  • cd ios
  • rm -rf ./Pods/
  • rm Podfile.lock
  • pod install
Read more comments on GitHub >

github_iconTop Results From Across the Web

many errors after updating xcode - Stack Overflow
1) Clean and build · 2) Enable bitcode: no · 3) Valid architectures: delete arm7 and arm64, only left armv7 · 4) pod...
Read more >
xcode14:Library not loaded: /usr/l… | Apple Developer Forums
4.1 is running properly, but after upgrading Xcode14, the debugging device reports an error: Library not loaded: / usr/lib/swift/libswiftCoreGraphics dylib, I ...
Read more >
Rebuild problem of C++ iOS static libraries after upgrading ...
After upgrading Xcode from version "10.3 (10G8)" to "11.0 (11A420a)" rebuilding C++ iOS static library projects fail with the following error message:
Read more >
Oh dear! Build errors? - LoopDocs - GitHub Pages
Did you check that you have the minumum Xcode version for your iOS ? This is critical. If you are updating your Loop...
Read more >
iOS Troubleshooting Guide | Capacitor Documentation
This error can happen if CocoaPods hasn't been able to run to install your dependencies. ... Perform a new build after running this...
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