App freezes on splash screen - From Apple
So I am in the process of submitting my app to apple. Apparently apple rejected the app because the app freezes on the splash screen, but I have never seen this happen on my device, simulator or any of the other devices I have used. Any ideas? This is on IOS 5.0.1 and latest SDK.
13 Answers
-
Accepted Answer
I suggest you use TestFlight and send your app to a fellow developer to test it on his/her device.
-
Did they give you a crash log? If not, it might be worth exploring the integration of TestFlight which, supposedly, will capture crash events for you. I'm in the process of doing this myself. Incidentally, how long did it take before Apple reviewed your app after uploading it to them?
-
Apple hasn't given me a crash log, but I just requested one. I don't know how its possible for them to have it freeze on the splash screen when it works fine on the same IOS version on all my devices and simulator. Has this ever happened before to others?
-
Any other ideas on this one guys? According to apple they say since it doesnt crash they cant give me a crash log. Apparently it only freezes on the splash screen and thats it. Any ideas would be helpful. thanks
-
Thanks I was able to resolve this issue.
-
Can you share how did you solve the problem?
-
Dear Devesh Patel,
I got the same issue. How you solve the problem? -
This is happening to me as well - 6 developers tested for me on TestFlight, all without a problem. The client has tested the app all without problems, and yet Apple says it freezes on the splash screen. They also say that there's no crash logs available.
Only thing I can think of is there's some Appcelerator code that is causing the app to crash/freeze but only when built with an Appstore profile.
If anyone has any suggestions I'm wide open..
-
OK well I had a "similar" experience that may shed be of help…but then again:)
As a note I always move out of Titanium and run the build through Xcode.
An app I was looking at did the same thing of freezing on start up. However, only when doing a release build did this occur. Looking in the output it seemed to freak on pngcrush not being able to handle some images in my app. This never occurred for a dev build at all. I assume because validation was only set for release.
In the end I disabled pngcrush (as it seemed to be quite random in regards to the images it took issue with, picking out ones I had reserved and optimised as much as I could etc) and it built fine.
Obviously my case is very specific to me:) But if you are not building via Xcode it may well be worth it just to see if you notice any issues during that process.
-
I think I know why this happens. The App tries to contact Appcelerator servers for statistics and if it can not connect it sometimes waits forever. Just disable the statistics option and try again. :)
in tiapp.xml set this
<analytics>false</analytics>
-
Does anyone have a final answer to this problem? I am having the exact same issue with apple rejecting my app. I have submitted 5 times now and it is still not resolved regardless of what code changes I seem to make.
-
Hi Davesh,
Go to Tiaap.xml file and make the analytical tag value false it will solve your issue.<analytics>false</analytics>
-
Hi All,
I had this problem and it turned out to be an build-level bug to do with Snow Leopard. I ended up getting some guys at Appcelerator to look into it and the fix should be coming in a new version (I hope).
Basically, if you're building with Snow Leopard and using the newer versions of the SDK there is a module referencing bug when your application is built for Distribution that causes an infinite loop in the main thread. It doesn't affect any of your local builds, hence the reason you can't replicate the issue and Apple can.
Until the bug is fixed (I wish I had details for you but it was in Twitter DM's and they're deleted) the only way I found to get around this was to upgrade to OSX Lion.