This seems like a super simple pod install, yet I'm getting this strange error. Just don't see what's wrong here.
Podfile
# platform :ios, '9.0'
target 'iLook-990' do
use_frameworks!
pod 'OAuthSwift', '~> 1.0.0'
end
Error message:
[!] Unable to satisfy the following requirements:
OAuthSwift (~> 1.0.0) required by Podfile
None of your spec sources contain a spec satisfying the dependency: OAuthSwift (~> 1.0.0).
You have either:
out-of-date source repos which you can update with pod repo update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.
if that's the exact same text from the Podfile, you need to remove the # from the first line
platform :ios, '9.0'
target 'iLook-990' do
use_frameworks!
pod 'OAuthSwift', '~> 1.0.0'
end
Related
How to install version 3, it is not in cocoapods.
My pod file
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
target 'Project' do
use_frameworks!
pod 'Eureka', '~> 3.0'
end
The result of the command pod install
Analyzing dependencies
[!] Unable to satisfy the following requirements:
Eureka (~> 3.0) required by Podfile
None of your spec sources contain a spec satisfying the dependency: Eureka (~> 3.0).
You have either:
* out-of-date source repos which you can update with pod repo update.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.
I understand that the repository is not updated in cocoa pods?
What to do?
podfile content
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
pod 'Quickblox-WebRTC', '~> 2.2'
pod 'QuickBlox'
The dependency Quickblox-WebRTC (~> 2.2) is not used in any concrete target.
The dependency QuickBlox is not used in any concrete target.
With CocoaPods 1.0.1 the pod file format has changed somewhat, so you need to explicitly define the targets that the pods apply to:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
target 'XXX' do
pod 'Quickblox-WebRTC', '~> 2.2'
pod 'QuickBlox'
end
I am following the instructions on the google calendar api for iOS web page.
See link. https://developers.google.com/google-apps/calendar/quickstart/ios?ver=objc#step_2_prepare_the_workspace
When I follow these terminal commands
cat << EOF > Podfile &&
platform :ios, '7.0'
pod 'GoogleAPIClient/Calendar', '~> 1.0.2'
pod 'GTMOAuth2', '~> 1.1.0'
EOF
pod install &&
open QuickstartApp.xcworkspace
I get the following error
[!] The dependency `GoogleAPIClient/Calendar (~> 1.0.2)` is not used in any concrete target.
The dependency `GTMOAuth2 (~> 1.1.0)` is not used in any concrete target.
I am not sure why this is happening. My project has a different name then QuickstartApp but I don't think this is causing the errors.
You should probably create the Podfile the way Cocoapods recommends.
Yours should probably look like:
platform :ios, '8.0'
use_frameworks!
target 'MyApp' do
pod 'GoogleAPIClient/Calendar', '~> 1.0.2'
pod 'GTMOAuth2', '~> 1.1.0
end
Now run pod install then open you Xcode workspace.
One of the recent changes for Cocoapods was that targets need to be named.
I'm trying to add Geofire to my iOS project that uses Google Firebase as a backend. When I add the Geofire pod and run pod update I get this message in terminal...
[!] Unable to satisfy the following requirements:
- `Firebase` required by `Podfile`
- `Firebase (~> 2.1)` required by `GeoFire (1.1.0)`
Specs satisfying the `Firebase, Firebase (~> 2.1)` dependency were found, but they required a higher minimum deployment target.
Here is what my Podfile looks like...
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!
target 'HopUp' do
pod 'Firebase'
pod 'FirebaseAuth'
pod 'Firebase/Core'
pod 'Firebase/Database'
pod 'Firebase/Storage'
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'GeoFire', '>= 1.1'
end
Any thoughts as to why this is happening?
All input is appreciated!
One of the solutions was to add the git source to your pod file like so:
pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'
Also, check out this github issue if you have any more problems. This is how I got GeoFire to work with my project.
After they updated Firebase Geofire stopped working, new version of Geofire is coming soon but not known exactly when.
You can try installing an earlier version of Firebase but sooner or later youll have to rewrite quite a bit of code after updating to a new one.
I am trying to install Firebase to my project with cocoapods. I modified pod file by adding line
pod 'Firebase', '>= 2.4.3'
And when I type pod install to terminal it gives me an error:
[!] Unable to satisfy the following requirements:
Firebase (>= 2.4.3) required by Podfile
I tried to uncomment and change global "platform" directive to "platform :ios, '9.0'", but it didn't help me, error still there.
try this line:
pod 'Firebase', '~> 2.4'