I am using an iOS framework called fi.notes. Currently i am using the version 2.1.0. I tried to update to 2.3.1. But i keep getting the error in terminal, when i run pod install
[!] Unable to satisfy the following requirements:
- FinotesCore (= 2.3.1) required by Podfile
None of your spec sources contain a spec satisfying the dependency: FinotesCore (= 2.3.1).
I am following their developer documentation, which can be found here
https://finotes.github.io/2018/02/02/objc-docs
Thank you in advance.
Looks like you missed adding --repo-update in pod install
pod install --repo-update
Please make sure the version in Podfile is the latest one, and re-run the pod install command.
Good luck building better apps with fi.notes. :)
Related
i'm trying to install #react-native-firebase/admob with the following command:
npm install #react-native-firebase/admob
After that when i'm going in to ios folder on the project and using :
pod repo update
pod install
i'm getting the following error:
[!] CocoaPods could not find compatible versions for pod
"Firebase/AdMob": In Podfile:
RNFBAdMob (from ../node_modules/#react-native-firebase/admob) was resolved to 11.5.0, which depends on
Firebase/AdMob (= 8.8.0)
None of your spec sources contain a spec satisfying the dependency:
Firebase/AdMob (= 8.8.0).
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.
Can somewone help me? i'm using:
Node verison 14.17.6
npm version 6.14.15
CocoaPods 1.11.2
platform ios '11.0'
It is quite difficult to find a admob package that works with React native, but there are some ways. This page can help you, try the instructions mentioned in the answers and make sure you install the correct packages.
I was going through the steps mentioned at iOS Quickstart . I am getting following error during pod install
[!] Unable to find a specification for GoogleAPIClient/Calendar (~> 1.0.2)
Please help.
I had to run
pod repo update
Also I updated Cocoapods, not sure if this helped
sudo gem install cocoapods
I ran into something similar and resolved it with:
pod cache clean --all
pod deintegrate
pod repo update
I am trying to install Realm (Objective C) via Cocoapods.
However I keep getting the following error:
Pods/Realm/Realm/module.modulemap:1:18: Redefinition of module 'Realm'
Has anyone faced this problem?
I've tried downloading their CocoapodsExample project but I get the same error.
This is a known issue with CocoaPods 0.38.1, being tracked at https://github.com/CocoaPods/CocoaPods/issues/3886. In the meantime, you can gem install cocoapods -v 0.38.0 and run pod _0.38.0_ install to use CocoaPods 0.38.0, which does not have this issue.
This should now be fixed in CocoaPods 0.38.2.
Whenever I try to install any of Google's cocoapods I get one of two errors.
Either:
$ pod install
Analyzing dependencies
[!] The version of CocoaPods used to generate the lockfile (0.38.0.beta.2) is higher than the version of the current executable (0.37.2). Incompatibility issues may arise.
CocoaPods 0.38.0.beta.2 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Installing Google (1.0.7)
[!] Error installing Google
...
inflating: /var/folders/<myDirectory>/Samples/signin/SignInExampleSwift/ViewController.swift
warning [/var/folders/<myDirectory>/file.zip]: 375 extra bytes at beginning or within zipfile
(attempting to process anyway)
Or:
$ pod install
[in /Users/<user>/Desktop/FakeProject]
Analyzing dependencies
CocoaPods 0.38.0.beta.2 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Installing AppInvites (1.0.1)
[!] Error installing AppInvites
[!] /usr/bin/tar xfz /var/folders/<myDirectory>/file.tgz -C /var/folders/<myDirectory>
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
I've been trying this with both new and existing objective-c projects and have tried uninstalling and re-installing cocoapods. Not really sure what the issue seems to be and Google doesn't have any troubleshooting for their cocoapods.
Try updating your gem
sudo gem update -n /usr/local/bin cocoapods
pod install
Deleting podfile.lock and pod install fixed it for me.
I had the same issue and I did gem install cocoapods first then pod install worked fine.
After 6 hours i found this
go to http://cocoapods.org/ and download tar file
I found out that the way to resolve an issue, in a library i'm using, is to add use_frameworks! to the podfile. When i run pod install on the terminal, i get the following error:
[!] Invalid Podfile file: undefined method `use_frameworks!' for #.
Updating CocoaPods might fix the issue.
I'm using Cocoapods so i don't understand this issue. This tag is required for projects using swift, i'm using objective-c.
Looks to me like the second part of that error message:
Updating CocoaPods might fix the issue.
Is your issue. use_frameworks! was added in CocoaPods 0.36.0 which was just released recently.
Use pod --version to see what you're currently running. Assuming it's earlier than 0.36.0 you'll need to update it with
[sudo] gem install cocoapods
Which is just the same way you originally installed it.
I had the same issue when trying to run pod install on my mac.
So incase anyone encounters this issue what worked for me was changing the current ruby version with rvm.
On console, Use rvm list to see what versions you have installed:
So the version of ruby that was running on my mac was ruby-2.1.2.
I changed it with:
rvm use ruby-2.2.2
and ran pod install again and it worked.