Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 630
Totoro Avatar asked Jun 21 '16 08:06

Totoro


People also ask

How do I change generic iOS device to simulator Xcode?

Open Xcode, Goto Preferences, Select Component. Click on Simulators of your choice then it will start the process of download & installing the simulators.

What is x86_64 architecture iOS?

x86_64 is the architecture of Intel's 64-bit CPUs, sometimes also simply referred to as x64 . It is the architecture for all Intel Macs shipped between 2005 and 2021. arm64 is the architecture used by newer Macs built on Apple Silicon, shipped in late 2020 and beyond.

Is iOS simulator arm64?

The iOS simulator's architecture is x86_64 (the latest Xcode doesn't support an i386-based simulator that the answer refers to), whereas a real iOS device (such as an iPhone or iPad) can be arm64 or arm64e. So when building an app for the simulator you need to specify x86_64, not an ARM architecture.

How do I use iPhone simulator in Xcode?

The basic way to open a list of simulators is to use Xcode -> Window -> Devices and Simulators. Here you can create and manage all available simulators.


1 Answers

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)

like image 151
ubiAle Avatar answered Sep 20 '22 13:09

ubiAle