Skip to content

Unable to find a specification error #1600

Closed
foFox opened this Issue Nov 15, 2013 · 3 comments

3 participants

@foFox
foFox commented Nov 15, 2013

I have a strange issue. I am using pod file with AFNetowrking 2 & and a fork of AFOAuth2Client.

The current file looks like :

pod 'AFNetworking'
pod 'AFOAuth2Client’, :git => ‘https://github.com/mlwelles/AFOAuth2Client.git'

When I run pod install I get this error :

[!] Unable to find a specification for AFOAuth2Client’, :git => ‘https://github.com/mlwelles/AFOAuth2Client.git.

The podspec file is present in the fork.

Seems like a bug.

@fabiopelosin
CocoaPods member

Confirmed!

@carsonmcdonald

It looks like the issue here is that the characters after AFOAuth2Client and before https aren't quotes. The error message is telling you it can't find the specification named "AFOAuth2Client’, :git => ‘https://github.com/mlwelles/AFOAuth2Client.git" but if it was an issue with the spec if would be just "AFOAuth2Client". I don't think this is a bug.

@fabiopelosin
CocoaPods member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.