Objective-C ARC 错误:-fobjc-arc 不支持脆弱的 abi [英] Objective-C ARC Error: -fobjc-arc is not supported with fragile abi

查看:23
本文介绍了Objective-C ARC 错误:-fobjc-arc 不支持脆弱的 abi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试将我的 iPhone 应用迁移到新的 ARC 技术时遇到问题.当我尝试转换代码时,出现以下错误 29 次:

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:

 Apple LLVM compiler 3.0 Error
 -fobjc-arc is not supported with fragile abi

这是什么意思?更重要的是,我该如何解决?提前致谢!

What does this mean? And more importantly, how can I fix it? Thanks in advance!

推荐答案

来自 Apple 的开发者论坛

这是 Seed 3 中的一个不幸错误,其中迁移器和模拟器不能很好地协同工作.要解决这个问题,只需切换到设备目标,然后进行迁移.

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.

这篇关于Objective-C ARC 错误:-fobjc-arc 不支持脆弱的 abi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