App rejection - Crash report says: failed to scene-create in time (badf00d) What is wrong?

后端 未结 1 984
误落风尘
误落风尘 2020-12-11 15:58

my app just got rejected by apple, and I could use some help to figure out what is wrong. The app works fine on all my devices and does not crash. The app synchronizes with

相关标签:
1条回答
  • 2020-12-11 16:36

    The issue is very simple. You just spend too much time loading your app on the splash screen and the iOS device stops your app. The reason it only happens in the review and not when you test it is because you always run it from Xcode, and when running from Xcode it won't have this behavior. If you will run your app directly from the device (by tapping its icon) you will see it will happen there as well. Assuming you spent too much time loading on that specific run.

    Edit: Also I am seeing that you are stuck on a semaphore and don't use too much CPU, which might mean you have a deadlock which stalls the app on the reviewer's device and that is why it spends too much time loading and the device stops your app. Not sure...

    Here is my devblog post if you are interested:

    http://pompidev.net/2014/11/16/ios-app-works-on-xcode-but-crash-running-from-device/

    0 讨论(0)
提交回复
热议问题