uuisik
January 2, 2024, 10:56pm
1
I tried to build for IOS and open in Xcode IOS Simulator for “HelloWorld” project.
Build succeeded but app crashes on start.
What am I missing?
I make a clean install all.
Corona Simulator : Version 2023.3701 (2023.12.5)
MacOS : Sonoma Version 12.2.1
Xcode : Version 15.0.1 (15A507)
IOS SDK: 17.0
Logs:
iOS build succeeded in 17 seconds
Running '/Users/penguen/Desktop/HelloWorld.app' on Xcode iOS Simulator - iPhone 15 Pro / iOS 17.0
Error running /Applications/Corona-3701/Corona Simulator.app/Contents/Resources/xcodesim_sendapp.sh (
"/Users/penguen/Desktop/HelloWorld.app",
"xxxxxxxxxxxx"
)
Restarting Xcode Simulator ...
No matching processes belonging to you were found
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
Simulator device returned an error for the requested operation.
The request was denied by service delegate (SBMainWorkspace).
Underlying error (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "HelloWorld" failed.
The request was denied by service delegate (SBMainWorkspace).
Copy & paste your error message to Google and here’s what I’ve found:
opened 03:33PM - 07 Feb 21 UTC
closed 04:03AM - 25 Feb 21 UTC
bug
**Summary**
Hello, I have a problem when trying to run an expo project (bare), … the compilation seems successful, but when it runs it gives this error that appears in the attached log, the simulator opens correctly, and the metro also, App icon appears on the simulator as installed, I tried to run it manually, but it gives a message as if the app had not been completely installed, I already have experience with expo-cli on windows, but it is my first experience when setting up the development on MacOS.
**Environment**
MacBook-de-Lucas:my-app lucassouza$ expo diagnostics
Expo CLI 4.1.6 environment info:
System:
OS: macOS Mojave 10.14.6
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.15.4 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.10 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /Users/lucassouza/.rvm/rubies/ruby-2.6.5/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Xcode: 11.3/11C29 - /usr/bin/xcodebuild
npmPackages:
expo: ~40.0.0 => 40.0.1
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: ~0.63.4 => 0.63.4
react-native-web: ~0.13.12 => 0.13.18
npmGlobalPackages:
expo-cli: 4.1.6
Expo Workflow: bare
**Please specify your device/emulator/simulator platform, model and version**
iPhone 8 - 13.3 - (SimulatorApp-912.5 SimulatorKit-570.3 CoreSimulator-681.17)
**Error output**
MacBook-de-Lucas:GitHub lucassouza$ cd my-app
MacBook-de-Lucas:my-app lucassouza$ yarn ios
yarn run v1.22.10
$ react-native run-ios
info Found Xcode workspace "myapp.xcworkspace"
info Building (using "xcodebuild -workspace myapp.xcworkspace -configuration Debug -scheme myapp -destination id=C8CDA62D-386D-48D1-8A77-896807032B3D")
success Successfully built the app
info Installing "/Users/lucassouza/Library/Developer/Xcode/DerivedData/myapp-gzfppuclawuzhgcjhcilzumchmhn/Build/Products/Debug-iphonesimulator/myapp.app"
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Could not install at this time.
Failed to chmod /Users/lucassouza/Library/Developer/CoreSimulator/Devices/C8CDA62D-386D-48D1-8A77-896807032B3D/data/Bundle/Application/7563536F-92AB-4D6F-9DE2-91B930247D5D/myapp.app/myapp : No such file or directory
Underlying error (domain=MIInstallerErrorDomain, code=4):
Failed to chmod /Users/lucassouza/Library/Developer/CoreSimulator/Devices/C8CDA62D-386D-48D1-8A77-896807032B3D/data/Bundle/Application/7563536F-92AB-4D6F-9DE2-91B930247D5D/myapp.app/myapp : No such file or directory
info Launching "org.name.myapp"
error Failed to launch the app on simulator, An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "org.name.myapp" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "org.name.myapp" is unknown to FrontBoard").
Underlying error (domain=FBSOpenApplicationErrorDomain, code=4):
The operation couldn’t be completed. Application "org.name.myapp" is unknown to FrontBoard.
Application "org.name.myapp" is unknown to FrontBoard.
✨ Done in 774.74s.
MacBook-de-Lucas:my-app lucassouza$
**Reproducible demo or steps to reproduce from a blank project**
Steps to create project:
-expo init my-app > minimal (bare)
Steps to run project:
-cd my-app
-yarn ios
I've tried to delete the contents and settings of the simulator, and clean the project too, and I also tried to run in XCode, but none of these solutions worked, I also tried to use other simulators but the error is common among all.

Also, another method suggested is updating both your Solar2D and Xcode to the latest version. That could also work.
Can you try those out to see if they work?
1 Like
uuisik
January 3, 2024, 1:21pm
4
Bad luck!
Solar2d 2024.3702 version was released 16 hours ago and xcode 15.1 update has arrived.
It’s been 16 hours since I downgraded my Xcode version from 15.1 to 15.0.1 and tested it
I hope IOS SDK 17.2 is supported.
Thanks for your response. I will try again with the latest versions of all of them.
uuisik
January 3, 2024, 4:38pm
5
Same error with the latest version.
Corona Simulator : Version 2024.3702
Xcode : Version 15.1 (15C65)
IOS SDK: 17.2 or 17.2 Metal
domain=FBSOpenApplicationServiceErrorDomain, code=1
These didn’t work:
I tried Corona Simulator: “Clear Project Sandbox”
I tried IOS Simulator: “Device” => “Erase All Content and Settings”
This is worked for me too
softwareupdate --install-rosetta --agree-to-license
1 Like