I have an iPhone 3G (running iOS 4.0), which I use to test the performance of my application on my old hardware. I used to use the device without problems, even with Xcode 4.
However, when I installed the latest version of Xcode4 (4.0.2 build 4A2002a), I lost the ability to install my application on this older device. When I click the Run button, I get
No provisioned iOS devices are available. Connect an iOS device or choose an iOS simulator as the destination.
However, nothing has changed on the device (my provisioning profile is still installed and valid), and this whole process works fine for my main device - iPhone 4.
I used the "Applications" screen in the "Organizer" to manually install the application on my phone. It looked more promising as the progress bar started to fill up and indicated that it was copying files to the device. However, before I finished, a message appeared:
An unknown error message 'IncorrectArchitecture', was received from the device.
and the application never appears on the phone.
The purpose of my project deployment is 3.1.3, and in the "Architecture" field in the build settings is set to "Standard (armv6 armv7)"
Is there something I am missing here? Why won't it be installed and what has changed between the first version of Xcode4 and the second version that could cause this?
source share