after updating react-native version im unbale the rinstall pod dependencies
Error output:
Ignoring executable-hooks-1.6.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1.6.1
Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0
Installing unimodules:
expo-application#3.1.2 from ../node_modules/expo-application/ios
expo-constants#10.1.3 from ../node_modules/expo-constants/ios
expo-error-recovery#2.1.0 from ../node_modules/expo-error-recovery/ios
expo-file-system#11.0.2 from ../node_modules/expo-file-system/ios
expo-font#9.3.0 from ../node_modules/expo-font/ios
expo-image-loader#2.1.1 from ../node_modules/expo-image-loader/ios
expo-json-utils#0.4.0 from ../node_modules/expo-json-utils/ios
expo-keep-awake#9.1.2 from ../node_modules/expo-keep-awake/ios
expo-manifests#0.4.0 from ../node_modules/expo-manifests/ios
expo-modules-core#0.3.2 from ../node_modules/expo-modules-core/ios
expo-permissions#12.0.1 from ../node_modules/expo-permissions/ios
expo-splash-screen#0.14.2 from ../node_modules/expo-app-loading/node_modules/expo-splash-screen/ios
expo-structured-headers#3.0.1 from ../node_modules/expo-structured-headers/ios
expo-updates-interface#0.8.1 from ../node_modules/expo-updates-interface/ios
unimodules-app-loader#2.1.0 from ../node_modules/unimodules-app-loader/ios
unimodules-barcode-scanner-interface#6.1.0 from ../node_modules/unimodules-barcode-scanner-interface/ios
unimodules-camera-interface#6.1.0 from ../node_modules/unimodules-camera-interface/ios
unimodules-constants-interface#6.1.0 from ../node_modules/unimodules-constants-interface/ios
unimodules-core#7.1.2 from ../node_modules/#unimodules/core/ios
unimodules-face-detector-interface#6.1.0 from ../node_modules/unimodules-face-detector-interface/ios
unimodules-file-system-interface#6.1.0 from ../node_modules/unimodules-file-system-interface/ios
unimodules-font-interface#6.1.0 from ../node_modules/unimodules-font-interface/ios
unimodules-image-loader-interface#6.1.0 from ../node_modules/unimodules-image-loader-interface/ios
unimodules-permissions-interface#6.1.0 from ../node_modules/unimodules-permissions-interface/ios
unimodules-react-native-adapter#6.2.2 from ../node_modules/#unimodules/react-native-adapter/ios
unimodules-sensors-interface#6.1.0 from ../node_modules/unimodules-sensors-interface/ios
unimodules-task-manager-interface#6.1.0 from ../node_modules/unimodules-task-manager-interface/ios
Found some duplicated unimodule packages. Installed the ones with the highest version number.
Make sure following dependencies of your project are resolving to one specific version:
expo-font, expo-splash-screen
warn Multiple Podfiles were found: ios/Podfile,vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/Podfile. Choosing ios/Podfile automatically. If you would like to select a different one, you can configure it via "project.ios.sourceDir". You can learn more about it here: https://github.com/react-native-community/cli/blob/master/docs/configuration.md
Auto-linking React Native modules for target Bufunfa: RNCAsyncStorage, RNCMaskedView, RNGestureHandler, RNLocalize, RNReanimated, RNSVG, RNScreens, and react-native-safe-area-context
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Updating local specs repositories
Analyzing dependencies
Fetching podspec for DoubleConversion from ../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
[Codegen] Found FBReactNativeSpec
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 glog from ../node_modules/react-native/third-party-podspecs/glog.podspec
Fetching podspec for hermes-engine from ../node_modules/react-native/sdks/hermes/hermes-engine.podspec
[!] CocoaPods could not find compatible versions for pod "hermes-engine":
In Podfile:
hermes-engine (from ../node_modules/react-native/sdks/hermes/hermes-engine.podspec)
Specs satisfying the hermes-engine (from ../node_modules/react-native/sdks/hermes/hermes-engine.podspec) dependency were found, but they required a higher minimum deployment target.
I tried upgrade ruby verssion and pod update hermes-engine --no-repo-update but noting changes
Related
I'm trying to build my Expo (bare workflow) app using EAS build and it's failing with the following error:
Unable to find a specification for expo-dev-launcher depended upon
by expo-dev-client
Here's the full message:
Installing pods Using Expo modules RNFBAnalytics: Using default
Firebase/Analytics with Ad Ids. May require App Tracking Transparency.
Not allowed for Kids apps. RNFBAnalytics: You may set variable
$RNFirebaseAnalyticsWithoutAdIdSupport=true in Podfile to use
analytics without ad ids. Adding a custom script phase for Pod
RNFBApp: [RNFB] Core Configuration Auto-linking React Native modules
for target ingridconnect: A0Auth0, RNCAsyncStorage, RNFBAnalytics,
RNFBApp, RNFBDynamicLinks, RNGestureHandler, RNReanimated, RNSVG,
RNScreens, expo-dev-client, and react-native-safe-area-context
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
RNFBAnalytics: Using default Firebase/Analytics with Ad Ids. May
require App Tracking Transparency. Not allowed for Kids apps.
RNFBAnalytics: You may set variable
$RNFirebaseAnalyticsWithoutAdIdSupport=true in Podfile to use
analytics without ad ids. Fetching podspec for glog from
../node_modules/react-native/third-party-podspecs/glog.podspec
Adding spec repo trunk with CDN https://cdn.cocoapods.org/
CocoaPods 1.11.2 is available. To update use: sudo gem install cocoapods
For more information, see https://blog.cocoapods.org and the CHANGELOG
for this version at
https://github.com/CocoaPods/CocoaPods/releases/tag/1.11.2 [!]
[!]Unable to find a specification for expo-dev-launcher depended
upon by expo-dev-client
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.
pod exited with non-zero code: 1
Any idea what the issue is and how to fix it?
It seems like some expo-dev-client dependencies are missing.
Make sure react-native.config.js contains the following code:
module.exports = {
dependencies: {
...require('expo-dev-client/dependencies'),
},
};
In my case it was enough to rerun expo prebuild command and the file was generated automatically.
I'm trying to run pod install in the ios folder and I get this error.
omsonone#Oms-MacBook-Pro ios % pod install
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Detected React Native module pods for RNCMaskedView, RNReanimated, RNScreens, react-native-camera, react-native-safe-area-context, and react-native-save-view
Analyzing dependencies
[!] Unable to find a specification for `React-callinvoker` depended upon by `RNReanimated`
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 repo update but it doesn't help. I'm not sure what to do.
The react native version has been updated from 0.61.5 to 0.65.0.
After pod install I receive an error stating,
[!] CocoaPods could not find compatible versions for pod "FBReactNativeSpec":
In Podfile:
FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
Specs satisfying the `FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)` dependency were found, but they required a higher minimum deployment target.
The path for FBReactNativeSpec in Podfile is,
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/React/FBReactNativeSpec"
I cannot figure out how to resolve this.
try updating the platform version in your podfile.
platform :ios, '11.0' => change 11 to 15.
This worked for me
This could be an error with dependency, you may need to install react-native-codegen library like:
If you're using yarn packager:
yarn add --dev react-native-codegen
If you're using npm packager:
npm install react-native-codegen --force
And it will add the library in package.json
"dependencies": {
"react-native-codegen": "^0.0.7"
}
Check this link out for more info.
Also, I'll recommend you to follow React Native Upgrade Helper document for Package.json and Podfile changes.
I have updated react-native version to latest.
So I have unlink all manually linked packages. But If i run react-native run-ios after pod install it shows the list of packages again to unlink.
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually
When pod install it shows the below error
[!] CocoaPods could not find compatible versions for pod "react-native-webview":
In Podfile:
react-native-webview (from `../node_modules/react-native-webview`)
Specs satisfying the `react-native-webview (from `../node_modules/react-native-webview`)` dependency were found, but they required a higher minimum deployment target.
I have changed the platform ios to 9.0 in podfile. It worked for me
I have a RN app which works on Windows. I pulled down the code to my Mac and I'm trying to run the code on my Mac. When I run pod install on my project's ios directory, the following error is output to the Terminal:
No podspec found for FBSDKCoreKit
Here is the full Terminal output:
My-MacBook-Pro:ios myname$ pod install Detected React Native module
pods for RNCAsyncStorage, RNFirebase, RNGestureHandler, RNReanimated,
RNVectorIcons, react-native-fbsdk, and react-native-safe-area-context
Analyzing dependencies Fetching podspec for DoubleConversion from
../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
[!] No podspec found for FBSDKCoreKit in
../node_modules/react-native/Libraries/FBSDKCoreKit
What is the most likely root cause of this error and what troubleshooting steps would you recommend?
1) Make sure the path is there
../node_modules/react-native/Libraries/FBSDKCoreKit
2) Run a pod repo update and a pod install
If still not working I would try an unlink followed by a cleanup of any old links related to that library in project.pbxproj then link the library again.
Note: in some cases a pod deintegrate && pod install helped me with link errors like this.