iOS Question Apple rejects my App

db0070

Active Member
Licensed User
Longtime User
I unistalled the debug app, then I tested it on my device (using hosted server) in release mode (using Ad Hoc provisional files). Then I turned my device in Airplane mode. My app did not crash - so I do not know why Apple is saying the App crashes. How do I find out what or where the crash is when I can't make it crash on my device? In the crash report they gave me 6 text files, and in all of them this is included in the reports: -

Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000181c4c2e8 0x181c2a000 + 140008
1 libsystem_pthread.dylib 0x0000000181d612f8 0x181d5e000 + 13048
2 libsystem_c.dylib 0x0000000181bbafbc 0x181b58000 + 405436
3 libc++abi.dylib 0x0000000181357068 0x181355000 + 8296
4 libc++abi.dylib 0x0000000181357210 0x181355000 + 8720
5 libobjc.A.dylib 0x0000000181380810 0x181378000 + 34832
6 libc++abi.dylib 0x000000018136f54c 0x181355000 + 107852
7 libc++abi.dylib 0x000000018136f5b8 0x181355000 + 107960
8 libdispatch.dylib 0x0000000181ab6a28 0x181ab5000 + 6696
9 libdispatch.dylib 0x0000000181abe200 0x181ab5000 + 37376
10 FrontBoardServices 0x000000018482e7f8 0x1847ee000 + 264184
11 FrontBoardServices 0x000000018482e49c 0x1847ee000 + 263324
12 FrontBoardServices 0x000000018482ea38 0x1847ee000 + 264760
13 CoreFoundation 0x00000001820df77c 0x181ff4000 + 964476
14 CoreFoundation 0x00000001820df6fc 0x181ff4000 + 964348
15 CoreFoundation 0x00000001820def84 0x181ff4000 + 962436
16 CoreFoundation 0x00000001820dcb5c 0x181ff4000 + 953180
17 CoreFoundation 0x0000000181ffcc58 0x181ff4000 + 35928
18 GraphicsServices 0x0000000183ea8f84 0x183e9e000 + 44932
19 UIKit 0x000000018b7555c4 0x18b6e2000 + 472516
20 Salat Calculator 0x0000000100e87f40 0x100e80000 + 32576
21 libdyld.dylib 0x0000000181b1c56c 0x181b1b000 + 5484
 

db0070

Active Member
Licensed User
Longtime User
Apple says:-

Guideline 2.1 - Performance - App Completeness


We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue.

Next Steps

To resolve this issue, please revise your app and test it on a device to ensure it will launch without crashing

But, as I said, I have tried on my iPhone as well as the iPad, and I cannot make it crash. I don't know what to do.
 

Attachments

  • crashLogs.zip
    171.7 KB · Views: 193
Upvote 0

db0070

Active Member
Licensed User
Longtime User
Both my iPhone 6 and iPad have the latest version of IOS version 11.2.5 and on both I have tested the app using release build, and also put my devices in flight mode
I don't have access to a Mac - I am using the hosted server option
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
I asked Apple to review again, as I could not replicate the crash. This is what they say, and I would be grateful for any help. I am not using iHtpUtils2 or iHttp. The only libraries I am using are iCore, iCustomListView, iDateutils, iHUD, iLocation, iMedia, iPhone and iStringUtils:-

Hello,

Thank you for your response. After further review, we still found that the previous 2.1 issue has not been resolved.
The app is repeatedly crashing when location module alert pops up.


Guideline 2.1 - Performance - App Completeness


We discovered the when reviewed on iPad running iOS 11.2.5 on Wi-Fi connected to an IPv6 network.
We have attached detailed crash logs to help troubleshoot this issue.

Next Steps

To resolve this issue, please revise your app and test it on a device to ensure it will launch without crashing.

Resources

For information on how to symbolicate and read a crash log, please review Tech Note TN2151 Understanding and Analyzing Application Crash Reports.
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
Yes, I have checked again all the location routines are there, and I have the two #PlistExtra location lines.
The previous version of this app is already on the App Store, and in this new version I have not changed anything in relation to location. Its frustrating, Apple says it crashes, and I cannot make it crash!
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
Yes, it was commented out. The project is exactly what I put to Apple. I think the reason I had to comment that out was because I got error when doing the build
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
Sorry, that should be in the Objects folder of the project I sent you. I’ll send it separately if not there
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
I have checked, the Archives.zip file is not there - does it get deleted? I will create it again

I remember, after Apple rejected it, I did the build again by putting the AdHoc provisional file, so I can test it again on my device locally.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I did symbolicate it. However there isn't any useful information here. It crashes while processing the message loop and it happens in the native framework.

It is probably related to the location usage. Maybe try to start the location services only after the user clicks on a button. This way you will at least be able to get more information from Apple review team.
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
I put my StartGPS routine inside a button click, and re-submitted the app. It is still rejected and I enclose the crash report logs. I also tested the app on iphone device using 4G. I have now lodged appealed to Apple. Is there anything I can do? Are others facing the same problem, or is there something in my App? Is it something to do in having the setting set to all territories?
 

Attachments

  • attachment-6499880846199914735crashlog-ACF2CD8B-EC05-41C8-B37C-A54C4C4A1822.txt
    54.6 KB · Views: 265
  • attachment-4103507515513134544crashlog-41B3632F-21F4-4C8D-8D38-241778DEFAB9.txt
    53.3 KB · Views: 223
  • attachment-6558689762517556322crashlog-7A36A971-F27F-4F2E-8C0C-12322D4850E8.txt
    56.6 KB · Views: 265
Upvote 0
Top