The run destination iOS Device is not valid for running the scheme
It was a bug in XCode, I closed and reopened Xcode and it started working.
I've noticed this sort of thing many many times now with Xcode with other problems, its very frustrating that the tool is so dodgy.
The run destination [user's] iPhone is not valid for Running the scheme
Scheme > Manage schemes > Autocreate schemes may resove your problem
The Run Destination is not valid Xcode
For me, select the Project from the Project Navigator and then select the target -> go build settings and change the iOS Deployment Target.
That's worked for me.Let me know if you still facing issue.
Unable To Run Unit Tests in Xcode 11: The run destination * is not valid for tests you have chosen to perform
Check your Targets: (test Target) -> Build Settings -> Deployment -> iOS
Deployment Target: select a lower iOS version eg: iOS 10.0
This will be solving your problem.
Run destination iOS Device is not valid for iPod Touch running 3.1.3 with XCode 4
I solved this by Autocreating schemes (Scheme > Manage schemes > Autocreate schemes) and then selecting the iPod Touch instead of "iOS Device" which had appeared in the schemes. D'oh!
Related Topics
Is the Current Location/Compass Heading Button Available in the iOS Sdk
Detect Uiimageview Touch in Swift
How to Handle Action Buttons in Push Notifications
Share Video on Twitter with Fabric API Without Composer iOS
Orienting iOS Splash Image to Landscape/Portrait According to Launch Orientation
Annotation Along Route in Mapkit
Dragging Scnnode in Arkit Using Scenekit
Objective-C Check If Subviews of Rotated Uiviews Intersect
How to Have One Static Cell in a Dynamic Tableview
How to Efficiently Find Cgrects for Visible Words in Uitextview
iOS Webaudio Only Works on Headphones
How to Retrieve Messages Logged with Os_Log from iPad/Iphone
How to Use Coreaudio's Audioconverter to Encode Aac in Real-Time
Skmutablepayment Property: Applicationusername
Trouble Creating Xmpp Muc Room: Code 503 (Service Unavailable)
Saving Attributes on a User Fetched from a Query (I.E. Not on the Currentuser)