Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find a specification for Google-Maps-iOS-Utils #16

Closed
vijaytholpadi opened this issue Jul 19, 2016 · 7 comments
Closed

Unable to find a specification for Google-Maps-iOS-Utils #16

vijaytholpadi opened this issue Jul 19, 2016 · 7 comments

Comments

@vijaytholpadi
Copy link

vijaytholpadi commented Jul 19, 2016

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
@mountainvat
Copy link
Contributor

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

@vijaytholpadi
Copy link
Author

vijaytholpadi commented Jul 20, 2016

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.

@mountainvat
Copy link
Contributor

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

@vijaytholpadi
Copy link
Author

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
Copy link
Author

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.

@mountainvat
Copy link
Contributor

That's great! Thanks for the update.

@LucaJeevanjee
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants