App rejected with ambiguous crash log - ios

Apple rejected my app with a crash report, I have tried symbolicating with the dSYM file from the original app build for the store and this is the crashlogs.
Seems that the app crash on start, but I tried to install the same version sent to them on my devices and it works as expected on my device. Any idea?
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1832fe59c 0x1831d8000 + 1205660
1 libobjc.A.dylib 0x193f640e4 0x193f5c000 + 32996
2 CoreFoundation 0x1831e91f8 0x1831d8000 + 70136
3 UIKit 0x187b4c858 0x187aa0000 + 706648
4 UIKit 0x187b6d9f4 0x187aa0000 + 842228
5 UIKit 0x187eb307c 0x187aa0000 + 4272252
6 UIKit 0x187b6eca4 0x187aa0000 + 847012
7 UIKit 0x187fcd718 0x187aa0000 + 5429016
8 UIKit 0x187ab0844 0x187aa0000 + 67652
9 UIKit 0x187ab07b0 0x187aa0000 + 67504
10 UIKit 0x187fccfbc 0x187aa0000 + 5427132
11 UIKit 0x187fcace8 0x187aa0000 + 5418216
12 UIKit 0x187adc788 0x187aa0000 + 247688
13 UIKit 0x187d47238 0x187aa0000 + 2781752
14 UIKit 0x187d46cec 0x187aa0000 + 2780396
15 UIKit 0x187d46c44 0x187aa0000 + 2780228
16 UIKit 0x187d3a578 0x187aa0000 + 2729336
17 UIKit 0x187d39fe0 0x187aa0000 + 2727904
18 FrontBoardServices 0x18b549edc 0x18b540000 + 40668
19 FrontBoardServices 0x18b55962c 0x18b540000 + 103980
20 CoreFoundation 0x1832b6a28 0x1831d8000 + 911912
21 CoreFoundation 0x1832b5b30 0x1831d8000 + 908080
22 CoreFoundation 0x1832b4154 0x1831d8000 + 901460
23 CoreFoundation 0x1831e10a4 0x1831d8000 + 37028
24 UIKit 0x187b1b3c8 0x187aa0000 + 504776
25 UIKit 0x187b163c0 0x187aa0000 + 484288
26 My App 0x100016424 main (main.m:26)
27 libdyld.dylib 0x1945d2a08 0x1945d0000 + 10760
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001946eb270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000194789224 pthread_kill + 108
2 libsystem_c.dylib 0x0000000194662b14 abort + 108
3 libc++abi.dylib 0x0000000193735414 abort_message + 112
4 libc++abi.dylib 0x0000000193754b88 default_terminate_handler() + 300
5 libobjc.A.dylib 0x0000000193f643bc _objc_terminate() + 124
6 libc++abi.dylib 0x0000000193751bb0 std::__terminate(void (*)()) + 12
7 libc++abi.dylib 0x0000000193751738 __cxa_rethrow + 140
8 libobjc.A.dylib 0x0000000193f64290 objc_exception_rethrow + 40
9 CoreFoundation 0x00000001831e1150 CFRunLoopRunSpecific + 568
10 UIKit 0x0000000187b1b3c4 -[UIApplication _run] + 548
11 UIKit 0x0000000187b163bc UIApplicationMain + 1484
12 My App 0x0000000100016420 main (main.m:26)
13 libdyld.dylib 0x00000001945d2a04 start + 0
Any help would be greatly appreciated.
EDIT 15/01/2015
I did the symbolication on the previous crash logs but the backtrace was still hiding same property so I found here the solution to solve the backtrace. Basically I had a better report attaching another device:
Last Exception Backtrace:
0 CoreFoundation 0x1832fe59c __exceptionPreprocess + 132
1 libobjc.A.dylib 0x193f640e4 objc_exception_throw + 60
2 CoreFoundation 0x1831e91f8 -[__NSDictionaryM setObject:forKey:] + 972
3 UIKit 0x187b4c858 -[UILabel _setLineBreakMode:] + 616
4 UIKit 0x187b6d9f4 -[UIButtonLabel setLineBreakMode:] + 108
5 UIKit 0x187eb307c -[UIButton _setupTitleViewRequestingLayout:] + 204
6 UIKit 0x187b6eca4 -[UIButton titleLabel] + 56
7 UIKit 0x187fcd718 -[UIZoomViewController loadView] + 568
8 UIKit 0x187ab0844 -[UIViewController loadViewIfRequired] + 88
9 UIKit 0x187ab07b0 -[UIViewController view] + 32
10 UIKit 0x187fccfbc -[UIZoomViewController init] + 92
11 UIKit 0x187fcace8 -[UIClassicController _setupWindow] + 584
12 UIKit 0x187adc788 +[UIClassicController sharedClassicController] + 172
13 UIKit 0x187d47238 -[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:] + 724
14 UIKit 0x187d46cec __88-[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_invoke + 140
15 UIKit 0x187d46c44 -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 380
16 UIKit 0x187d3a578 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 512
17 UIKit 0x187d39fe0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 380
18 FrontBoardServices 0x18b549edc __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 248
19 FrontBoardServices 0x18b55962c __31-[FBSSerialQueue performAsync:]_block_invoke + 28
20 CoreFoundation 0x1832b6a28 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ +20
21 CoreFoundation 0x1832b5b30 __CFRunLoopDoBlocks + 312
22 CoreFoundation 0x1832b4154 __CFRunLoopRun + 1756
23 CoreFoundation 0x1831e10a4 CFRunLoopRunSpecific + 396
24 UIKit 0x187b1b3c8 -[UIApplication _run] + 552
25 UIKit 0x187b163c0 UIApplicationMain + 1488
26 MyApp 0x100016424 main (main.m:26)
27 libdyld.dylib 0x1945d2a08 start + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001946eb270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000194789224 pthread_kill + 108
2 libsystem_c.dylib 0x0000000194662b14 abort + 108
3 libc++abi.dylib 0x0000000193735414 abort_message + 112
4 libc++abi.dylib 0x0000000193754b88 default_terminate_handler() + 300
5 libobjc.A.dylib 0x0000000193f643bc _objc_terminate() + 124
6 libc++abi.dylib 0x0000000193751bb0 std::__terminate(void (*)()) + 12
7 libc++abi.dylib 0x0000000193751738 __cxa_rethrow + 140
8 libobjc.A.dylib 0x0000000193f64290 objc_exception_rethrow + 40
9 CoreFoundation 0x00000001831e1150 CFRunLoopRunSpecific + 568
10 UIKit 0x0000000187b1b3c4 -[UIApplication _run] + 548
11 UIKit 0x0000000187b163bc UIApplicationMain + 1484
12 MyApp 0x0000000100016420 main (main.m:26)
13 libdyld.dylib 0x00000001945d2a04 start + 0
Cheers

Try-
Loading the App through iTunes if you haven't already
Using something like TestFlight to launch beta tests of your app, and see if it crashes there
If you still don't encounter any problems, contact the App Review team through the Resolution Center in iTunesConnect, and sort out the problem with them
Note: I had a similar problem, where Apple rejected my app saying it was crashing when in truth it wasn't. When I contacted The Review Team, turned out that they had tested another app, and mixed up which one to reject! At times, they do make strange mistakes, so its always good to just contact them once. No harm no foul.
Hope I helped!

At finally I found the solution reading this. The crash was related to the font, but it happened only on the iPad device that I was not testing

Related

iOS App Crash On PushViewController, but only in TestFlight

In my app, I have a TestFlight beta. It loads fine, and all the buttons and actions work, except for clicking on one section of the TableView, when I click that, it crashes every time. But, only in TestFlight beta installs. On Xcode Simulator it runs fine, if debugging on my phone by plugging into computer and running, it works fine. When I open the crash log in Xcode, I get the image below, but it doesn't really tell me anything. Here is the crash log:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x195260164 __exceptionPreprocess + 228 (NSException.m:199)
1 libobjc.A.dylib 0x194f74c1c objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x19514fbb8 +[NSException raise:format:] + 112 (NSException.m:155)
3 UIKitCore 0x198cf0d14 -[UISearchDisplayController initWithCoder:] + 88 (UISearchDisplayController.m:350)
4 UIFoundation 0x1988c793c UINibDecoderDecodeObjectForValue + 728 (UINibDecoder.m:717)
5 UIFoundation 0x198862d50 -[UINibDecoder decodeObjectForKey:] + 312 (UINibDecoder.m:811)
6 UIKitCore 0x199029668 -[UIRuntimeConnection initWithCoder:] + 132 (UIRuntimeConnection.m:22)
7 UIFoundation 0x1988c793c UINibDecoderDecodeObjectForValue + 728 (UINibDecoder.m:717)
8 UIFoundation 0x1988c7b5c UINibDecoderDecodeObjectForValue + 1272 (UINibDecoder.m:611)
9 UIFoundation 0x198862d50 -[UINibDecoder decodeObjectForKey:] + 312 (UINibDecoder.m:811)
10 UIKitCore 0x199024638 -[NSCoder(UIIBDependencyInjectionInternal) _decodeObjectsWithSourceSegueTemplate:creator:sender:f... + 492 (UIClassSwapper.m:57)
11 UIKitCore 0x199027200 -[UINib instantiateWithOwner:options:] + 1068 (UINib.m:347)
12 UIKitCore 0x198d3dea4 -[UIViewController _loadViewFromNibNamed:bundle:] + 368 (UIViewController.m:3105)
13 UIKitCore 0x198d3e954 -[UIViewController loadView] + 180 (UIViewController.m:3247)
14 UIKitCore 0x198d3ec24 -[UIViewController loadViewIfRequired] + 188 (UIViewController.m:3346)
15 UIKitCore 0x198d3f30c -[UIViewController view] + 32 (UIViewController.m:3404)
16 UIKitCore 0x198c9afa4 -[UINavigationController _startCustomTransition:] + 1148 (UINavigationController.m:1893)
17 UIKitCore 0x198caf478 -[UINavigationController _startDeferredTransitionIfNeeded:] + 692 (UINavigationController.m:6719)
18 UIKitCore 0x198cb0818 -[UINavigationController __viewWillLayoutSubviews] + 176 (UINavigationController.m:6988)
19 UIKitCore 0x198c934fc -[UILayoutContainerView layoutSubviews] + 228 (UILayoutContainerView.m:86)
20 UIKitCore 0x1998766a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)
21 QuartzCore 0x19bec94a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)
22 QuartzCore 0x19bec98e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)
23 QuartzCore 0x19bedbdc4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 144 (CALayer.mm:2468)
24 QuartzCore 0x19be20884 CA::Context::commit_transaction(CA::Transaction*, double) + 304 (CAContextInternal.mm:1992)
25 QuartzCore 0x19be4b3d0 CA::Transaction::commit() + 656 (CATransactionInternal.mm:438)
26 UIKitCore 0x1993d48cc _afterCACommitHandler + 144 (UIApplication.m:3120)
27 CoreFoundation 0x1951dac54 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CFRunLoop.c:1758)
28 CoreFoundation 0x1951d58e4 __CFRunLoopDoObservers + 420 (CFRunLoop.c:1868)
29 CoreFoundation 0x1951d5d84 __CFRunLoopRun + 1020 (CFRunLoop.c:2910)
30 CoreFoundation 0x1951d5660 CFRunLoopRunSpecific + 480 (CFRunLoop.c:3192)
31 GraphicsServices 0x19f5e6604 GSEventRunModal + 164 (GSEvent.c:2246)
32 UIKitCore 0x1993aa15c UIApplicationMain + 1944 (UIApplication.m:4820)
33 Ministry League 0x104093b48 main + 76 (main.m:16)
34 libdyld.dylib 0x1950511ec start + 4
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000195046df0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000194f66930 pthread_kill + 228 (pthread.c:1458)
2 libsystem_c.dylib 0x0000000194ef48b4 abort + 104 (abort.c:110)
3 libc++abi.dylib 0x0000000195019f40 abort_message + 132 (abort_message.cpp:76)
4 libc++abi.dylib 0x000000019500b8c8 demangling_terminate_handler() + 308 (cxa_default_handlers.cpp:65)
5 libobjc.A.dylib 0x0000000194f74f0c _objc_terminate() + 132 (objc-exception.mm:701)
6 libc++abi.dylib 0x00000001950193cc std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x000000019501c154 __cxa_rethrow + 148 (cxa_exception.cpp:617)
8 libobjc.A.dylib 0x0000000194f74de8 objc_exception_rethrow + 44 (objc-exception.mm:604)
9 CoreFoundation 0x00000001951d56d0 CFRunLoopRunSpecific + 592 (CFRunLoop.c:3206)
10 GraphicsServices 0x000000019f5e6604 GSEventRunModal + 164 (GSEvent.c:2246)
11 UIKitCore 0x00000001993aa15c UIApplicationMain + 1944 (UIApplication.m:4820)
12 Ministry League 0x0000000104093b48 main + 76 (main.m:16)
13 libdyld.dylib 0x00000001950511ec start + 4
What this crash log tells me is that the app is loading a NIB that includes a UISearchDisplayController when it throws an exception. UISearchDisplayController is deprecated, and should be replaced with a UISearchController. The first thing I'd try is making that replacement.

