The OS_OBJECT_USE_OBJC
flag denotes that GrandCentralDispath queues (and probably other OS objects?) are fully compliant Objective-C objects (so they managed by ARC, etc.)
If I do
#if OS_OBJECT_USE_OBJC
NSLog(@"OS_OBJECT_USE_OBJC=1")
#else
NSLog(@"OS_OBJECT_USE_OBJC=0");
#endif
From the AppDelegate I see OS_OBJECT_USE_OBJC=1
. However, doing the same within the code of any Pod shows OS_OBJECT_USE_OBJC=0
. The first line of my Podfile is
platform :ios, '7.0'
and omitting that line doesn't seem to make a difference. My Base SDK is iOS 8.0 and my Deployment Target
is iOS 7.0.
How can I "enable" OS_OBJECT_USE_OBJC
for my pods?
Also, is there any official documentation explaining OS_OBJECT_USE_OBJC
? I couldn't find any.