sang
sang

Reputation: 109

pod install error - "Unable to find a specification for `React-RCTActionSheet` depended upon by `RNReanimated`"

I am building this app for Android and Apple TV .The app is working in android but in IOS it gives this strange error.

sanjaydas@Sanjays-Mac-mini ios % arch -x86_64 pod install 

Auto-linking React Native modules for target `ReactNativeTvDemoTests`: RNCMaskedView, RNGestureHandler, RNPermissions, RNReanimated, RNScreens, react-native-config, react-native-safe-area-context, react-native-video, and rn-fetch-blob
Updating local specs repositories
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `fmt` from `../node_modules/react-native/third-party-podspecs/fmt.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] Unable to find a specification for `React-RCTActionSheet` depended upon by `RNReanimated`

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

I am using

Upvotes: 1

Views: 13829

Answers (1)

Samuel Pinheiro
Samuel Pinheiro

Reputation: 121

I had the same issue with RN 0.66.3

what worked for me:

  • rm podfile.lock
  • pod cache clean --all
  • cd ios && pod install && cd ..

Upvotes: 5

Related Questions