Thursday, June 30, 2016

pod cocoapod

Error 1:

If you get error "unable to find a specification for googlemaps "when you do "pod install"

is because your pod repository is outdated, too old, you must first update the repo.

Follow the steps:
in the directory with pod file:


pod repo remove master
pod setup
pod install --verbose



Error 2 : after everything is ok, when build

library not found for "your project"

Check for the following solutions
  1. Have u launched your project through [project_name].xcworkspace
  2. Check for libGSDK_Overload_external.a library file at following path /Users/Repositories/SVNRepo/Tiger_FINAL/Pods/GoogleSymbolUtilities/Libraries/ in your root folder of the project and add this file to projects target. Rebuild your project.


enter image description here

  1. If problem still exit remove pod file and reinstall it.









--------------------------------------------------------------
or
Note, pod install will NOT automatically update pod repo, you must update repo by your own to get the latest list

pod install --verbose --no-repo-update

$ sudo gem update cocoapods