Why does my app crash?

Hello everybody

I submitted an app to the Apple App Store but they rejected it by saying it crashed and gave me the attached crash log, but I can’t make head or tail of it.

So please help me.

Thanks.link text

PS.

My app is built for IOS and is using Game Center Achievements and LeaderBoards

And I am using this plugin to show ads : h ttps://github.com/feixuwu/UnrealEngine4-EZ-Mobile-Ads

Looking through the logs I can see thread 0 crashed. I would start searching the log for peter

And I found some clues for you to go digging.

*FrontBoardServices: [FBSScene] [ga.iuvenisstudios.PeterRun - AirPlay] Created client agent:
HangTracer: Hang detected: 1.15s
hangtracerd: peter: Hang detected 1.15s (UIKit-runloop)

hangtracerd: peter: Hang detected 1.15s (UIKit-runloop)
*

Did you test a release version of you app on a device?

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x00000001834282e8 0x183406000 + 140008
1   libsystem_pthread.dylib       	0x000000018353d2f8 0x18353a000 + 13048
2   libsystem_c.dylib             	0x0000000183396fbc 0x183334000 + 405436
3   peter                         	0x00000001017aed48 0x1010ec000 + 7089480
4   libsystem_platform.dylib      	0x0000000183537b50 0x183530000 + 31568
5   libsystem_kernel.dylib        	0x00000001834073e0 0x183406000 + 5088
6   CoreFoundation                	0x00000001838bb108 0x1837d0000 + 962824
7   CoreFoundation                	0x00000001838b8cd4 0x1837d0000 + 953556
8   CoreFoundation                	0x00000001837d8c58 0x1837d0000 + 35928
9   GraphicsServices              	0x0000000185684f84 0x18567a000 + 44932
10  UIKit                         	0x000000018cf315c4 0x18cebe000 + 472516
11  peter                         	0x000000010179400c 0x1010ec000 + 6979596
12  libdyld.dylib                 	0x00000001832f856c 0x1832f7000 + 5484

Yes I did.

Please can anyone help me?

There’s really not enough here to help out.

Might be related to this?

I used UE4.19 source

hi shukenmg, I am going to submit my app to apple in About a week and also make use of this Plugin. I am using ue4.18 and I do receive ads in my development build. I am not using remote notifications only one leaderboard for game Center. Should I be worried that the same will happen to me? Using UE4 from Epic launcher

Don’t use 4.18, there’s a bug in it that bundles a MetalDebugdevice API in the app, because of that Apple will reject your binary.

I made a game in 4.19 Called Splash The Teacher, you can play it if you want.
I didn’t have any problems with it with apple.

I hope this can help you.