Search code examples
iosiphonexcodemessage

Xcode 8 Messages Template Application: Error on iOS Simulator


When I create a new project using the "Messages Application" template of Xcode 8 and try to run it on iOS simulator, I get the following error:

Title

The request to open com.myDomain.MyApp failed.

Details

The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.myDomain.MyApp" is unknown to FrontBoard").

The message is the same for Objective-C and Swift projects.

I don't find any search result for this message yet, so any hint will be helpful. I will update the question as I progress.

Edit

This error occurred with Xcode 8 beta versions.


Solution

  • You may want to check your scheme. The executable should be asked on launch (You want to select Messages app). Edit Scheme -> Info -> Executable -> Ask on launch (rather than MyApp.app)