Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Tag for version 2.2.1 #113

Open
rkheik opened this issue Dec 28, 2015 · 3 comments
Open

Tag for version 2.2.1 #113

rkheik opened this issue Dec 28, 2015 · 3 comments

Comments

@rkheik
Copy link

rkheik commented Dec 28, 2015

When using cocoapods, the default version is 2.2.0 (even though the podspec version is 2.2.1) which unfortunately doesn't have changes included in this pull request: #100

the workaround if using cocoapods

pod 'AFOAuth2Manager', :git => "https://github.com/AFNetworking/AFOAuth2Manager.git"
@amitjain2405
Copy link

I am trying to install AFnetworking and AFOAuth2Manager liek this but it fails with this error.:
"Pre-downloading: AFOAuth2Manager from https://github.com/AFNetworking/AFOAuth2Manager.git
[!] Unable to satisfy the following requirements:

  • AFNetworking/NSURLConnection (~> 2.2) required by AFOAuth2Manager (2.2.1)

    Specs satisfying the AFNetworking/NSURLConnection (~> 2.2) dependency were found, but they required a higher minimum deployment target."

And My podfile has these commands:

"source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

pod 'AFNetworking', '~> 3.0'
pod 'AFOAuth2Manager', :git => "https://github.com/AFNetworking/AFOAuth2Manager.git""

Let me know if something is wrong here.

@jameshays
Copy link

For AFOAuth2Manager, you'll have to target the 3.0 branch.

@amitjain2405
Copy link

Awesome thanks a lot it worked, for others who are facing same kind of issue while downloading both AFNetworking and AFOAuth2Manager please see below:
Your podfile should use below commands :

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

pod 'AFNetworking', '~> 3.0'
pod 'AFOAuth2Manager', :git => 'https://github.com/AFNetworking/AFOAuth2Manager.git', :branch => '3_0_0_branch'

and then run pod install.

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

No branches or pull requests

3 participants