I\'ve been running my app on an iPhone 5 /iOS 6, but when I try to run it on an iPhone 4S / iOS6 I get \"The run destination iOS Device is not valid for running the scheme N
In my case the problem was missing executable value selected into Scheme -> Profile -> Executable (e selected from the dropdown build configuration debug and executable the "application".app).
For my case, check the target -> Build Settings -> Search "Mach-O Type" and check the value, it should be Executable/Dynamic Library/Static Library. For other type values, the target could NOT be built and run.
Quit and Reset Xcode
can reslove most problem. The other cause is Device
not support iPhone, you can
Target
-> select scheme -> General
-> Deployment Info
-> Device
-> select Universal
or the current device you want.
its xcode bug,until 10.0 beta 3 (10L201y)
The run destination iPhone is not valid for Running the scheme.
It will work
I notice this with certain cable+device combinations (probably bad contact), restarting the XCode will only help for one or two runs and then it strikes again. Changing cable / device is the only long term solution worked for me.