Search code examples
iosswiftxcodewatchkitapple-watch

Can I run my app on my device without a paired Apple Watch from XCode, even if it has an Apple Watch target?


I've added an Apple Watch target to my app and now it will only run in the simulator. I've written the code in Swift and it ran fine; once adding the Apple Watch target, I get a message that it cannot run on my iOS device because it does not have a paired Apple Watch.


Solution

  • Which target are you trying to run? Make sure you have selected the app and not the watch app in the top bar of Xcode