Want to run app under watchOS getting error under Xcode beta: Domain: IDELaunchErrorDomain Code: 15 Failure Reason: Build and Run launch failed as the app to run does not appear to be known by the system.
My solution was to add to watch app scheme iOS target like in screenshot:
However I reported to Apple about such behavior.
This happened to me after modifying the bundle identifier. Following these steps works for me:
General > Embedded Content
remove the WatchKit Extension
Info > NSExtension > NSExtensionAttributes > WKAppBundleIdentifier
make sure it is the same identifier the WatchKit App
General > Embedded Content
add the WatchKit Extension
Build
add a the target for: (credits to Evgeny Zrorin)
You must have 2 targets in your Scheme > Build
, run your app and good luck
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With