Podspec s.dependency error: Unable to find a specification `React-Core`
See original GitHub issueCurrent behavior
[!] Unable to find a specification for `React-Core` depended upon by `RNCAsyncStorage`
Expected behavior
Run pod install
successfully
Repro steps
1. react native cli init using latest RN
2. pod install async-storage
Environment
- Async Storage version: 1.12.1
- React-Native version:0.63.3
- Platform tested: IOS
- Logs/Error that are relevant:
Current workaround from https://github.com/joltup/rn-fetch-blob/issues/402#issuecomment-513077800
Use patch-package
to apply a quick patch.
Change node_modules/@react-native-community/async-storage/RNCAsyncStorage.podspec
:
+ s.dependency 'React/Core'
- s.dependency 'React-Core'
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Unable to find a specification for `React-Core` depended upon ...
Analyzing dependencies Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec` ...
Read more >React Native SDK Troubleshooting - Visual Studio App Center
This error appears when RN core libraries aren't referenced correctly, ... Analyzing dependencies [!] Unable to find a specification for ...
Read more >Unable to find a specification `React-Core`_七元八角oooo的博客
问题: react-native 项目中安装@react-native-community/async-storage 出现报错信息: Podspec s.dependency error: Unable to find a ...
Read more >Unable to find a specification for `React-Core` depended upon ...
React-Core is outdated and has been renamed to React. I have added the following lines to the bottom of my Podfile under ios...
Read more >Podspec s.dependency error: Unable to find a specification ...
Podspec s.dependency error: Unable to find a specification `React-Core`,问题:react-native项目中安装@react-native-community/async-storage ...
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
I have figure out one solution for project which is running on RN version <=0.62 Change “@react-native-community/async-storage”: version to 1.11.0, “@react-native-community/async-storage”: “1.11.0”,
It has different stream for React in podspec file
node_modules/@react-native-community/async-storage/RNCAsyncStorage.podspec
s.dependency 'React'
@wangxxxb, does changing it to
React
work for you as well?It looks like it was changed to fix autolinking in Xcode 12 in #442 so I’m not sure it’s right either way. Looking at
react-native
source, I can’t find any references toReact/Core
anywhere.