iOS5 Issues

Hi, I’ve already read through the troubleshooting page:

http://unity3d.com/support/documentation/Manual/TroubleShooting.html#iPhoneTroubleShooting

…but I’m still having issues. Up until I installed iOS5, my project was running and building fine. Now when I try to build it to my iPhone I get an error saying:

Xcode cannot run using the selected Device
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.

Now, I’ve double checked through iTunes and I definately have iOS5 installed on my device. But there a couple of things I’m unsure of:

  1. In Build settings within Unity, my SDK version is iOS4.3 while my Target iOS version is 3.1. There is no option currently to select iOS5 for my SDK version which, seems wrong to me?
  2. In Xcode, I have Unity-iPhone device selected, and iOS device selected (all other options are iPhone/iPad simulators, is that right?)
  3. I’ve also checked that I have a valid provision profile on my device.

Can anyone help?
Many Thanks

In Unity’s Player Settings, set your SDK Version to “iOS latest”

hmm. I’m afraid not, still the same issue. Anything else I should check?

Ah found it - there was a button saying ‘use iphone for development’?!? Don’t know why that wasn’t checked as I’d been using it before, can build to it now. Thanks for the assistance!

I had the same problem and found this useful (had the “use for development” unchecked) - Thanks.

Where is that “use for development” check box?
I don’t see it in Unity’s Player Settings, is it in XCode somewhere?

If I remember correctly, it’s under Xcode’s organizer window. Connect your device, select it from the list and then you shoudl have button “user for development”. I seem to remember correctly, here’s a result of google imagesearch: http://koolmobile.net/wp-content/uploads/2011/08/Xcode_4_organizer_use_for_development-Kopie.jpg