[SOLVED] iOS game crashes on startup after days of play

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
tardigrade
Prole
Posts: 3
Joined: Sat Jul 04, 2015 5:52 pm

[SOLVED] iOS game crashes on startup after days of play

Post by tardigrade »

[SOLVED: free apple dev account restricts app to 7 days of use]

Hi,
I'm working on a love2d game for PC and mobile and trying to make a stable build for iOS. I've gone through the steps with Xcode and love 0.10.2 to make an iOS build and it works great on my phone for a few days. After about a week of having the app on my phone it starts crashing on startup (white screen while opening the app and immediately closes). The game runs well on PC and android.

If I build+run from Xcode again it uploads a new build to the phone and I can't reproduce the problem for another week. I've looked into the Device Logs but cannot find logs for when I open the app (and it crashes immediately). There is a log from a while ago for love saying this:
Date/Time: 2017-03-23 17:15:32 -0400
OS Version: iPhone OS 10.0.1 (Build 14A403)
Architecture: arm64
Report Version: 19

Command: love
Path: /var/containers/Bundle/Application/2AF6D41E-C80B-4EA3-8431-35CD4E7539D9/love.app/love
Version: 0.10.1 (1.0)
Parent: launchd [1]
PID: 341

Event: wakeups
Wakeups: 45007 wakeups over the last 183 seconds (246 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds
Duration: 183.21s
Steps: 37
(I've attached the full log if that is useful)

Could it have started crashing when this log occurred and now shutdowns without spawning new logs? Is the problem actually related to 'wakeups' and how can that be fixed? Is there away to determine the cause of a crash as it happens?

If anyone has any info that would be very helpful :3
Attachments
love2d_crash_log.txt
(6.65 KiB) Downloaded 109 times
Last edited by tardigrade on Tue Apr 11, 2017 3:06 pm, edited 1 time in total.
User avatar
tardigrade
Prole
Posts: 3
Joined: Sat Jul 04, 2015 5:52 pm

Re: iOS game crashes on startup after days of play

Post by tardigrade »

I'm noticing now that that log mentions love 0.10.1 which I was using before I updated to 0.10.2. That means that I may not have a log at all for why it is crashing on startup.
bio1712
Citizen
Posts: 72
Joined: Wed Aug 19, 2015 4:13 pm
Location: Italy

Re: iOS game crashes on startup after days of play

Post by bio1712 »

Hello.
Do you have an Apple Developer paid account?
Otherwise you have to deploy your app every 7 days.
User avatar
tardigrade
Prole
Posts: 3
Joined: Sat Jul 04, 2015 5:52 pm

Re: iOS game crashes on startup after days of play

Post by tardigrade »

wow thanks bio1712! I had no idea about that requirement, it should really provide a message when this happens.
bio1712
Citizen
Posts: 72
Joined: Wed Aug 19, 2015 4:13 pm
Location: Italy

Re: [SOLVED] iOS game crashes on startup after days of play

Post by bio1712 »

Yeah but this is not a LÖVE issue, It happens with every iOS application signed with a free account.
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests