App Scanner crashing on uploading the app file - ios

I am facing issue with the private apis used in my application.So,I found that App Scanner application is a good tool for scanning those kind of issues.So i have installed it from here .When trying to test my application it crashes giving me following crash report.
Process: App Scanner [1951]
Path: /Users/USER/Downloads/*/App Scanner.app/Contents/MacOS/App Scanner
Identifier: com.chimpstudios.appscanner
Version: 1.4 (1.4.1)
Code Type: X86-64 (Native)
Parent Process: launchd [137]
Date/Time: 2013-06-18 12:28:57.620 +0530
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Interval Since Last Report: 571103 sec
Crashes Since Last Report: 13
Per-App Interval Since Last Report: 938 sec
Per-App Crashes Since Last Report: 7
Anonymous UUID: EC833868-1E25-4F4F-BC83-52C9B937E8A7
Crashed Thread: 8
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
objc[1951]: garbage collection is OFF
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteData subdataWithRange:]: range {1651465984, 1633641322} exceeds data length 4295932'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff92809f56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff96085d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff92809d8a +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff92809d14 +[NSException raise:format:] + 116
4 Foundation 0x00007fff946b9a4b -[NSData(NSData) subdataWithRange:] + 291
5 App Scanner 0x000000010000376c App Scanner + 14188
6 Foundation 0x00007fff9470a72a -[NSThread main] + 68
7 Foundation 0x00007fff9470a6a2 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff984308bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff98433b75 thread_start + 13
)
terminate called throwing an exception
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9854667a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98545d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff9279650c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff9279ec74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff9279e486 CFRunLoopRunSpecific + 230
5 com.apple.HIToolbox 0x00007fff965892bf RunCurrentEventLoopInMode + 277
6 com.apple.HIToolbox 0x00007fff9659056d ReceiveNextEventCommon + 355
7 com.apple.HIToolbox 0x00007fff965903fa BlockUntilNextEventMatchingListInMode + 62
8 com.apple.AppKit 0x00007fff992a1779 _DPSNextEvent + 659
9 com.apple.AppKit 0x00007fff992a107d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
10 com.apple.AppKit 0x00007fff9929d9b9 -[NSApplication run] + 470
11 com.apple.AppKit 0x00007fff99519eac NSApplicationMain + 867
12 com.chimpstudios.appscanner 0x0000000100001074 0x100000000 + 4212
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff985487e6 kevent + 10
1 libdispatch.dylib 0x00007fff92724786 _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff92723316 _dispatch_mgr_thread + 54
Thread 2:: WebCore: LocalStorage
0 libsystem_kernel.dylib 0x00007fff98547bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff98434274 _pthread_cond_wait + 840
2 com.apple.JavaScriptCore 0x00007fff93546a60 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 64
3 com.apple.WebCore 0x00007fff8efcdf9a WTF::MessageQueue<WebCore::LocalStorageTask>::waitForMessage() + 132
4 com.apple.WebCore 0x00007fff8efcdef3 WebCore::LocalStorageThread::threadEntryPoint() + 99
5 com.apple.WebCore 0x00007fff8efcde3b WebCore::LocalStorageThread::threadEntryPointCallback(void*) + 9
6 libsystem_c.dylib 0x00007fff984308bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff98433b75 thread_start + 13
Can anybody let me know what's the issue as it is not crashing in any of the device nor in the simulator?

Related

React Native / iOS TestFlight: instant crash on start

Thats my first app I'm trying to deploy. When I test it with TestFlight it crashed immediately. The app works fine for android and iOS on simulator. I also tested the release apk for android successfully.
Does someone understands what the following crash log means?
The App was built with React-Native.
Incident Identifier: 1144C002-DE4C-41AD-A6AF-8F7C8A760A7E
Beta Identifier: 839379BA-3B5B-4047-9CA8-A231CCD36128
Hardware Model: iPhone11,2
Process: bartenderrai [880]
Path: /private/var/containers/Bundle/Application/E1BE6D04-1553-4EB8-A171-67B6D1181D2A/bartenderrai.app/bartenderrai
Identifier: *****
Version: 1.2 (1.0)
AppStoreTools: 10B61
AppVariant: 1:iPhone11,2:12
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: ***** [689]
Date/Time: 2018-11-10 21:09:41.1513 +0100
Launch Time: 2018-11-10 21:09:40.8645 +0100
OS Version: iPhone OS 12.1 (16B92)
Baseband Version: 1.01.30
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 3
Last Exception Backtrace:
0 CoreFoundation 0x22f836f2c __exceptionPreprocess + 232 (NSException.m:172)
1 libobjc.A.dylib 0x22ea34284 objc_exception_throw + 60 (objc-exception.mm:557)
2 bartenderrai 0x102c8d40c RCTFatal + 448 (RCTAssert.m:132)
3 bartenderrai 0x102c8aed4 -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 492 (RCTExceptionsManager.m:58)
4 CoreFoundation 0x22f83e8b4 __invoking___ + 148
5 CoreFoundation 0x22f717538 -[NSInvocation invoke] + 308 (NSForwarding.m:3052)
6 CoreFoundation 0x22f71816c -[NSInvocation invokeWithTarget:] + 64 (NSForwarding.m:3123)
7 bartenderrai 0x102ca17d0 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 492 (RCTModuleMethod.mm:544)
8 bartenderrai 0x102ce5c90 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 248 (RCTNativeModule.mm:99)
9 bartenderrai 0x102ce59f0 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 88 (RCTNativeModule.mm:71)
10 libdispatch.dylib 0x22f23bd58 _dispatch_call_block_and_release + 32 (init.c:1372)
11 libdispatch.dylib 0x22f23d2f0 _dispatch_client_callout + 20 (object.m:511)
12 libdispatch.dylib 0x22f2446e0 _dispatch_lane_serial_drain + 552 (inline_internal.h:2441)
13 libdispatch.dylib 0x22f245228 _dispatch_lane_invoke + 368 (inline_internal.h:1808)
14 libdispatch.dylib 0x22f24d508 _dispatch_workloop_worker_thread + 588 (queue.c:5889)
15 libsystem_pthread.dylib 0x22f43cb20 _pthread_wqthread + 316 (pthread.c:2363)
16 libsystem_pthread.dylib 0x22f442dd4 start_wqthread + 4
Thread 0 name:
Thread 0:
0 libsystem_kernel.dylib 0x000000022f3b8a68 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000022f3b7f24 mach_msg + 76 (mach_msg.c:103)
2 CoreFoundation 0x000000022f7c506c __CFRunLoopServiceMachPort + 240 (CFRunLoop.c:2615)
3 CoreFoundation 0x000000022f7bfd08 __CFRunLoopRun + 1372 (CFRunLoop.c:2971)
4 CoreFoundation 0x000000022f7bf494 CFRunLoopRunSpecific + 452 (CFRunLoop.c:3247)
5 GraphicsServices 0x0000000231a72be8 GSEventRunModal + 104 (GSEvent.c:2245)
6 UIKitCore 0x000000025d3ce68c UIApplicationMain + 216 (UIApplication.m:4347)
7 bartenderrai 0x0000000102c321c8 main + 88 (main.m:14)
8 libdyld.dylib 0x000000022f275050 start + 4
Thread 1:
0 libsystem_pthread.dylib 0x000000022f442dd0 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x000000022f442dd0 start_wqthread + 0
Thread 3 Crashed:
0 libsystem_kernel.dylib 0x000000022f3c40e4 __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000022f43bb50 pthread_kill + 300 (pthread.c:1492)
2 libsystem_c.dylib 0x000000022f31bfcc abort + 144 (abort.c:94)
3 libc++abi.dylib 0x000000022ea1b818 abort_message + 136 (abort_message.cpp:75)
4 libc++abi.dylib 0x000000022ea1b9d8 default_terminate_handler() + 316 (cxa_default_handlers.cpp:68)
5 libobjc.A.dylib 0x000000022ea346c8 _objc_terminate() + 124 (objc-exception.mm:693)
6 libc++abi.dylib 0x000000022ea282d0 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:66)
7 libc++abi.dylib 0x000000022ea28344 std::terminate() + 60 (cxa_handlers.cpp:97)
8 libdispatch.dylib 0x000000022f23d304 _dispatch_client_callout + 40 (object.m:514)
9 libdispatch.dylib 0x000000022f2446e0 _dispatch_lane_serial_drain + 552 (inline_internal.h:2441)
10 libdispatch.dylib 0x000000022f245228 _dispatch_lane_invoke + 368 (inline_internal.h:1808)
11 libdispatch.dylib 0x000000022f24d508 _dispatch_workloop_worker_thread + 588 (queue.c:5889)
12 libsystem_pthread.dylib 0x000000022f43cb20 _pthread_wqthread + 316 (pthread.c:2363)
13 libsystem_pthread.dylib 0x000000022f442dd4 start_wqthread + 4
Clean build your project and make sure to select Release in edit scheme menu, if you have not done that then I guess that is the problem
Clean your build folder and restart your Xcode. Also, make sure that you have generated your Provisioning profiles for Distribution and not iOS Development. The development will be for local builds and for Testflight you will need distribution profiles. You can create them here: https://developer.apple.com/account/resources/profiles/list and import them to your project. You can switch from Automatically Sign project to Manual signing and then select your correct provisioning profile.

Understanding Xcode Device Log Crashes

I am a relatively new developer and would like some assistance. My app does not crash when I have it hooked up via Xcode. However, when I try to run it again the next day (launching from my phone), it crashes when trying to open it. I am currently debugging the situation and am unsure how to proceed.
I'm having troubles with understanding how a device log crashes work. I was able to get to my device's crashes in Xcode via Window>Device and Simulators>View Device Logs>All Logs. I am able to understand that having an Exception type of "EXC_BREAKPOINT (SIGTRAP)" means that I force unwrap a nil value. I am unsure how through looking at the log (or any other method) that I can locate in my code where this is happening. How can I locate in all my files where this is causing a crash?
Date/Time: 2018-04-05 14:33:48.7121 -0500
Launch Time: 2018-04-05 14:33:47.8058 -0500
OS Version: iPhone OS 11.3 (15E216)
Baseband Version: 1.04.16
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000104177ff8
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 1
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000180d07e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000180d07c80 mach_msg + 72
2 CoreFoundation 0x000000018124ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000181248908 __CFRunLoopRun + 1568
4 CoreFoundation 0x0000000181168da8 CFRunLoopRunSpecific + 552
5 GraphicsServices 0x000000018314b020 GSEventRunModal + 100
6 UIKit 0x000000018b14978c UIApplicationMain + 236
7 &me 0x0000000102cd00e4 0x102bac000 + 1196260
8 libdyld.dylib 0x0000000180bf9fc0 start + 4
Thread 1 name: Dispatch queue: NSOperationQueue 0x1d4224f80 (QOS: UNSPECIFIED)
Thread 1 Crashed:
0 libswiftCore.dylib 0x0000000104177ff8 0x103fd0000 + 1736696
1 libswiftCore.dylib 0x0000000104177ff8 0x103fd0000 + 1736696
2 libswiftCore.dylib 0x00000001040182b8 0x103fd0000 + 295608
3 &me 0x0000000102c9576c 0x102bac000 + 956268
4 &me 0x0000000102c95cbc 0x102bac000 + 957628
5 CFNetwork 0x0000000181831c1c __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 32
6 CFNetwork 0x000000018184a93c __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 152
7 Foundation 0x0000000181ccae88 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
8 Foundation 0x0000000181c0c8d0 -[NSBlockOperation main] + 72
9 Foundation 0x0000000181c0bcac -[__NSOperationInternal _start:] + 848
10 libdispatch.dylib 0x0000000180b94ae4 _dispatch_client_callout + 16
11 libdispatch.dylib 0x0000000180bd0b0c _dispatch_block_invoke_direct$VARIANT$armv81 + 216
12 libdispatch.dylib 0x0000000180b94ae4 _dispatch_client_callout + 16
13 libdispatch.dylib 0x0000000180bd0b0c _dispatch_block_invoke_direct$VARIANT$armv81 + 216
14 libdispatch.dylib 0x0000000180bd0a00 dispatch_block_perform$VARIANT$armv81 + 104
15 Foundation 0x0000000181ccc750 __NSOQSchedule_f + 376
16 libdispatch.dylib 0x0000000180b94ae4 _dispatch_client_callout + 16
17 libdispatch.dylib 0x0000000180bd17a8 _dispatch_continuation_pop$VARIANT$armv81 + 416
18 libdispatch.dylib 0x0000000180bd0180 _dispatch_async_redirect_invoke$VARIANT$armv81 + 596
19 libdispatch.dylib 0x0000000180bd63a4 _dispatch_root_queue_drain + 592
20 libdispatch.dylib 0x0000000180bd60f0 _dispatch_worker_thread3 + 112
21 libsystem_pthread.dylib 0x0000000180ec7fac _pthread_wqthread + 1176
22 libsystem_pthread.dylib 0x0000000180ec7b08 start_wqthread + 4
To understand the crash log you can go through the following apple documentation. This is the best explanation I found so far.
https://developer.apple.com/library/content/technotes/tn2151/_index.html

A very interesting crash log with Exception Type:"EXC_CRASH (SIGSEGV)"

  Firstly, the desymbolicated crash log is at the bottom. I cannot post all the content out of privacy reason. However the first 3 threads log is enough I thought, if you really want that please leave a message.
  And here is the thing, depending on this article Understanding iOS Exception Types | 5Neo.Be5Neo.Be, the mach exception type -- EXC_CRASH -- is not usual following with the C signal SIGSEGV (which means access an address you don't own).
  So I want to know what reason or when will EXC_CRASH (SIGSEGV) appear?
  Second question is if this crash is actually trigger by Thread 0 as the log said. And if it's ture, then what does
"__NSThreadPerformPerform"
and
"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__"
means?
  What action is system doing? By the way, __NSThreadPerformPerform will appear when App call "performSelector:" method according to this answer -- iphone - SIGABRT crash on CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION - Stack Overflow.
Thanks.
-- Crash log is here: --
{"name":"XXXApp","bug_type":"109","os_version":"iPhone OS 7.1.1 (11D201)","bundleID":"com.xxx","version":"6.7.1.0 (6.7.1)","app_name":"XXXApp"}
Incident Identifier: EC2DC883-C0DB-4FD6-81FB-237626598366
CrashReporter Key: d5c091bc35732df06fcaf41e5786833159b04ea5
Hardware Model: iPhone5,2
Process: XXXApp [1912]
Path: /var/mobile/Applications/4E3E131C-5847-4B61-A0E0-D350830C1693/BaiduBoxApp.app/XXXApp
Identifier: com.xxx
Version: 6.7.1.0 (6.7.1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-08-28 00:37:32.658 +0800
OS Version: iOS 7.1.1 (11D201)
Report Version: 104
Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x39c636d8 __kill + 8
1 Foundation 0x2f901c1e __NSThreadPerformPerform + 382
2 CoreFoundation 0x2eee3fec __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
3 CoreFoundation 0x2eee34b2 __CFRunLoopDoSources0 + 202
4 CoreFoundation 0x2eee1ca2 __CFRunLoopRun + 626
5 CoreFoundation 0x2ee4c764 CFRunLoopRunSpecific + 520
6 CoreFoundation 0x2ee4c546 CFRunLoopRunInMode + 102
7 GraphicsServices 0x33db96ce GSEventRunModal + 134
8 UIKit 0x317ab88c UIApplicationMain + 1132
9 BaiduBoxApp 0x0006d13e main (main.m:17)
10 libdyld.dylib 0x39badab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x39c51804 kevent64 + 24
1 libdispatch.dylib 0x39ba0050 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x39b9a2de _dispatch_mgr_thread + 34
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x39c51a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39c51848 mach_msg + 36
2 CoreFoundation 0x2eee3624 __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2eee1d44 __CFRunLoopRun + 788
4 CoreFoundation 0x2ee4c764 CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2ee4c546 CFRunLoopRunInMode + 102
6 Foundation 0x2f88c23c +[NSURLConnection(Loader) _resourceLoadLoop:] + 316
7 Foundation 0x2f901a0a __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x39ccb956 _pthread_body + 138
9 libsystem_pthread.dylib 0x39ccb8c6 _pthread_start + 98
10 libsystem_pthread.dylib 0x39cc9ae4 thread_start + 4
Thread 3 name: com.apple.CFSocket.private
Thread 3:
0 libsystem_kernel.dylib 0x39c64434 __select + 20
1 CoreFoundation 0x2eee751e __CFSocketManager + 482
2 libsystem_pthread.dylib 0x39ccb956 _pthread_body + 138
3 libsystem_pthread.dylib 0x39ccb8c6 _pthread_start + 98
4 libsystem_pthread.dylib 0x39cc9ae4 thread_start + 4
...

Resolving iOS app crash in distribution build

I have submitted an app to the app store, and after the review, the app has been rejected. This is the explanation sent by Apple:
Specifically, after downloading the latest version submitted for review, Version 2.1, we found that when the user taps on the map icon, the app still crashes.
This occurred when your app was used:
- Offline
- On Wi-Fi
- On cellular network
I am not able to detect the issue then during development and testing the app on the emulator and on a real device, the app doesn't crash.
This is the first part of the crash report:
{"app_name":"mujergrancanaria","app_version":"2.0","bundleID":"com.solinpromex.casadelajuventud","adam_id":946142349,"os_version":"iPhone OS 8.1 (12B410)","slice_uuid":"601d3ebb-53d8-39ff-8766-badaadb4f776","share_with_app_devs":false,"build_version":"2.1","is_first_party":false,"bug_type":"109","name":"mujergrancanaria"}
Incident Identifier: 02C4277A-3657-4CFF-9A5D-8A3B34E1ACE4
CrashReporter Key: 34094a2f9cf3e1e29a81d365a85a102af46a1edc
Hardware Model: xxx
Process: mujergrancanaria [4557]
Path: /private/var/mobile/Containers/Bundle/Application/67EFD456-E179-4049-B1A6-FBBF6D6144E4/mujergrancanaria.app/mujergrancanaria
Identifier: com.solinpromex.casadelajuventud
Version: 2.1 (2.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2015-01-09 14:46:52.869 -0800
Launch Time: 2015-01-09 14:46:38.934 -0800
OS Version: iOS 8.1 (12B410)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
(0x186b85e48 0x1977d40e4 0x186b8cf14 0x186b89cc4 0x186a8ec1c 0x10025f1bc 0x10025dc38 0x10025d03c 0x10025ced4 0x1000eb240 0x18b334e84 0x18b334b94 0x18b4d7ad4 0x18b3e9310 0x18b3e90dc 0x18b3e905c 0x18b331a2c 0x18ac89994 0x18ac84564 0x18ac84408 0x18ac83c08 0x18ac8398c 0x18b333948 0x186b3e0e8 0x186b3d38c 0x186b3b43c 0x186a691f4 0x18fbe35a4 0x18b39a784 0x1000d2a40 0x197e42a08)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000197f5b270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000197ff9224 pthread_kill + 108
2 libsystem_c.dylib 0x0000000197ed2b14 abort + 108
3 libc++abi.dylib 0x0000000196fa5414 abort_message + 112
4 libc++abi.dylib 0x0000000196fc4b88 default_terminate_handler() + 300
5 libobjc.A.dylib 0x00000001977d43bc _objc_terminate() + 124
6 libc++abi.dylib 0x0000000196fc1bb0 std::__terminate(void (*)()) + 12
7 libc++abi.dylib 0x0000000196fc1474 __cxa_throw + 132
8 libobjc.A.dylib 0x00000001977d4200 objc_exception_throw + 344
9 CoreFoundation 0x0000000186b8cf10 -[NSObject(NSObject) doesNotRecognizeSelector:] + 216
10 CoreFoundation 0x0000000186b89cc0 ___forwarding___ + 924
11 CoreFoundation 0x0000000186a8ec18 _CF_forwarding_prep_0 + 88
12 mujergrancanaria 0x000000010025f1b8 0x1000ac000 + 1782200
13 mujergrancanaria 0x000000010025dc34 0x1000ac000 + 1776692
14 mujergrancanaria 0x000000010025d038 0x1000ac000 + 1773624
15 mujergrancanaria 0x000000010025ced0 0x1000ac000 + 1773264
16 mujergrancanaria 0x00000001000eb23c 0x1000ac000 + 258620
17 UIKit 0x000000018b334e80 -[UIViewController loadViewIfRequired] + 688
18 UIKit 0x000000018b334b90 -[UIViewController view] + 28
19 UIKit 0x000000018b4d7ad0 -[UINavigationController _startCustomTransition:] + 708
20 UIKit 0x000000018b3e930c -[UINavigationController _startDeferredTransitionIfNeeded:] + 464
21 UIKit 0x000000018b3e90d8 -[UINavigationController __viewWillLayoutSubviews] + 52
22 UIKit 0x000000018b3e9058 -[UILayoutContainerView layoutSubviews] + 196
23 UIKit 0x000000018b331a28 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 568
24 QuartzCore 0x000000018ac89990 -[CALayer layoutSublayers] + 164
25 QuartzCore 0x000000018ac84560 CA::Layer::layout_if_needed(CA::Transaction*) + 316
26 QuartzCore 0x000000018ac84404 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 28
27 QuartzCore 0x000000018ac83c04 CA::Context::commit_transaction(CA::Transaction*) + 272
28 QuartzCore 0x000000018ac83988 CA::Transaction::commit() + 432
29 UIKit 0x000000018b333944 _UIApplicationHandleEventQueue + 1696
30 CoreFoundation 0x0000000186b3e0e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 20
31 CoreFoundation 0x0000000186b3d388 __CFRunLoopDoSources0 + 260
32 CoreFoundation 0x0000000186b3b438 __CFRunLoopRun + 708
33 CoreFoundation 0x0000000186a691f0 CFRunLoopRunSpecific + 392
34 GraphicsServices 0x000000018fbe35a0 GSEventRunModal + 164
35 UIKit 0x000000018b39a780 UIApplicationMain + 1484
36 mujergrancanaria 0x00000001000d2a3c 0x1000ac000 + 158268
37 libdyld.dylib 0x0000000197e42a04 start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000197f40c94 kevent64 + 8
1 libdispatch.dylib 0x0000000197e2897c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x0000000197e1b3b0 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x0000000197f5bc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197ff5390 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000197ff4fa4 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x0000000197f5bc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197ff5390 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000197ff4fa4 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x0000000197f5bc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197ff5390 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000197ff4fa4 start_wqthread + 0
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x0000000197f40e7c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000197f40cf4 mach_msg + 68
2 CoreFoundation 0x0000000186b3d5c8 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000186b3b51c __CFRunLoopRun + 936
4 CoreFoundation 0x0000000186a691f0 CFRunLoopRunSpecific + 392
5 CFNetwork 0x000000018656d6a0 +[NSURLConnection(Loader) _resourceLoadLoop:] + 436
6 Foundation 0x0000000187a55c08 __NSThread__main__ + 1068
7 libsystem_pthread.dylib 0x0000000197ff7e7c _pthread_body + 160
8 libsystem_pthread.dylib 0x0000000197ff7dd8 _pthread_start + 156
9 libsystem_pthread.dylib 0x0000000197ff4fac thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x0000000197f5bc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197ff5390 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000197ff4fa4 start_wqthread + 0
Thread 7 name: com.apple.CFSocket.private
Thread 7:
0 libsystem_kernel.dylib 0x0000000197f5b498 __select + 8
1 CoreFoundation 0x0000000186b42fc0 __CFSocketManager + 656
2 libsystem_pthread.dylib 0x0000000197ff7e7c _pthread_body + 160
3 libsystem_pthread.dylib 0x0000000197ff7dd8 _pthread_start + 156
4 libsystem_pthread.dylib 0x0000000197ff4fac thread_start + 0
Thread 8:
0 libsystem_kernel.dylib 0x0000000197f5bc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197ff5390 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000197ff4fa4 start_wqthread + 0
I am unable to find where to begin to find out the crash source. Please, any clue is welcome.
You are going to want to symbolicate your crash log. In your code this is where the crash is happening
12 mujergrancanaria 0x000000010025f1b8 0x1000ac000 + 1782200
There are a number of posts about how to symbolicate this so that you can know which file and line that crash is happening on. Generally all you need to do is open Xcode, then open Devices (from the menu), then select a real device, click on view device logs, and then drag your log into the list. Xcode will automatically find the binary and dsym file from when you created the archive (assuming this is the same machine you build the archive on). If that doesn't work look at this Symbolicating iPhone App Crash Reports
Ok so, it's map related and review team are in Palo Alto California I think (correct me if I'm wrong).
So I would definitly start by testing with location set in simulator in Palo Alto.
Next, the log.
A big part is redacted
12 mujergrancanaria 0x000000010025f1b8 0x1000ac000 + 1782200
13 mujergrancanaria 0x000000010025dc34 0x1000ac000 + 1776692
14 mujergrancanaria 0x000000010025d038 0x1000ac000 + 1773624
15 mujergrancanaria 0x000000010025ced0 0x1000ac000 + 1773264
16 mujergrancanaria 0x00000001000eb23c 0x1000ac000 + 258620
Meaning you need to put it in Xcode or another tool where you can use the DSym (symbole file created during archiving of the app) to exploit it.
Without it what I can tell you is that this line in the stack :
-[NSObject(NSObject) doesNotRecognizeSelector:]
Means your are calling a non existing method on an object.
The app crash reason was a missing flag in the Other Linker Flags section. The app includes the Google Maps SDK for iOS, and the flag -ObjC is needed. I had it only at the Debug Build section. Adding the flag -ObjC also in the Release Build section solves the problem, and the app doesn't crash any more when launching the Distribution file...

Is there any helpful information in this crash report?

I am trying to identify the cause of a crash (iOS app), but the symbolicated crash report only points to my main method.
8 WxT 0x00002730 main (main.m:14)
9 WxT 0x000026e8 start + 32
Is there anything here that could help me track down the issue, or is this as useless as it appears to me? What does the "start + 32" tell me?
N.B. my app is WxT, and it only referenced a few times in the report. I've highlighted each occurence with a double asterisk (**).
Incident Identifier: 3A6D2AD3-0E9C-41B6-9EA6-4F05EF72B4E0
CrashReporter Key: 2b1b03e6298d7d5bebcb681de363022e7b319df1
Hardware Model: iPad3,2
**Process: WxT [3214]**
**Path: /var/mobile/Applications/613A46E1-5CDC-4A1F-85C5-8D29ACDA289C/WxT.app/WxT**
**Identifier: WxT**
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-05-23 15:21:02.300 -0500
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: 00000020
Exception Codes: 0x8badf00d
Highlighted Thread: 3
Application Specific Information:
**WxT[3214] has active assertions beyond permitted time:**
{(
**<SBProcessAssertion: 0x14005c20> identifier: Suspending process: WxT[3214] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:23 preventSuspend preventThrottleDownCPU preventThrottleDownUI**
)}
Elapsed total CPU time (seconds): -4288.787 (user -4288.787, system 0.000), 100% CPU
Elapsed application CPU time (seconds): 0.061, 0% CPU
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x35f83004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x35f831fa mach_msg + 50
2 CoreFoundation 0x30b843ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x30b830ea __CFRunLoopRun + 818
4 CoreFoundation 0x30b0649e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x30b06366 CFRunLoopRunInMode + 98
6 GraphicsServices 0x36eca432 GSEventRunModal + 130
7 UIKit 0x327e6cce UIApplicationMain + 1074
**8 WxT 0x00002730 main (main.m:14)**
**9 WxT 0x000026e8 start + 32**
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x35f833a8 kevent + 24
1 libdispatch.dylib 0x355f5f04 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x355f5c22 _dispatch_mgr_thread + 30
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x35f83004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x35f831fa mach_msg + 50
2 CoreFoundation 0x30b843ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x30b83124 __CFRunLoopRun + 876
4 CoreFoundation 0x30b0649e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x30b06366 CFRunLoopRunInMode + 98
6 WebCore 0x36523c9c _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x33bf472e _pthread_start + 314
8 libsystem_c.dylib 0x33bf45e8 thread_start + 0
Thread 3 name: com.apple.NSURLConnectionLoader
Thread 3:
0 libsystem_kernel.dylib 0x35f83004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x35f831fa mach_msg + 50
2 CoreFoundation 0x30b843ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x30b83124 __CFRunLoopRun + 876
4 CoreFoundation 0x30b0649e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x30b06366 CFRunLoopRunInMode + 98
6 Foundation 0x35a3dbb2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 302
7 Foundation 0x35a3da7a -[NSThread main] + 66
8 Foundation 0x35ad158a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x33bf472e _pthread_start + 314
10 libsystem_c.dylib 0x33bf45e8 thread_start + 0
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x35f93570 __select + 20
1 CoreFoundation 0x30b8863a __CFSocketManager + 726
2 libsystem_c.dylib 0x33bf472e _pthread_start + 314
3 libsystem_c.dylib 0x33bf45e8 thread_start + 0
Thread 5 name: WebCore: CFNetwork Loader
Thread 5:
0 libsystem_kernel.dylib 0x35f83004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x35f831fa mach_msg + 50
2 CoreFoundation 0x30b843ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x30b83124 __CFRunLoopRun + 876
4 CoreFoundation 0x30b0649e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x30b06366 CFRunLoopRunInMode + 98
6 WebCore 0x3654d0d2 _ZN7WebCoreL15runLoaderThreadEPv + 122
7 libsystem_c.dylib 0x33bf472e _pthread_start + 314
8 libsystem_c.dylib 0x33bf45e8 thread_start + 0
Unknown thread crashed with unknown flavor: 5, state_count: 1
Binary Images:
**0x1000 - 0x2afff +WxT armv7 <d34067e47ac73d7390a27c79ab5582b3> /var/mobile/Applications/613A46E1-5CDC-4A1F-85C5-8D29ACDA289C/WxT.app/WxT**
0x2fee1000 - 0x2ff02fff dyld armv7 <77eddfd654df393ba9c95ff01715fd08> /usr/lib/dyld
It looks like:
Application Specific Information:
**WxT[3214] has active assertions beyond permitted time:**
{(
**<SBProcessAssertion: 0x14005c20> identifier: Suspending process: WxT[3214] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:23 preventSuspend preventThrottleDownCPU preventThrottleDownUI**
)}
the system is trying to move your app to background, and your URL connection (thread.3) is preventing that from happening.
The error message states you tried to run for more than 10 minutes while in the background. By default, iOS apps must stop all processing within 10 minutes upon being put in the background.

Resources