If I try to debug iPhone 5s on Xcode 4, it will say:
Xcode does not know how to run code on "arm64" devices. However, if I compile adhoc ipa, it will be installed and running.
We still need Xcode 4 for temporary reasons.
Any ideas?
The workaround is to use Organizer to copy the target application (after creating it) directly to your iPhone 5 .. Of course, you cannot debug it, but at least you can run it on the device.