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.

CocoaPods could not find compatible versions for pod "React/ART"

See original GitHub issue

I just upgraded to react native 6 and when I added

pod ‘React’, path: ‘…/node_modules/react-native’, subspecs: [‘ART’,]

to my pod file and run pod install, I got the following error:

[!] CocoaPods could not find compatible versions for pod “React/ART”: In Podfile: React/ART (from ../node_modules/react-native)

None of your spec sources contain a spec satisfying the dependency: React/ART (from …/node_modules/react-native).

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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

48reactions
nkhoshinicommented, Jul 11, 2019

Worked for me by adding pod 'React-ART', :path => '../node_modules/react-native/Libraries/ART'

and then running pod install

9reactions
draperunnercommented, Sep 11, 2019

Just to clarify that on React Native 0.60 you don’t just add the React-ART pod, but you don’t need to use the subspec that is mentioned in the README.

Updated installation instructions:

For CocoaPod users:

If using React Native >= 0.60, add the React-ART pod to your Podfile:

pod 'React-ART', :path => '../node_modules/react-native/Libraries/ART'

If using React Native <= 0.59, add the ART subspec like so:

pod 'React', path: '../node_modules/react-native', subspecs: [
  'ART',
]

Remember to run pod install after these changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to find a specification for "React-Codegen"
I'm encountering a number of Cocoapod related errors, particularly around React-Codegen which no longer exists as a podspec in the react-native ...
Read more >
Upgrading React Native v0.59 to v0.62 | by Ido Shveki | Medium
If a package doesn't have a .podspec file, try upgrading to a newest version of that package that supports Cocapods. If it's still...
Read more >
记一次解决 ios Pod install Error 问题 - 天真的小窝
Stack ``` CocoaPods : 1.8.4 Ruby : ruby 2.3.7p456 (2018-03-28 ... node_modules/react-native/ReactCommon/yoga' pod 'React-ART', :path => '.
Read more >
native part of mapbox react native libraries were not registered ...
1 Answer. I just have this issue and maybe this will help you. I have followed the official documentation to integrate @react-native-mapbox-gl/maps, but...
Read more >
Issue - Bountysource
After running "pod install" or "pod install --repo-update" I get the error message: Adding a custom script phase for Pod RNFBApp: [RNFB] ...
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