本文介绍了CocoaPods库中强大的dispatch_queue_t的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个可能使用iOS 5.x / OS X 10.7部署目标或更新目标构建的库中,我遇到了正确定义 dispatch_queue_t 属性的问题。

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.

在大多数情况下,我可以按照建议像旧版的CocoaPods一样正在重新定义 OS_OBJECT_USE_OBJC 打破 OS_OBJECT_HAVE_OBJC_SUPPORT

Seems like older CocoaPods was redefining OS_OBJECT_USE_OBJC breaking OS_OBJECT_HAVE_OBJC_SUPPORT.

我们得到了这个,方法是检查 OS_OBJECT_USE_OBJC 并使用较新的CocoaPods。

We got this fixed by checking OS_OBJECT_USE_OBJC and using a newer CocoaPods.

这篇关于CocoaPods库中强大的dispatch_queue_t的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-19 01:01