CX app rejected by AppStore

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
Hi fellow game devs!

My game was rejected by the Apple team as they said it crushes on startup.

Did anyone have such a problem? It works on my IPAD and on Simulator in XCODE so not really sure what is going on... Can be related to what Mike said the app could crash if onCreate takes too long? Wondering if this is the case...

I have attached the crash logs they sent by they seem a bit useless...

Thanks!
 

Attachments

  • attachment-5666451741210431151crashlog-D7B87D34-8319-4CB4-B01D-28D6421F047A.txt
    46.4 KB · Views: 355
  • attachment-4130246320476156085crashlog-339A47FF-F6D3-48FD-BD19-40084361CF53.txt
    46.4 KB · Views: 347

York

New member
Patreon Bronze
Joined
Jul 5, 2017
Messages
24
Hey,

someone reported me that my app doesn´t run with iOS 10.3.3 . I don´t know why, but I will check this.
 
Last edited:

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
Yes, admobs
 

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
Just tested on 10.3.3 locally, still works fine.. I am wondering if this is something of concern? Took it from the logs:

2017-08-21 00:12:38.902661+1000 CerberusGame[305:17981] CGBitmapContextInfoCreate: CGColorSpace does't support output

Aug 21 00:12:38 CerberusGame[305] <Error>: CGBitmapContextInfoCreate: CGColorSpace does't support output

2017-08-21 00:12:38.902827+1000 CerberusGame[305:17981] CGContextDrawImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

Aug 21 00:12:38 CerberusGame[305] <Error>: CGContextDrawImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
 

Martin

Active member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Joined
Jun 19, 2017
Messages
334
That's totally strange especially as it runs on your side. Basically you get a native XCode project anyway so there shouldn't be anything special. Maybe it's one of those deprecated things which now deprecated finally? :D

That last exception backtrace doesn't contain anything useful unfortunately which makes it even harder to guess.

All in all it's not a crash but a signal abort which comes when an exception occured. This could happen due to wrong parameters handed over to a system lib. Could be some boundaries exception when you have a "n+1" situation where it only goes up to n... But well... that doesn't explain why it's working in the simulator.

How long does onCreate run on your side? It could be indeed something like that, where the system pulls the plug after a while.

Does your iPad run on 10.3.3 as well? Do you have latest XCode installed?
 
Last edited:

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
How long does onCreate run on your side? It could be indeed something like that, where the system pulls the plug after a while.

3-5 seconds...

Does your iPad run on 10.3.3 as well? Do you have latest XCode installed?

No, IPAD is old so 9.5.3 only... And XCode is the latest...

I will try to load resource in onUpdate and I also have an async HTTP call to my analytics backend at the beginning, will move it to some later stage as well to get some clues...
 

Martin

Active member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Joined
Jun 19, 2017
Messages
334
Oh well, 3-5 seconds is way too long for Apple. That means it will be killed. Most probably the reason for that abort. A responding app is a must for Apple.
 

blockypixels

New member
Joined
Sep 12, 2017
Messages
31
Surely Apple would have given a reason for rejecting the App or how do you know what needs fixing ? Do they just turn you away until and you give up and go to horrible droids ?
 

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
They attached the logs which dont help me unfortunately, need to do another attempt once my powers are restored...
 
Top Bottom