XCode编译问题:does not contain a(n) armv7s slice

当使用Xcode更新到4.5版本后,遇到编译错误提示不支持armv7s架构的问题。通过将Architectures设置为$(ARCHS_STANDARD_32_BIT)中的armv7,可以解决此问题。当前Unity编辑器可能未正确导出armv7s架构的符号。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

这个是由于引入外部static lib时候报错,由于xcode升级成4.5后,编译结构有armv7和armv7s,如果这个时候编译会告知编译有问题,不支持armv7s,修改的方式如下:

Got the same problem since updating XCode. To work around it, in the XCode project, change the Architecture from "$(ARCHS_STANDARD_32_BIT)" to armv7. "$(ARCHS_STANDARD_32_BIT)" expands to something like armv7, armv7s and the current unity editor doesn't seem to export the correct symbols for armv7s.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值