No provisioned iOS devices are available with a compatible iOS version.
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.
1.选择与ios设备同版本的sdk
2.在organizer中启用设备的debug模式,确保设备指示为绿色