iOS build fails after updating the library
See original GitHub issueSteps to reproduce
- I am using this library for the past one month.
- After updating it to the latest one, gives me this error.
- 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:
- Created 3 years ago
- Comments:13 (2 by maintainers)
Top 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 >
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 Free
Top 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
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'
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