Search code examples
javascriptiosxcodereact-native

Unable to find a specification for `ReactCommon/turbomodule/core (= 0.66.3)` depended upon by `React-RCTBlob`


ios % pod install --repo-update
Auto-linking React Native modules for target `Mshika`: RNCAsyncStorage, RNCMaskedView, RNCPushNotificationIOS, RNDateTimePicker, RNDeviceInfo, RNGestureHandler, RNReanimated, RNSVG, RNScreens, RNSnackbar, RNVectorIcons, ReactNativeART, react-native-camera, react-native-document-picker, react-native-geolocation-service, react-native-image-picker, react-native-keep-awake, react-native-netinfo, react-native-restart, react-native-safe-area-context, and react-native-text-input-mask
Updating local specs repositories
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] Unable to find a specification for `ReactCommon/turbomodule/core (= 0.66.3)` depended upon by `React-RCTBlob`

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

im using react native version 0.66.3

I tried to check the node_modules for that module, i couldnt find it.... has anyone come accross this challenge before ??


Solution

  • Add the following line of code to the Podfile

    pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"