Unable to run pod install and React Native link is throwing warning.
See original GitHub issueI have used following versions React Native version = 0.60.0-rc.3 Fetch Blob version = 0.10.15
react-native link
command is giving following warning on new react-native version 0.60.
RNFB_ANDROID_PERMISSIONS=true react-native link rn-fetch-blob
warn Package "rn-fetch-blob" is using deprecated "rnpm" config that will stop working from next release. Please notify its maintainers about it.
RNFetchBlob checking app version ..
RNFetchBlob detected app version => 0.6
Add Android permissions => false
RNFetchBlob patching AndroidManifest.xml ..
RNFetchBlob patching AndroidManifest.xml .. ok
Need to update pod dependencies for new version of react-native.
Here is the stack when i ran pod install
[!] CocoaPods could not find compatible versions for pod "React/Core":
In Podfile:
rn-fetch-blob (from `../node_modules/rn-fetch-blob`) was resolved to 0.10.6, which depends on
React/Core
None of your spec sources contain a spec satisfying the dependency: `React/Core`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
[!] Package "rn-fetch-blob" is using deprecated "rnpm" config that will stop working from next release. Please notify its maintainers about it.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:19
- Comments:11
Top Results From Across the Web
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 >Error: Failed to install CocoaPods dependencies for iOS ...
XCode and its CLI seem to all run fine. My configuration: MacOS Catalina 10.15.1 (19B88); NPM 6.11.3; React-Native 0.61.4; XCode 11.2.
Read more >Troubleshooting - React Native
Next, make sure you have run pod install and that a Pods/ directory has been created in your project with React installed. CocoaPods...
Read more >Troubleshooting | React Navigation
Sometimes it might even be due to a corrupt installation. If clearing cache didn't work, try deleting your node_modules folder and run npm...
Read more >Trouble with installing cocoapods | Apple Developer Forums
[!] Xcode - develop for iOS and macOS ✗ CocoaPods installed but not working. You appear to have CocoaPods installed but it is...
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
In Root Directory Run
grep -rl "s.dependency 'React/Core'" node_modules/ | xargs sed -i '' 's=React/Core=React-Core=g'
We need to apply https://github.com/Soni96pl/react-native-sound/commit/c8034526893f4f7f5463fa53e0ce5875cfbde845 to https://github.com/joltup/rn-fetch-blob/blob/master/rn-fetch-blob.podspec.
Problem is, the PR will never be merged, AndroidX PR is pending since 01/24 😕