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.
Asked
Active
Viewed 1,437 times
11
-
Same error here !! (under iOS13 release). Did you find a solution ? – iKK Sep 21 '19 at 16:23
-
1I just found a solution: Delete all Schemes (under Top left: Mange Schemes... - delete all of them with the '-'Sign). Then add the Schemes again with the '+'Sign under Manage Schemes.... After doing so it works ! – iKK Sep 21 '19 at 16:37
-
Did not work for me. – Benedikt S. Vogler Sep 21 '19 at 18:58
-
Anybody find another solution? This still happens in the non-beta release. – jimm101 Sep 22 '19 at 17:55
-
Same problem here on Xcode `Version 11.1 (11A1027)`. Regenerating the schemes didn't work for me too. – Douglas Ferreira Oct 11 '19 at 20:01
-
Facing same issue. Managing schemes didn't work. – Vinit Ingale Oct 14 '19 at 23:52
3 Answers
7
My solution was to add to watch app scheme iOS target like in screenshot:
However I reported to Apple about such behavior.

Evgeny Zrorin
- 351
- 1
- 12
1
This happened to me after modifying the bundle identifier. Following these steps works for me:
- Delete all the Schemes
- Select the WatchKit App target and under
General > Embedded Content
remove the WatchKit Extension - Select the WatchKit Extension target and under
Info > NSExtension > NSExtensionAttributes > WKAppBundleIdentifier
make sure it is the same identifier the WatchKit App - Clean Build (just in case)
- Select again the WatchKit App target and under
General > Embedded Content
add the WatchKit Extension - Add a new Scheme for the WatchKit App
- Edit the new Scheme and in
Build
add a the target for: (credits to Evgeny Zrorin)- The iOS App target if your WatchKit App is a companion of an iOS App
- The iOS target generated by Xcode if your WatchKit App is a standalone App
You must have 2 targets in your Scheme > Build
, run your app and good luck

vicegax
- 4,709
- 28
- 37
0
With your WatchKit app selected under your targets, go to 'Build Phases', expand the 'Dependencies' and the 'Embed App Extensions' sections and make sure that the correct Watchkit App Extension is present there. If you duplicated your target, it is possible that an old unrelated WatchKit extension sitting over there is creating the problem.

Bijoy Thangaraj
- 5,434
- 4
- 43
- 70