Discussion Forums  >  Crashes, Memory Warnings

Replies: 8    Views: 118

LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
10/29/12 06:28 AM (11 years ago)

App freezes after refresh (AppStore approved)

Hey there, I uploaded my app to the apple appstore, got approval and downloaded it to my device. As soon as I press the refresh button on my home screen, everything freezes... This was not the case at my development and testing stage at all. As I try it on the simulator now, it does exactly the same, it freezes right away. Funny enough, if I change/add anything in my selfhosted control panel, these will show in the app, but just cant get further then the frozen home screen. The home screen is a menu, the layout is non tabbed. Anyone an idea how this can happen?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
10/29/12 06:32 AM (11 years ago)
no errors in the console either, just ends like this as every app: BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2012-10-29 14:22:57.773 bkhstb[26578:c07] BT_locationManager: didUpdateToLocation 2012-10-29 14:22:58.773 bkhstb[26578:c07] BT_locationManager: didUpdateToLocation 2012-10-29 14:22:59.773 bkhstb[26578:c07] BT_locationManager: didUpdateToLocation 2012-10-29 14:23:00.774 bkhstb[26578:c07] BT_locationManager: didUpdateToLocation 2012-10-29 14:23:01.775 bkhstb[26578:c07] BT_locationManager: didUpdateToLocation 2012-10-29 14:23:02.774 bkhstb[26578:c07] BT_locationManager: didUpdateToLocation 2012-10-29 14:23:03.775 bkhstb[26578:c07] BT_locationManager: didUpdateToLocation 2012-10-29 14:23:04.776 bkhstb[26578:c07] BT_locationManager: didUpdateToLocation 2012-10-29 14:23:05.775 bkhstb[26578:c07] BT_locationManager: didUpdateToLocation
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
10/29/12 08:16 AM (11 years ago)
Well kinda solved this now. It seems that the home screen was searching for a splash screen and could not find the screen. I never added a splash screen and never entered a value in the theme part so this is very strange. Very strange too, that the whole app freezes as soon as a splash screen is not found. Hope this will help if anyone has this problem in the future.
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
10/29/12 09:17 AM (11 years ago)
Hi LeonG, Look in layout in your control panel and make sure your home page matches. Just an idea. LA
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
10/29/12 09:25 AM (11 years ago)
Hey LA, as already mentioned, the problem is solved for me. Still think this is a BT Bug though, but we will find out as soon as anyone else has this problem ^^
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
10/29/12 09:27 AM (11 years ago)
Hi @LeonG, Sorry and I had same problem also awhile back LA
 
pplin
Aspiring developer
Profile
Posts: 2
Reg: Oct 02, 2011
Madrid
2,820
like
11/26/12 04:53 AM (11 years ago)
The same happend to me cause and it was resolved creating a new splash screen, everything works again. Thanks so much.
 
pkdeveloper
Code is Art
Profile
Posts: 29
Reg: May 16, 2012
Washington, DC
4,640
like
04/10/13 09:36 PM (11 years ago)
Hey LeonG, hope you are doing well. I am having the same problem you had. I have had so much trouble with the damn splash screen that I just got rid of it. Now, I can't refresh the app without it freezing. I have tried everything I can think of. I have deleted splash completely from the project but it keeps freezing. I also created a new theme and used that theme instead of the older one and that didn't work either. Exactly how did you resolve this problem? Can you give more detail? Thoughts?
 
pkdeveloper
Code is Art
Profile
Posts: 29
Reg: May 16, 2012
Washington, DC
4,640
like
04/11/13 08:15 PM (11 years ago)
I figured this out. If someone else gets hung up on it, you need to delete the files in your images folder which have "@2x". I had an image that was called [email protected]. This was causing the problem. I just had to delete. These are NOT the default images! Keep those. You will need those to submit your app.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.