Undefined symbols for armv7 on iOS 5: _aes_icm_advance_ismacryp
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):
If you have nested project dependencies, you'll have to check those targets as well.
精彩评论