My 5s was running fine with Xcode 6.0.1 when I was using iOS 8.0.2. But then I upgraded to iOS 8.1, build my code, and I got an error saying "Xcode cannot run using the selected device. No supported iOS devices are available. Mark an iOS device as 'Use for Development' to run your application or choose an iOS simulator as the destination." So then I figure I need to upgrade to Xcode 6.1, but I still got the same error. The strange thing is under Windows > Devices I can see my iPhone 5s information. Please help, thanks in advance.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I've got the same problem. Just uncheck "Show in Run Destinations Menu" and check it again in Device Window for your device. It works for me.
回答2:
in my case, solution was , to restart Mac computer
because i even cannot see my device in Devices menu of xcode
回答3:
Please Update you Xcode to 6.1 , The 6.0.1 does't support iOS 8.1.
download Xcode 6.1 from here
https://developer.apple.com/downloads/index.action