ARC error : -fobjc-arc is not supported with fragi

2019-02-03 12:34发布

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条回答
时光不老,我们不散
2楼-- · 2019-02-03 13:04

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.

查看更多
登录 后发表回答