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

use OS_OBJECT_USE_OBJC instead of OS_OBJECT_HAVE_OBJC_SUPPORT #2930

Merged
merged 1 commit into from Sep 25, 2015

Conversation

canius
Copy link

@canius canius commented Aug 31, 2015

When using cocoapods, we need fix this to avoid compile error.
See http://stackoverflow.com/questions/27267865/strong-dispatch-queue-t-in-cocoapods-library

@phoney
Copy link

phoney commented Sep 24, 2015

@kcharwood kcharwood added this to the 2.6.1 milestone Sep 25, 2015
kcharwood added a commit that referenced this pull request Sep 25, 2015
use OS_OBJECT_USE_OBJC instead of OS_OBJECT_HAVE_OBJC_SUPPORT
@kcharwood kcharwood merged commit fbd2bc8 into AFNetworking:master Sep 25, 2015
@kcharwood
Copy link
Contributor

Thanks!

@khallmark
Copy link

Issue recurs in latest version 3.0.4

AFNetworking/AFURLSessionManager.h:159:1: Property with 'retain (or strong)' attribute must be of object type
AFNetworking/AFURLSessionManager.h:164:1: Property with 'retain (or strong)' attribute must be of object type

@kcharwood
Copy link
Contributor

What version of Xcode are you using?

@khallmark
Copy link

7.2.

@khallmark
Copy link

Created this PR to fix the issue: #3242

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