No architectures to compile for (only_active_arch = yes, active arch = x86_64, valid_archs= i386

789 Views Asked by At

I'm using XCODE 5.1 and IOS 7.1 for my project and when I compile it for Iphone-simulator 64bit, Xcode generates this error:

No architectures to compile for (only_active_arch = yes, active arch = x86_64, valid_archs= i386

I have already read others topics and I tried the solutions but I haven't resolved my problem.
I post my image settings: enter image description here

Thanks

1

There are 1 best solutions below

0
On

If it helps I just added x86_64 to the valid architectures list and the message went away. (Although there are other issues in the code) The older projects are targeted to the old MAC processors - pre intel, if you dont add i386/x86_64 to the list it can't produce code that will run in the simulator.