pri pri - 1 year ago 139
iOS Question

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.

Answer Source

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


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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download