ios - Updating a CocoaPod -
i'm using googlemaps pod in xcode workspace.
i followed https://developers.google.com/maps/documentation/ios-sdk/start#step_1_get_the_latest_version_of_xcode setup year ago.
i've got new computer , when open workspace project get
podfile.lock: no such file or directory manifest.lock: no such file or directory "the sandbox not in sync podfile.lock. run pod install or update cocoapods installation.
i updated cocoapods installation.
i ran pod update. , pod install. in both cases continue message says :
! dependency 'googlemaps' not used in concrete target.
the podfile using:
source 'https://github.com/cocoapods/specs.git' pod 'googlemaps'
finally tried deleting podfile , pods folder , ran pod install , still error message. i've tried both platform ios target of 8.1 , 9.0.
by reinstalling cocoapods on system, guess downloaded newer version of it, podfile syntax changed little bit, you're missing target, can read more here
so in case this:
source 'https://github.com/cocoapods/specs.git' target 'app target' pod 'googlemaps'
just run pod install
after , that's all.