-
Notifications
You must be signed in to change notification settings - Fork 437
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 app crashing on startup #2125
Comments
Do you have a crash callstack? I don't think that log file shows what went wrong. |
I don't know how to get those, but it opened for a split second with a white screen, then closed. I just copied the game LÖVE file (named game.love) into the ipa file Payload folder |
I don't think this is a valid workflow, or at least I've never seen that before. |
I expect iOS apps are probably validated to make sure they aren't tampered with after creation, which you might be hitting. And/or the place you're adding it to isn't valid. Either way you'll probably need to make your setup add the game as a resource before building. |
It's not the tamper protection, since I am leaving the IPA unsigned, then adding the LÖVE file and signing with an enterprise certificate I know works. I'll try adding the LÖVE file as a proper Xcode resource, then retesting. |
Did that end up working for you? |
I can't seem to run it either. I am using personal team, and I am getting this in traceback:
|
The game can detect files only in folder with name of identity. Is this by design? |
The restriction shown at the top of the love.filesystem wiki page? Yes – also on mobile it's even more restrictive than desktop because the OS sandboxes the app to prevent access to other apps even if APIs would otherwise allow that. |
Can I somehow access the Documents directory of app in Files app? I am trying to port VNDS-LOVE to iOS, and putting novels into deep directory seems kinda weird. |
You can't directly access the Documents directory of other apps such as the Files app, but in love 12 you can access your own app's Documents directory via love.filesystem.mountCommonPath. That being said, the discord server or forums or subreddit are better places to ask questions and get support. The issue tracker is just meant for bugs and feature requests for love's source code. |
Should I make a PR with a fix for love app not starting? I am not particularly sure thats a good fix though. |
I plan to test it out myself later today, but I think the embed change makes sense at first glance. |
Also the link to libraries on index page doesn't include SDL3, I had to clone apple-dependencies repo. |
love 12 isn't released yet, so documentation and links talking about released versions aren't relevant yet. |
I compiled the current version of love to iOS on iOS 18.1, but it crashes on startup with these logs
Game Lua code, which works on the windows version
The text was updated successfully, but these errors were encountered: