pri
pri

Reputation: 87

Installation error in Cocoapods

I am trying to install cocoapods for my project. And i followed these steps

enter image description here

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-

enter image description here

enter image description here

Seriously am going crazy right now.Unable to find the mistake. And idea where am i going wrong???

Upvotes: 0

Views: 1320

Answers (2)

Sheereen S
Sheereen S

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

Anbu.Karthik
Anbu.Karthik

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 enter image description here

for step to integration see this

Upvotes: 0

Related Questions