[英]Disable -ObjC for one Framework in Xcode
I am currently using some Frameworks which use the -ObjC Other Linker Flag. 我目前正在使用一些使用-ObjC Other Linker标志的框架。 (RestKit) (RestKit)
Now I have to implement another Framework which does not work with the -ObjC Flag set. 现在,我必须实现另一个与-ObjC标志集不兼容的框架。
Is there a way do Disable this Flag for this particular Framework, or to enable it only for RestKit? 有没有一种方法可以对此特定框架禁用此标志,或者仅对RestKit启用它?
I used 我用了
-force_load $(BUILT_PRODUCTS_DIR)/libRestKit.a
in Other Linker Flags and removed -ObjC and -all_load 在其他链接器标记中,并删除了-ObjC和-all_load
Works fine. 工作正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.