SIGSEGV when convertPoint:fromLayer: is called

My app relatively often crashes with SIGSEGV. Unfortunately, I can not reproduce the crash and only see crash reports in Hockeyapp. I tried turning zombies on, too.
Looking at the crash report it seems that app crashes when processing touches (when user scrolling or something like this). No my app code mentioned in the stack trace.
The question is: how is it possible to have memory issue in this scenario? What would you recommend to reproduce and fix the issue?
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x71a86113
Crashed Thread: 0
Application Specific Information:
objc_msgSend() selector name: convertPoint:fromLayer:
Thread 0 Crashed:
0 libobjc.A.dylib 0x2106fae6 objc_msgSend_stret + 6
1 UIKit 0x25e7a349 -[UIView(Geometry) convertPoint:fromView:] + 98
2 UIKit 0x25e7e987 __38-[UIView(Geometry) hitTest:withEvent:]_block_invoke + 104
3 CoreFoundation 0x217e8279 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 86
4 CoreFoundation 0x217e81a7 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 248
5 UIKit 0x25e7e447 -[UIView(Geometry) hitTest:withEvent:] + 492
6 UIKit 0x26146f0d -[UIView(Geometry) _hitTest:withEvent:windowServerHitTestWindow:] + 62
7 UIKit 0x25e7e9bd __38-[UIView(Geometry) hitTest:withEvent:]_block_invoke + 158
8 CoreFoundation 0x217e8279 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 86
9 CoreFoundation 0x217e81a7 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 248
10 UIKit 0x25e7e447 -[UIView(Geometry) hitTest:withEvent:] + 492
11 UIKit 0x26146f0d -[UIView(Geometry) _hitTest:withEvent:windowServerHitTestWindow:] + 62
12 UIKit 0x26136491 __70+[UIWindow _hitTestToPoint:forEvent:windowServerHitTestWindow:screen:]_block_invoke + 186
13 UIKit 0x25e4783f +[UIWindow _topVisibleWindowPassingTest:] + 156
14 UIKit 0x26136399 +[UIWindow _hitTestToPoint:forEvent:windowServerHitTestWindow:screen:] + 142
15 UIKit 0x26136629 -[UIWindow _targetWindowForPathIndex:atPoint:forEvent:windowServerHitTestWindow:onScreen:] + 158
16 UIKit 0x260ffb61 _UIApplicationHandleDigitizerEvent + 10982
17 UIKit 0x25e4123f _UIApplicationHandleEventQueue + 3836
18 CoreFoundation 0x21889dff __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
19 CoreFoundation 0x218899ed __CFRunLoopDoSources0 + 450
20 CoreFoundation 0x21887d5b __CFRunLoopRun + 792
21 CoreFoundation 0x217d7229 CFRunLoopRunSpecific + 518
22 CoreFoundation 0x217d7015 CFRunLoopRunInMode + 106
23 GraphicsServices 0x22dc7ac9 GSEventRunModal + 158
24 UIKit 0x25eab189 UIApplicationMain + 142
25 My App. 0x0005376b main (main.m:14)
26 ??? 0x2147f873 0x0 + 0

