I’m trying to deploy Penelope demo on a real device and given the same error as on this thread (but for different architecture):
http://forum.unity3d.com/threads/53288-File-format-which-is-not-the-architecture-being-linked-(i386
ld: warning: in /Volumes/MacExtra/Projects/Unity/penelope/demo-ios/Libraries/libiPhone-lib.a, file was built for unsupported file format which is not the architecture being linked (armv7)
<…many undefined symbols failed to link…>
I’ve built the project of iOS, selected Base SDK = 4.2 and loaded the project into XCode 4. I had to change the architecture i386 → Standard(arm6+arm7) in order for the build to start. I connected the device (iPhone 4), set up the build target to it and hit the Build&Run button.
As far as I understand, it fails to link against “libiPhone-lib.a”. The question is: what architecture is this lib built for and why is it not for arm6/arm7 ?