[SOLVED] iOS game crashes on startup after days of play
Posted: Mon Apr 10, 2017 6:27 pm
[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:
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
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:
(I've attached the full log if that is useful)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
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