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

前端 未结 2 1675
[愿得一人]
[愿得一人] 2020-12-17 01:11

I\'m having a problem trying to migrate my iPhone app to the new ARC technology. When I try to convert the code, the following error shows up 29 times:

 Appl         


        
相关标签:
2条回答
  • 2020-12-17 01:31

    change compiler.

    Set the project compiler to "LLVM GCC 4.2", instead of "Apple LLVM 3.0"; ARC is only supported when you use Apple LLVM. To set the project compiler, in your Project, under "Build Settings", and then under "Build Options", there is a settings for "Compiler for Objective-C". Change that value to "LLVM GCC 4.2

    0 讨论(0)
  • 2020-12-17 01:38

    From Apple's developer forums

    This is an unfortunate bug in Seed 3, where the migrator and simulator aren't working well together. To address this, just switch to a device target, then do migration.

    0 讨论(0)
提交回复
热议问题