Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOS]: runtime bug #671

Open
1 task done
PenguenUmut opened this issue Jan 2, 2024 · 1 comment
Open
1 task done

[IOS]: runtime bug #671

PenguenUmut opened this issue Jan 2, 2024 · 1 comment

Comments

@PenguenUmut
Copy link

PenguenUmut commented Jan 2, 2024

Describe the bug
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?

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).

Target platform and where build was made:
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

@clang-clang-clang
Copy link
Contributor

clang-clang-clang commented Jan 31, 2024

Do you run iOS Simulator on Apple Silicon? @PenguenUmut
Currently Solar2D lack support for directly running Apps on arm64 iOS Simulator, so you can consider debug on iPhone/iPad or try using arch command to launch the x86_64 iOS Simulator on Apple Silicon.

How about use xcframework to merge binaries for "different platforms" and lipo to merge binaries for "different architectures on the same platform" to support this? @Shchvova

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants