So I need to add firebase cloud functions in developing react-native project. So before it was working fine, but now it gives me error. What I did so far,
yarn add #react-native-firebase/app yarn add #react-native-firebase/functions
then I tried to cd ios/ && pod install but it gives me this error below
etching podspec for glog from ../node_modules/react-native/third-party-podspecs/glog.podspec [!] CocoaPods could not find compatible versions for pod "EXImageLoader": In Podfile: EXImageLoader (from ../node_modules/expo-image-manipulator/node_modules/expo-image-loader/ios)
Specs satisfying the EXImageLoader (from ../node_modules/expo-image-manipulator/node_modules/expo-image-loader/ios) dependency were found, but they required a higher minimum deployment target.
[!] NPM package '#react-native-firebase/crashlytics' depends on '#react-native-firebase/app' v13.1.0 but found v14.0.0, this might cause build issues or runtime crashes.
[!] NPM package '#react-native-firebase/storage' depends on '#react-native-firebase/app' v12.9.3 but found v14.0.0, this might cause build issues or runtime crashes.
[!] NPM package '#react-native-firebase/crashlytics' depends on '#react-native-firebase/app' v13.1.0 but found v14.0.0, this might cause build issues or runtime crashes.
[!] NPM package '#react-native-firebase/storage' depends on '#react-native-firebase/app' v12.9.3 but found v14.0.0, this might cause build issues or runtime crashes.
Desired: I need to solve this so I can run the project. Right now the pod install is not working I need to resolve this issue to run the project.
of course after this failure, the app is stuck I am using expo start to run the project. Please help I could not find any information on online.
expo install expo-image-loader
Related
I have an application in react-native with minimum iOS version set to 11. I am using Cocoapods as dependency manager. I need to install expo-web-browser and for that I am following this link. So first I need to install Expo modules. But when I run the command npx install-expo-modules#latest,it forces me to update minimum iOS requirement to 12 and after that I get the following error:
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-file-system, expo-constants
Updating local specs repositories
Analyzing dependencies
[!] There are multiple dependencies with different sources for UMCore in Podfile:
UMCore (from ../node_modules/#unimodules/core/ios)
UMCore (from ../node_modules/#unimodules/core/ios)
Couldn't install Pods. Updating the Pods project and trying again...
Uncaught Error CocoaPodsError: Command pod install failed.
└─ Cause: There are multiple dependencies with different sources for UMCore in Podfile:
UMCore (from ../node_modules/#unimodules/core/ios)
UMCore (from ../node_modules/#unimodules/core/ios)
I am working on a React Native Project based on a bare workflow, and my project is not working on Xcode.
I use expo modules but when i want to setup my ios project by the command "expo prebuild" i get the following error:
⚠️ Something went wrong running pod install in the ios directory.
Command pod repo update failed.
└─ Cause: Couldn't install: EXFont » UMCore. Ensure the CocoaPod "UMCore" is installed in your project, then run npx pod-install to try again.
It seems Cocoapods did not install this file.. but i have no idea how to do it.
And When i launch the command "pod install" i get :
"[!] Unable to find a specification for UMCore depended upon by EXFont"
I followed this guide from Expo : https://github.com/expo/fyi/blob/main/expo-modules-migration.md
It works fine on my Android Project.
I got the latest version of Expo and CocoaPods and my Xcode version is 13.0.
Any idea ? I did not found a lot of topics on this subject, and none solve this error...
I had similar errors after updating the expo.
In my case it was:
[!] Unable to find a specification for UMCore depended upon by EXSecureStore
[!] Unable to find a specification for UMCore depended upon by EXLinearGradient
Solution
expo install expo-secure-store
expo install expo-linear-gradient
cd ios
pod install --repo-update --clean-install
To solve your issue, I think you need to do:
expo install expo-font
cd ios
pod install # or `pod install --repo-update --clean-install`
I have update the Xcode to latest version 12.5 and after that I was getting below error for capacitor
switch must be exhaustive xcode
Then to resolve this error I ran the below command and it got resolved
npm install #capacitor/ios#latest
Then I was trying to sync the ios project it has started to give the following error now
Cocoapods could not find compatible versions for pod "Capacitor": In
Podfile: capacitor (from '.../../node_modules/capacitor/ios) Specs
satisfying the 'Capacitor (from '.../../node_modules/#capacitor/ios')'
dependency were found, but they required a higher minimum deployment
target
to solve this error I have tried below commands on root level and ios/App folder level also
pod install --repo-update
But this doesn't seems to resolve the error.
The app is build using ionic framework
I've run into an issue with my Ionic app, noticing since Capacitor was being updated. I do have Cordova plugins installed and have followed the instructions as per the Ionic documentation when installing these into the app.
I have tried removing and updating Cocoapods, Pod install etc and nothing seems to solve this problem.
The error shows as follows:
[!] CocoaPods could not find compatible versions for pod "CordovaPlugins":
In Podfile:
CordovaPlugins (from ../capacitor-cordova-ios-plugins)
Specs satisfying the CordovaPlugins (from ../capacitor-cordova-ios-plugins) dependency were found, but they required a higher minimum deployment target.
Any ideas on how to fix this?
Thanks in advance!
Here's Flutter and Xcode versions:
Flutter 1.22.5 • channel stable
Version 12.3 (12C33)
I have a Flutter application and I get the following error when trying to install the pods:
The error message was about AgoraRtcEngine, previously I was using agora 3.2.1 and the error message complained that I need 3.3.1 and then I upgraded it.
Then I try to install all the dependencies, unfortunately, I got the The 'Pods-Runner' target has transitive dependencies that include statically linked binaries error.
I tried below commands but failed with the attached error:
flutter clean
remove ios/Flutter/Flutter.framework
remove PodFile and PodFile.lock
flutter build ios
Does anyone know what is the cause and how to solve it? Thanks.
You might want to update CocoaPods, what version are you currently using
https://github.com/CocoaPods/CocoaPods/issues/7234#issuecomment-346119807
follow the instructions that are given in terminal output:
sudo gem install cocoapods
you might wanna upgrade your CocoaPods and also your flutter version
upgrading your installing CocoaPods -> "sudo gem install cocoapods"
this will take a while or throw error, incase of error try manually downloading cocoapods from web " https://cocoapods.org/app " this will download a dmg application file.
and for flutter
try "flutter upgrade"