Warnings in Xcode when build

Hello mates.
When I build my app to a device, I get always 120 warnings in the Build Results that I know nothing about, and they all look like this:

warning: (armv6) /Users/xxx/project/beta/Libraries/libiPhone-lib.a(aot-runtime.o) object file '/Users/xxx/ project/beta/Libraries/libiPhone-lib.a(aot-runtime.o)' doesn't contain architecture information for armv6.

the 120 warnings are “doesn’t contain architecture information for armv6”… does someone know what is going on?

running:
Unity Iphone 1.5.1
Xode 3.1.4
Builing to Device 3.0

thank you!

one more thing:
the console displays every frame (so a lot of messages) the same thing while playing:

8 (Filename: /Users/build/builds/unity-iphone-1.5/iphone-1.1/Projects/../Runtime/Export/Generated/BaseClass.cpp Line: 1719)

Once more, I have no idea of what is the problem.

It looks like you’re are trying to build for the simulator and not the device like you should be.

Really?
No, sure I am building to de device (have the game working on the iPhone, in debug or release mode, for some time now) and it’s working, but I get those warnings.

Really?
No, sure I am building to de device (have the game working on the iPhone, in debug or release mode, for some time now) and it’s working, but I get those warnings.

arm6 only compiling happens if you don’t choose optimized in the project settings. that compile type is a little smaller theoretically (practially not really as you only compile binding code anyway) but quite a bit less efficient for 3GS devices (which are ARM7

simulator build would be target x86 :slight_smile:

thank you dreamora to point me in the right direction, as always.
I will check that later back home :slight_smile:

I guess you have some Debug.Log() / print() statement somewhere in your scripts :wink:

you can vet! this is the price of the noobs.

now on, I will know which the problem is :slight_smile: thank you for the help guys!

Dreamora, I configure in Xcode the architecture to Optimzed (6 and 7) and I keep getting the warnings :confused: