CocoaPods could not find compatible versions for pod "React/ART"
See original GitHub issueI 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 withpod 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:
- Created 4 years ago
- Comments:8
Top 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 >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
Worked for me by adding
pod 'React-ART', :path => '../node_modules/react-native/Libraries/ART'
and then running
pod install
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:
If using React Native <= 0.59, add the ART subspec like so:
Remember to run
pod install
after these changes.