pri pri - 4 months ago 14
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

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