Reputation: 87
I am trying to install cocoapods for my project. And i followed these steps
But its showing 0 dependencies in podfile. Can anyone tell me what should i do??? And also guide me how to install Google API for my project in order to show list of places in a tableview.
UPDATED QUESTION
I have also tried the following steps but still it is not working-
Seriously am going crazy right now.Unable to find the mistake. And idea where am i going wrong???
Upvotes: 0
Views: 1320
Reputation: 1236
1.Edit the Podfile and add the following lines.
source 'https://github.com/CocoaPods/Specs.git'
pod 'GoogleMaps'
2.Save the Podfile. 3.and then locate your project path and use command
pod install
follow the link for reference
https://developers.google.com/maps/documentation/ios-sdk/start
Upvotes: 1
Reputation: 82759
if you are opened the any Xcode Project you must close all Xcode project that is already open
and then try the Pod Install
command , surely works
Update
after this command pod init
Type this command to open the Podfile using Xcode for editing:
open -a Xcode Podfile
then you need to add the pod 'GoogleMaps'
or whatever you need , see the attached image for reference
for step to integration see this
Upvotes: 0