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.

Unable to run pod install and React Native link is throwing warning.

See original GitHub issue

I 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.

Screenshot 2019-07-01 at 6 34 10 AM
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:closed
  • Created 4 years ago
  • Reactions:19
  • Comments:11

github_iconTop GitHub Comments

92reactions
aelarassicommented, Sep 7, 2020

In Root Directory Run

grep -rl "s.dependency 'React/Core'" node_modules/ | xargs sed -i '' 's=React/Core=React-Core=g'

6reactions
Fouppycommented, Jul 8, 2019
Read more comments on GitHub >

github_iconTop 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 >

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