ARC error : -fobjc-arc is not supported with fragile abi [duplicate]

血红的双手。 提交于 2019-11-29 02:56:36

问题


Possible Duplicate:
Objective-C ARC Error: -fobjc-arc is not supported with fragile abi

Clang LLVM 1.0 Error error: -fobjc-arc is not supported with fragile abi

I'm buildin an OSX app and I get the same error when I compile it with "Profile", to work with Instruments. Any idea how to solve it?


回答1:


ARC is only available to 64-bit applications in OS X. Therefore, you must set your application's architecture to "64-bit Intel" in the build settings. If you want to support 32-bit OS X systems then you cannot use ARC.

"Fragile ABI" refers to the old "Legacy" Objective-C runtime, which is what 32-bit OS X applications use. iOS and 64-bit OS X apps use the "Modern" Objective-C runtime.



来源:https://stackoverflow.com/questions/7919227/arc-error-fobjc-arc-is-not-supported-with-fragile-abi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!