Missing required architecture armv7

hi!!
After running the deployment of my project in Unity3D with the following settings:
Target Device: iPhone + iPad
Targhet Platform: + armv6 armvt
sdk version: latest ios simulator
target ios version: 5.0
I opened the project with xCode 4.2
I set the architecture of ARMv7, based sdk: latest ios, build active architecture only: no, valid architectures: armv6 ARMv7

I selected my iPad and I run.
I get this error:
warning: ignoring file /Users/vai/Desktop/progettounity/Libraries/libiPhone-lib.a, missing required architecture armv7 in file
Undefined symbols for architecture armv7:
“__Z29UnityHasRenderingAPIExtensionPKc”, referenced from:
__Z8InitGLESv in iPhone_GlesSupport.o
“__Z20UnityFinishRenderingv”, referenced from:
__Z14DestroySurfaceP15EAGLSurfaceDesc in AppController.o
__Z24HandleOrientationRequestv in AppController.o
-[AppController Repaint] in AppController.o
“__Z17UnityInputProcessv”, referenced from:
-[AppController Repaint] in AppController.o
“__Z26UnityUse32bitDisplayBufferv”, referenced from:
__Z23AfterPresentSurfaceGLESP15EAGLSurfaceDesc in iPhone_GlesSupport.o
“__Z20UnityLoadApplicationv”, referenced from:
-[AppController prepareRunLoop] in AppController.o
“__ZN16KeyboardOnScreen4InitEv”, referenced from:
-[AppController prepareRunLoop] in AppController.o
“__Z21UnitySendTouchesMovedP5NSSetP7UIEvent”, referenced from:
-[EAGLView touchesMoved:withEvent:] in AppController.o
“_gDefaultFBO”, referenced from:
__Z17CreateSurfaceGLESP15EAGLSurfaceDesc in iPhone_GlesSupport.o
__Z35CreateSurfaceMultisampleBuffersGLESP15EAGLSurfaceDesc in iPhone_GlesSupport.o
__Z23AfterPresentSurfaceGLESP15EAGLSurfaceDesc in iPhone_GlesSupport.o
“__Z12UnityCleanupv”, referenced from:
-[AppController applicationWillTerminate:] in ………

Please help me!!!

Hi,
I’m also having the same issue… I looked around the web a lot but have not found a single solution for it… :frowning:

Few things come to mind.
1.) Unity version?
2.) If you’re building for device, don’t use choose simulator sdk in unity.
3.) XCode 4.2? Please upgrade.

And I’d suggest ditcing armv6 support alltogether, saves you a lot of trouble. And after all, that’s the sign Apple has given, too.