I\'m following this tutorial, however when I run
pod install
in step 2 part 6 I get the error
[!] Unable to find a specific
This seemed to have worked for me:
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
target 'WhatsOpen' do
pod 'GoogleMaps'
pod 'GooglePlacesAPI'
end
This was after trying Nilesh Jha's answer.
It also said
[!] GooglePlaces has been deprecated in favor of GooglePlacesAPI
So I replaced 'GooglePlaces' with 'GooglePlacesAPI' and it seems satisfied.
Don't use GooglePlacesAPI
if you're expecting source compatibility with older code that used the GoogleMaps
pod. That one's a 3rd party framework, not Google's.
Run pod repo update
and then try pod install
again. Also, I added a version to make the line pod 'GooglePlaces', '~> 2.0'
, but I don't know if that's required.
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
pod 'GoogleMaps'
pod 'GooglePlaces'