Cocoapods: The dependency `GoogleMaps` is not used in any concrete target.

Created on 21 May 2016  Â·  4Comments  Â·  Source: CocoaPods/CocoaPods

i installed the CocoaPod

ℹ i installed the CocoaPod then i create the Podfile and write the code for the GoogleMaps
e.g. Run sudo gem install cocoapods
after that create the podfile and write the codes
Run pod install

got an error

ℹ after that i got an error The dependency GoogleMaps is not used in any concrete target.
i update the cocoapods after searching on the internet about this error

awaiting input

Most helpful comment

You should use

pod init

and use the default template, then run

pod install

.

It seems like things changed in the new version.

All 4 comments

Please fill our the entire issue template, including your podfile.

Hello, I have the same issue. can you let me know the solution?
Thanks

You should use

pod init

and use the default template, then run

pod install

.

It seems like things changed in the new version.

Adding a target to my Podfile helped. like this

target 'AppName'
source 'https://github.com/CocoaPods/Specs.git'
pod 'GoogleMaps'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

hmistry picture hmistry  Â·  3Comments

Mingmingmew picture Mingmingmew  Â·  3Comments

sonu5 picture sonu5  Â·  3Comments

steffendsommer picture steffendsommer  Â·  3Comments

gerchicov-bp picture gerchicov-bp  Â·  3Comments