No provisioned iOS devices are available with a compatible iOS version

tarmes picture tarmes · Oct 24, 2011 · Viewed 71.4k times · Source

I'm trying to test my app on an iPhone 3G, however I'm getting this error:

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.

Note that:

  • The 3G has version 4.2.1 of iOS installed
  • The iOS deployment target is set to version 4.2
  • The device has valid development profiles installed
  • I'm using the latest Xcode 4

I'm at a loss. Can anyone help?

Tim

Answer

Gavin Miller picture Gavin Miller · Jul 1, 2012

Solved this problem by closing and re-opening xcode.

Xcode... it's the new Windows.