google-maps-ios-utils icon indicating copy to clipboard operation
google-maps-ios-utils copied to clipboard

Unable to find a specification for `Google-Maps-iOS-Utils`

Open vijaytholpadi opened this issue 10 years ago • 7 comments

Trying to perform pod install in the Obj-C sample project throws this error.

Temporarily solved it by changing the podfile to

source 'https://github.com/CocoaPods/Specs.git'

target 'ObjCDemoApp' do
  pod 'GoogleMaps'
  #pod 'Google-Maps-iOS-Utils'
  pod 'Google-Maps-iOS-Utils', :git => 'https://github.com/googlemaps/google-maps-ios-utils'
end

vijaytholpadi avatar Jul 19 '16 05:07 vijaytholpadi

We could not reproduce the issue on our end. Is it still happening to you?

mountainvat avatar Jul 20 '16 03:07 mountainvat

Looks like the Cocoapod spec was not being resolved for Google-Maps-iOS-Util.

Yes, if I remove the hardcoded github URL then I am experiencing the same.

screen shot 2016-07-20 at 9 05 07 am

Also, gem update says everything is upto date.

vijaytholpadi avatar Jul 20 '16 03:07 vijaytholpadi

If you add the line below to the top of your Podfile, does it work? source 'https://github.com/CocoaPods/Specs.git'

mountainvat avatar Jul 20 '16 05:07 mountainvat

Sorry looks like I had forgotten to mention to you the whole contents of the Podfile that I am seeing.

It looks as follows:

source 'https://github.com/CocoaPods/Specs.git'

target 'ObjCDemoApp' do
  pod 'GoogleMaps'
  pod 'Google-Maps-iOS-Utils'
end

Btw pod 'GoogleMaps' resolves correctly, its only pod 'Google-Maps-iOS-Utils' that faces this issue.

P.S - I have updated my previous comment too.

vijaytholpadi avatar Jul 20 '16 08:07 vijaytholpadi

Hi @mountainvat ,

Removed and re-setup my cocoapods master repo. Looks like it had not got updated and was causing this issue. I am guessing that a pod repo update also might have helped.

Thank you for your time. Please go ahead and close this issue.

vijaytholpadi avatar Jul 21 '16 13:07 vijaytholpadi

That's great! Thanks for the update.

mountainvat avatar Jul 21 '16 22:07 mountainvat

Sorry looks like I had forgotten to mention to you the whole contents of the Podfile that I am seeing.

It looks as follows:

source 'https://github.com/CocoaPods/Specs.git'

target 'ObjCDemoApp' do
  pod 'GoogleMaps'
  pod 'Google-Maps-iOS-Utils'
end

Btw pod 'GoogleMaps' resolves correctly, its only pod 'Google-Maps-iOS-Utils' that faces this issue.

P.S - I have updated my previous comment too.

This worked for me. Thank You. I've been trying to fix for ages

LucaJeevanjee avatar Mar 07 '20 10:03 LucaJeevanjee