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

Allow iOS 6 in pod spec #48

Closed
wants to merge 1 commit into from

Conversation

palringosteve
Copy link

Seems like an oversight in the latest podspec as I've tested the latest 1.3.2 code on iOS 6.0 and it seems to be working without issue.

See issue #47

@thiagoperes
Copy link
Owner

Sorry, AFNetworking requires iOS 7.0, see https://github.com/AFNetworking/AFNetworking

@thiagoperes thiagoperes mentioned this pull request Nov 29, 2013
@objectiveSee
Copy link

AFNetworking requires 6.0, not 7.0. Here is it's podspec:

https://github.com/AFNetworking/AFNetworking/blob/master/AFNetworking.podspec

From the README:

"AFNetworking 2.0 and higher requires Xcode 5, targeting either iOS 6.0 and above, or Mac OS 10.8 Mountain Lion (64-bit with modern Cocoa runtime) and above."

On Fri, Nov 29, 2013 at 5:25 PM, Thiago Peres notifications@github.comwrote:

Sorry, AFNetworking requires iOS 7.0, see
https://github.com/AFNetworking/AFNetworking


Reply to this email directly or view it on GitHubhttps://github.com//pull/48#issuecomment-29539854
.

@vvit
Copy link

vvit commented Mar 4, 2014

Could you take a look at this info: http://stackoverflow.com/questions/19041584/does-afnetworking-2-0-support-ios-6-0
Only pod 'AFNetworking/NSURLSession' requires iOS7.

What I did is just removed AFURLSessionManager.h and AFHTTPSessionManager.h from the demo project. Also removed all #import directives for these files. Works fine on iOS6.

@objectiveSee
Copy link

From that StackOverflow post:

[EDIT] Since my answer, Mattt updated its code and podspec so that you can
get the NSURLSessionsubspec even when targeting iOS6. See this pull request
on its github AFNetworking/AFNetworking#1412 (and
other ones related). So now you can get the NSURLSession subspec even for
you iOS6-min projects, and just conditionally call them at runtime only if
([NSURLSession class]) is true.

On Tue, Mar 4, 2014 at 10:04 PM, vvit notifications@github.com wrote:

Could you take a look at this info:
http://stackoverflow.com/questions/19041584/does-afnetworking-2-0-support-ios-6-0
Only pod 'AFNetworking/NSURLSession' requires iOS7.

What I did is just removed AFURLSessionManager.h and
AFHTTPSessionManager.h from the demo project. Also removed all _#import_directives for these files. Works fine on iOS6.

Reply to this email directly or view it on GitHubhttps://github.com//pull/48#issuecomment-36667588
.

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

Successfully merging this pull request may close these issues.

None yet

4 participants