iOS 5 上的 armv7 未定义符号:_aes_icm_advance_ismacryp
我有一个使用 Xcode 4.2 for iOS 4.3 构建的应用程序,我想在 Xcode 4.2 + iOS 5 beta 7 for Snow Leopard 上构建它,但出现以下错误:
Apple Mach-O Linker (Id) Error
Undefined symbols for architecture armv7
"_aes_icm_advance_ismacryp", referenced from:
我有一个类包含方法 aes_icm_advance_ismacryp. iOS 4.3 上的架构设置是 i386,所以我尝试将其更改为 i386,但 Xcode 不允许我这样做。
我尝试了这个答案但没有解决我的问题。
I have one app I built with Xcode 4.2 for iOS 4.3, and I want to build it on Xcode 4.2 + iOS 5 beta 7 for Snow Leopard but I get the error below:
Apple Mach-O Linker (Id) Error
Undefined symbols for architecture armv7
"_aes_icm_advance_ismacryp", referenced from:
I have one class contain the method aes_icm_advance_ismacryp
. The architecture setting on iOS 4.3 was i386 so I tried to change it to i386 but Xcode won't let me.
I tried this answer but didn't solve my problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的构建设置为其架构显示什么?
它应该看起来像这样
(我的屏幕截图来自 Xcode 5,所以它不准确):
如果您有嵌套项目依赖项,则还必须检查这些目标。
What do your build settings display for their architectures?
It should look something like this
(My screenshot is from Xcode 5 so it will not be exact):
If you have nested project dependencies, you'll have to check those targets as well.