Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 778
rops Avatar asked Oct 27 '11 16:10

rops


1 Answers

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.

like image 188
Darren Avatar answered Sep 27 '22 16:09

Darren