No provisioned iOS devices are available with a compatible iOS version

Solution 1:

Solved this problem by closing and re-opening xcode.

Xcode... it's the new Windows.

Solution 2:

Try clicking "Use for Development" on your device in the Xcode Organizer. I got this same error and that was the only way I fixed it.