开发者

Undefined symbols for armv7 on iOS 5: _aes_icm_advance_ismacryp

开发者 https://www.devze.com 2023-04-08 11:21 出处:网络
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:

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.


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):

Undefined symbols for armv7 on iOS 5: _aes_icm_advance_ismacryp

If you have nested project dependencies, you'll have to check those targets as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消