Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to find a specification for `React-Core` depended upon by `UMReactNativeAdapter`

Getting below error,

Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Pre-downloading: `ExpoKit` from `http://github.com/expo/expo.git`, tag `ios/2.13.0`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] Unable to find a specification for `React-Core` depended upon by `UMReactNativeAdapter`

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.

I tried,

pod setup
pod install
pod install --repo-update

Also, I uninstalled/installed cocoapods again, but still getting above error.

like image 345
iReact Avatar asked Mar 25 '20 09:03

iReact


Video Answer


1 Answers

you can change your UMReactNativeAdapter podspec file,

s.dependency 'React-Core'

  • change '-' to '/'

check out this for similar issue.

https://github.com/joltup/rn-fetch-blob/issues/402#issuecomment-513077800

like image 97
petrov Avatar answered Oct 23 '22 19:10

petrov