1. sudo gem install cocoapods 2. Open terminal 3. cd /project path //project path 4. touch podfile 5. open -e podfile //open in TextEditor or open -a pod file //open in Xcode 6. Set your target and add pod file of GoogleMaps like as: target 'PROJECT NAME HERE' do pod 'GoogleMaps' end 7. pod install - Open Terminal
- Type in
sudo gem install cocoapodsif you don't have CocoaPods - Enter
cd /project path, but replaceproject pathwith actual project path - touch podfile
- Use one of the following commands to open the podfile:
open -e podfileto open in TextEdit oropen -a pod fileto open in Xcode - Set your target and add pod file of GoogleMaps like as:
target 'PROJECT NAME HERE' do pod 'GoogleMaps' end - Use
pod installto install dependencies