• Hello everyone,

    We're happy to announce that our forum is back online! We needed to take some time off to discuss and decide on how to handle sensitive topics in our community.

    The team has posted an in-depth comment regarding a recent incident and our stance on politics and sexuality in our forum. We also added a dedicated paragraph about this in the forum guidelines. This is part of our commitment to maintain a welcoming and inclusive environment for all our users. Your understanding and continued support in building a creative and respectful community are highly appreciated.

    Thank you, the CX Dev-Team

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: 413
  • attachment-4130246320476156085crashlog-339A47FF-F6D3-48FD-BD19-40084361CF53.txt
    46.4 KB · Views: 398
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:
Yes, admobs
 
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.
 
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:
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...
 
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.
 
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 ?
 
They attached the logs which dont help me unfortunately, need to do another attempt once my powers are restored...
 
Back
Top Bottom