iOS crash report: EXC_CRASH (SIGABRT) - stringByAppendingString

I am trying to fix a bug that I am not able to recreate, it doesn't happen to my device (iPhone 5s) or in any iOS simulator but happened only once in an iPhone 7 of my client. When the client deleted and downloaded again the app, the bug disappeared, so I am searching for a ghost now.
I was able to get the crash log file from the clients phone and symbolicate it. Here are some useful informations I extracted:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
In the un-symbolicated crash report: (check 2 and 3 line)
Last Exception Backtrace:
0 CoreFoundation 0x18c92efe0 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x18b390538 objc_exception_throw + 56
2 CoreFoundation 0x18c92ef28 +[NSException raise:format:] + 116
3 Foundation 0x18d324df0 -[NSString stringByAppendingString:] + 112
4 myApp 0x100119ea8 0x100004000 + 1138344
5 myApp 0x100119784 0x100004000 + 1136516
6 UIKit 0x192ad1204 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 380
7 UIKit 0x192cdd738 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3452
8 UIKit 0x192ce31e0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1684
9 UIKit 0x192cf7d18 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke.3151 + 48
10 UIKit 0x192ce0474 -[UIApplication workspaceDidEndTransaction:] + 168
11 FrontBoardServices 0x18e4d7884 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
12 FrontBoardServices 0x18e4d76f0 -[FBSSerialQueue _performNext] + 176
13 FrontBoardServices 0x18e4d7aa0 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
14 CoreFoundation 0x18c8dd42c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
15 CoreFoundation 0x18c8dcd9c __CFRunLoopDoSources0 + 540
16 CoreFoundation 0x18c8da9a8 __CFRunLoopRun + 744
17 CoreFoundation 0x18c80ada4 CFRunLoopRunSpecific + 424
18 UIKit 0x192aca384 -[UIApplication _run] + 652
19 UIKit 0x192ac5058 UIApplicationMain + 208
20 myApp 0x10014b8ac 0x100004000 + 1341612
21 libdyld.dylib 0x18b81959c start + 4
and in the symbolicated crash report:(check 4 and 5 line)
Last Exception Backtrace:
0 CoreFoundation 0x185f7fd38 0x185e3e000 + 1318200
1 libobjc.A.dylib 0x185494528 0x18548c000 + 34088
2 CoreFoundation 0x185f7fc80 0x185e3e000 + 1318016
3 Foundation 0x18686e760 0x186862000 + 51040
4 myApp 0x10469f928 -[AppDelegate initViewController] (AppDelegate.m:96)
5 myApp 0x10469f520 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.m:30)
6 UIKit 0x18f3ff050 0x18f380000 + 520272
7 UIKit 0x18f5f2898 0x18f380000 + 2566296
8 UIKit 0x18f5f76e4 0x18f380000 + 2586340
9 UIKit 0x18f885454 0x18f380000 + 5264468
10 UIKit 0x18fb551f0 0x18f380000 + 8212976
11 UIKit 0x18f8850b8 0x18f380000 + 5263544
12 UIKit 0x18f885928 0x18f380000 + 5265704
13 UIKit 0x18ffee6e8 0x18f380000 + 13035240
14 UIKit 0x18ffee58c 0x18f380000 + 13034892
15 UIKit 0x18fd6a9c0 0x18f380000 + 10398144
16 UIKit 0x18fefffc8 0x18f380000 + 12058568
17 UIKit 0x18fd6a870 0x18f380000 + 10397808
18 UIKit 0x18fb54850 0x18f380000 + 8210512
19 UIKit 0x18f5f5e28 0x18f380000 + 2580008
20 UIKit 0x18f9f96ec 0x18f380000 + 6788844
21 FrontBoardServices 0x188621768 0x188615000 + 51048
22 FrontBoardServices 0x18862a070 0x188615000 + 86128
23 libdispatch.dylib 0x185905048 0x185904000 + 4168
24 libdispatch.dylib 0x18590c6c8 0x185904000 + 34504
25 FrontBoardServices 0x188655a04 0x188615000 + 264708
26 FrontBoardServices 0x1886556a8 0x188615000 + 263848
27 FrontBoardServices 0x188655c44 0x188615000 + 265284
28 CoreFoundation 0x185f28358 0x185e3e000 + 959320
29 CoreFoundation 0x185f282d8 0x185e3e000 + 959192
30 CoreFoundation 0x185f27b60 0x185e3e000 + 957280
31 CoreFoundation 0x185f25738 0x185e3e000 + 948024
32 CoreFoundation 0x185e462d8 0x185e3e000 + 33496
33 GraphicsServices 0x187cd7f84 0x187ccd000 + 44932
34 UIKit 0x18f3f3880 0x18f380000 + 473216
35 myApp 0x1046bc124 main (main.m:14)
36 libdyld.dylib 0x18596a56c 0x185969000 + 5484
So at the third line of the un-symbolicated crash report it says:
0x18d324df0 -[NSString stringByAppendingString:] + 112
and at the 4th line of the symbolicated crash report:
0x10469f928 -[AppDelegate initViewController] (AppDelegate.m:96)
In my AppDelegate at the 96 line I have this code:
NSString *backColorString = [#"#" stringByAppendingString:[myModel sharedInstance].theme.BackColor];
So the only thing that can be wrong with this, if the problem is indeed here(?) is that the
[HotelStay sharedInstance].theme.BackColor
must return nil or "".
The thing is that I tried both and I couldn't be able to recreate the problem. Is there something I am missing or doing wrong here?
if you use stringByAppendingString on an NSString than you end up with leaks because the pointer associated with the initial NSString moves around, pointing to the new string created by the append, whereas with NSMutableString, your pointer always points to that mutable string. I guess it should be the issue but what I am thinking is according to Apple Documentation The string to append to the receiver. This value must not be nil if its nil it will Raise a NSInvalidArgumentException.

app crashing in ipa file only,not crashed when installed with xcode to device

I am stuck in a very weird situation.When i create an IPA and install it in to any device, its crashing at one fixed point.But when i install directly from xcode to device, it works perfectly fine and no crashes.Tried almost every possible solution available, deleting the build folder, cleaning, removing files and adding them again etc..
Below is the crash log for refernce. Any help would be appreciated THanks
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note:
EXC_CORPSE_NOTIFY Triggered by Thread: 0
Application Specific Information: abort() called
Filtered syslog: None found
Last Exception Backtrace:
0 CoreFoundation 0x185e681c0 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x1848a055c objc_exception_throw + 56
2 CoreFoundation 0x185e68108 +[NSException raise:format:] + 116
3 Foundation 0x1868565ac -[NSString rangeOfString:options:range:locale:] + 352
4 Foundation 0x186949f5c -[NSString containsString:] + 68
5 TM iSwift 0x100157528 -[KossexViewController tableView:heightForHeaderInSection:] (KossexViewController.m:1373)
6 UIKit 0x18bd90b20 -[UITableView _delegateWantsHeaderForSection:] + 528
7 UIKit 0x18bd8f7b0 -[UISectionRowData refreshWithSection:tableView:tableViewRowData:] + 208
8 UIKit 0x18c180b7c -[UITableViewRowData _ensureSectionOffsetIsValidForSection:] + 348
9 UIKit 0x18bd8f61c -[UITableViewRowData rectForFooterInSection:heightCanBeGuessed:] + 576
10 UIKit 0x18bd8f380 -[UITableViewRowData heightForTable] + 60
11 UIKit 0x18bd8f1b4 -[UITableView _updateContentSize] + 220
12 UIKit 0x18bfed6f0 -[UITableView _rebuildGeometry] + 44
13 UIKit 0x18bd94b64 -[UITableView didMoveToWindow] + 140
14 UIKit 0x18bcadc1c -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1544
15 UIKit 0x18bcd1714 -[UIScrollView _didMoveFromWindow:toWindow:] + 92
16 UIKit 0x18bcacd90 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 156
17 UIKit 0x18bcacbe8 -[UIView(Hierarchy) _postMovedFromSuperview:] + 792
18 UIKit 0x18bcb8ad0 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1788
19 UIKit 0x18bcb83bc -[UIView(Hierarchy) addSubview:] + 828
20 TM iSwift 0x100152428 __34-[KossexViewController createBody]_block_invoke (KossexViewController.m:397)
21 libdispatch.dylib 0x184cf1200 _dispatch_call_block_and_release + 24
22 libdispatch.dylib 0x184cf11c0 _dispatch_client_callout + 16
23 libdispatch.dylib 0x184cf5d6c _dispatch_main_queue_callback_4CF + 1000
24 CoreFoundation 0x185e15f2c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
25 CoreFoundation 0x185e13b18 __CFRunLoopRun + 1660
26 CoreFoundation 0x185d42048 CFRunLoopRunSpecific + 444
27 GraphicsServices 0x1877c5198 GSEventRunModal + 180
28 UIKit 0x18bd1c628 -[UIApplication _run] + 684
29 UIKit 0x18bd17360 UIApplicationMain + 208
30 TM iSwift 0x1001384c0 main (main.m:18)
31 libdyld.dylib 0x184d245b8 start + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000184e36014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000184efd460 pthread_kill + 112
2 libsystem_c.dylib 0x0000000184daa3f4 abort + 140
3 libc++abi.dylib 0x00000001848752d4 __cxa_bad_cast + 0
4 libc++abi.dylib 0x0000000184892cc0 default_unexpected_handler() + 0
5 libobjc.A.dylib 0x00000001848a0844 _objc_terminate() + 124
6 libc++abi.dylib 0x000000018488f66c std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x000000018488ef84 __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 0
8 libobjc.A.dylib 0x00000001848a0690 _objc_exception_destructor(void*) + 0
9 CoreFoundation 0x0000000185e68108 -[NSException initWithCoder:] + 0
10 Foundation 0x00000001868565ac -[NSString rangeOfString:options:range:locale:] + 352
11 Foundation 0x0000000186949f5c -[NSString containsString:] + 68
12 TM iSwift 0x0000000100157528 -[KossexViewController tableView:heightForHeaderInSection:] (KossexViewController.m:1373)
13 UIKit 0x000000018bd90b20 -[UITableView _delegateWantsHeaderForSection:] + 528
14 UIKit 0x000000018bd8f7b0 -[UISectionRowData refreshWithSection:tableView:tableViewRowData:] + 208
15 UIKit 0x000000018c180b7c -[UITableViewRowData _ensureSectionOffsetIsValidForSection:] + 348
16 UIKit 0x000000018bd8f61c -[UITableViewRowData rectForFooterInSection:heightCanBeGuessed:] + 576
17 UIKit 0x000000018bd8f380 -[UITableViewRowData heightForTable] + 60
18 UIKit 0x000000018bd8f1b4 -[UITableView _updateContentSize] + 220
19 UIKit 0x000000018bfed6f0 -[UITableView _rebuildGeometry] + 44
20 UIKit 0x000000018bd94b64 -[UITableView didMoveToWindow] + 140
21 UIKit 0x000000018bcadc1c -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1544
22 UIKit 0x000000018bcd1714 -[UIScrollView _didMoveFromWindow:toWindow:] + 92
23 UIKit 0x000000018bcacd90 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 156
24 UIKit 0x000000018bcacbe8 -[UIView(Hierarchy) _postMovedFromSuperview:] + 792
25 UIKit 0x000000018bcb8ad0 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1788
26 UIKit 0x000000018bcb83bc -[UIView(Hierarchy) addSubview:] + 828
27 TM iSwift 0x0000000100152428 __34-[KossexViewController createBody]_block_invoke (KossexViewController.m:397)
28 libdispatch.dylib 0x0000000184cf1200 _dispatch_call_block_and_release + 24
29 libdispatch.dylib 0x0000000184cf11c0 _dispatch_client_callout + 16
30 libdispatch.dylib 0x0000000184cf5d6c _dispatch_main_queue_callback_4CF + 1000
31 CoreFoundation 0x0000000185e15f2c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
32 CoreFoundation 0x0000000185e13b18 __CFRunLoopRun + 1660
33 CoreFoundation 0x0000000185d42048 CFRunLoopRunSpecific + 444
34 GraphicsServices 0x00000001877c5198 GSEventRunModal + 180
35 UIKit 0x000000018bd1c628 -[UIApplication _run] + 684
36 UIKit 0x000000018bd17360 UIApplicationMain + 208
37 TM iSwift 0x00000001001384c0 main (main.m:18)
38 libdyld.dylib 0x0000000184d245b8 start + 4
please see on these lines
(i) [KossexViewController tableView:heightForHeaderInSection:] (KossexViewController.m:1373
(ii) [KossexViewController createBody]_block_invoke (KossexViewController.m:397
if everythink is perfect then edit your scheme from debug to release mode.

Crash log is not completely symbolicated

I am able to symbolicate my crash logs in xcode 4.5 EXCEPT for the last line. Specifically line 29 of the 'Last Exception Backtrace' and line 15 in the 'Thread 0' area in the crash log doesn't show the object or method call when all the other lines do. My code is CoachMe1.
Any ideas as to why this would be ?
Here is the Symbolicated code:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x3165929e __exceptionPreprocess + 158
1 libobjc.A.dylib 0x355af97a objc_exception_throw + 26
2 CoreFoundation 0x316591c0 +[NSException raise:format:] + 100
3 Foundation 0x34a9ece2 -[NSKeyedUnarchiver initForReadingWithData:] + 2402
4 CoachMe1 0x000047b6 -[CoachMe1ViewController viewWillAppear:] (CoachMe1ViewController.m:322)
5 UIKit 0x32b7531c -[UIViewController _setViewAppearState:isAnimating:] + 132
6 UIKit 0x32b817a0 -[UINavigationController _startTransition:fromViewController:toViewController:] + 536
7 UIKit 0x32b814ac -[UINavigationController _startDeferredTransitionIfNeeded:] + 320
8 UIKit 0x32b6fb8e -[UINavigationController pushViewController:transition:forceImmediate:] + 854
9 UIKit 0x32b6f82e -[UINavigationController pushViewController:animated:] + 34
10 CoachMe1 0x000183da -[FrontPageViewController loadGameDashboard] (FrontPageViewController.m:38)
11 UIKit 0x32bf90a8 -[UIApplication sendAction:to:from:forEvent:] + 68
12 UIKit 0x32bf905a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26
13 UIKit 0x32bf9038 -[UIControl sendAction:to:forEvent:] + 40
14 UIKit 0x32bf88ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498
15 UIKit 0x32bf8de4 -[UIControl touchesEnded:withEvent:] + 484
16 UIKit 0x32b215f4 -[UIWindow _sendTouchesForEvent:] + 520
17 UIKit 0x32b0e804 -[UIApplication sendEvent:] + 376
18 UIKit 0x32b0e11e _UIApplicationHandleEvent + 6150
19 GraphicsServices 0x3085459e _PurpleEventCallback + 586
20 GraphicsServices 0x308541ce PurpleEventCallback + 30
21 CoreFoundation 0x3162e16e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
22 CoreFoundation 0x3162e112 __CFRunLoopDoSource1 + 134
23 CoreFoundation 0x3162cf94 __CFRunLoopRun + 1380
24 CoreFoundation 0x3159feb8 CFRunLoopRunSpecific + 352
25 CoreFoundation 0x3159fd44 CFRunLoopRunInMode + 100
26 GraphicsServices 0x308532e6 GSEventRunModal + 70
27 UIKit 0x32b622fc UIApplicationMain + 1116
28 CoachMe1 0x0000257e main (main.m:14)
29 CoachMe1 0x00002538 0x1000 + 5432
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3934f350 __pthread_kill + 8
1 libsystem_c.dylib 0x33cb111e pthread_kill + 54
2 libsystem_c.dylib 0x33ced96e abort + 90
3 libc++abi.dylib 0x30803d4a abort_message + 70
4 libc++abi.dylib 0x30800ff4 _ZL17default_terminatev + 20
5 libobjc.A.dylib 0x355afa74 _ZL15_objc_terminatev + 144
6 libc++abi.dylib 0x30801078 _ZL19safe_handler_callerPFvvE + 76
7 libc++abi.dylib 0x30801110 std::terminate() + 16
8 libc++abi.dylib 0x30802594 __cxa_rethrow + 84
9 libobjc.A.dylib 0x355af9cc objc_exception_rethrow + 8
10 CoreFoundation 0x3159ff1c CFRunLoopRunSpecific + 452
11 CoreFoundation 0x3159fd44 CFRunLoopRunInMode + 100
12 GraphicsServices 0x308532e6 GSEventRunModal + 70
13 UIKit 0x32b622fc UIApplicationMain + 1116
14 CoachMe1 0x0000257e main (main.m:14)
15 CoachMe1 0x00002538 0x1000 + 5432
Your app is crashing in loadGameDashboard function in FrontPageViewController.m class line 38.
Please check this function with a break point . you see where your app is crashing....

Resources