0

I changed a while ago from Xcode 3 to Xcode 4.2 for Snow Leopard. Everything was fine, I developed apps for iPhone and all was going smoothly until today... I got alert:

The version of iOS on “iPhone Prophone” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.

Which is strange, because yesterday I was able with simple "run" test my app aimed for iOS 5.0 (Xcode target 5.0, 4C199) with my iPhone 4S, which has iOS 5.1.1 (9B206) for quite some time. In Organizer->Devices my iPhone has a yellow dot suggesting that something is wrong. I don't think I did something unexpected, just came, turned mac on and fired up Xcode... any solution?

I've read that, but as I said - I was using new Xcode for few weeks and suddenly this "non-detection" happened...
I'm stuck, thanks for help.

EDIT:
I found something relevant in this topic on SO, but I'll wait a bit - maybe there is something simpler or more obvious that I missed.

Community
  • 1
  • 1
raistlin
  • 4,298
  • 5
  • 32
  • 46
  • how is it possible even that I could test my apps written for iOS 4.2 on iPhone 4S with iOS 5.0, but now suddenly I cannot test target for iOS 5.0 on my iPhone with iOS 5.1.1 ... ? – raistlin Jul 16 '12 at 10:04
  • I think you just got lucky having it run at all. Xcode is setup to not let you run an app on a device that is running software newer than the current Xcode version knows about. What you want to do is just not possible - if you want to test on this device then switch to 4.3 on a Lion machine. – David H Jul 16 '12 at 11:45
  • thanks :) unfortunatelly I can't do that right now. but I did manage to solve problem with solution from here http://stackoverflow.com/questions/9611596/ios-5-1-with-xcode-4-2-and-retina-in-ipad-3/9728951#9728951 – raistlin Jul 16 '12 at 12:01

1 Answers1

0

I managed to solve the problem, by:
1) downloading xcode 4.3.1
2) copying from package content SDK & Device Support for iOS 5.1 into Xcode directories
3) run and test on your device

solution found here: iOS 5.1 with Xcode 4.2 and retina in iPad 3

Community
  • 1
  • 1
raistlin
  • 4,298
  • 5
  • 32
  • 46