Strong dispatch_queue_t in CocoaPods library
问题 In a library that may be built with an iOS 5.x/OS X 10.7 deployment target or with a newer one I had a problem for properly defining a dispatch_queue_t property. For the most part I could solve it as suggested here: #if OS_OBJECT_HAVE_OBJC_SUPPORT // == 1 not really needed @property (nonatomic, strong) dispatch_queue_t loggerQueue; // An Objective-C object #else @property (nonatomic, assign) dispatch_queue_t loggerQueue; // A C pointer #endif This works when manually creating a static library