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:
The request to open
com.myDomain.MyApp
failed.
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.
This error occurred with Xcode 8 beta versions.
Open Xcode, Goto Preferences, Select Component. Click on Simulators of your choice then it will start the process of download & installing the simulators.
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.
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.
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.
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)
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