Could not find spec for GooglePlaces

I follow this tutorial, however, when I run

pod install 

in step 2, part 6 I get an error

 [!] Unable to find a specification for `GooglePlaces` 

Any idea on why this might be happening?

UPDATE: The subfile looks like this:

 source 'https://github.com/CocoaPods/Specs.git' target 'YOUR_APPLICATION_TARGET_NAME_HERE' do pod 'GoogleMaps' pod 'GooglePlaces' end 

From YOUR_APPLICATION_TARGET_NAME_HERE changed to my target name.

+5
source share
3 answers

It seemed to work for me:

 source 'https://github.com/CocoaPods/Specs.git' use_frameworks! target 'WhatsOpen' do pod 'GoogleMaps' pod 'GooglePlacesAPI' end 

This was after an attempt by Nilesh Jah to respond.

He also said [!] GooglePlaces has been deprecated in favor of GooglePlacesAPI so I replaced “GooglePlaces” with “GooglePlacesAPI” and seems satisfied.

+4
source
 source 'https://github.com/CocoaPods/Specs.git' platform :ios, '7.0' pod 'GoogleMaps' pod 'GooglePlaces' 
+1
source

Do not use the GooglePlacesAPI if you expect source compatibility with old code using the GoogleMaps module. This is a third-party structure, not Google.

Run pod repo update , and then try pod install again. In addition, I added a version to make the pod 'GooglePlaces', '~> 2.0' line pod 'GooglePlaces', '~> 2.0' , but I don't know if this is required.

0
source

All Articles