Fails on `pod install`
See original GitHub issueWhen running pod install
I get the following error. The framework source files are missing from the dependency clone in node_modules. The issue is solved if I manually unzip the node_modules/react-native-webrtc/apple/WebRTC.xcframework.tgz
archive.
If I manually download
Expected behavior
Running pod install
should finish succesfully.
Observerd behavior
Running pod install
fails with
[!] The plist file at path `/Users/myuser/workspace/sandbox/MyApp/node_modules/react-native-webrtc/apple/WebRTC.xcframework/Info.plist` doesn't exist.
Steps to reproduce the problem
Run pod install
Platform information
react-native-webrtc version 1.89.1
System:
OS: macOS 11.2.3
CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Memory: 354.63 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node
Yarn: 1.22.10 - ~/.nvm/versions/node/v14.16.0/bin/yarn
npm: 6.14.11 - ~/.nvm/versions/node/v14.16.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 15, 23, 24, 25, 26, 27, 28, 29, 30
Build Tools: 23.0.1, 23.0.3, 25.0.2, 26.0.1, 27.0.2, 27.0.3, 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.3
System Images: android-26 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: 20.0.5594570
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7042882
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_221 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.0 => 0.64.0
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:6 (3 by maintainers)
Top Results From Across the Web
cocoapods - Error on pod install - Stack Overflow
solved it on my own the trick was to use $sudo rm -rf ~/.cocoapods to clean the cocoapods master repo and then pod...
Read more >Got error while trying pod install · Issue #10220 - GitHub
1- Go to your applications > utilities folder. · 2- Right click and click "Get Info" on your terminal app · 3- Check...
Read more >Troubleshooting - CocoaPods Guides
In Xcode "Build Settings", find "Skip Install". Set the value for "Release" to "NO" on your application target. Build again and it should...
Read more >Trouble with installing cocoapods | Apple Developer Forums
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it....
Read more >How to fix “pod install” error in React Native on Mac M1
Install the ffi Ruby gem (which dynamically links native libraries programmatically) using Apple's Rosetta 2: sudo arch -x86_64 gem install ffi . Run...
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 FreeTop 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
Top GitHub Comments
only need to run
fyi if someone gets this error: I solved it by deleting node_modules and running yarn again