Reading crash report about Navigation Animation - iphone

I hate to simply post a crash report for my iOS app here, but I am in some dire need of help to understand it. It looks to me like something is crashing in a view or navigation animation, but I can't tell where. Has anyone seen any crash reports like this? Is it outside the scope of my code?
The last reference to my MyApp is in main.m, which doesn't make much sense to me.
Any advice on how to interpret this would be majorly helpful, and greatly appreciated. I'm just now learning to read these things correctly, and the more help I get, the more I learn.
Thread 0 Crashed:
0 libobjc.A.dylib 0x341975be _objc_msgSend + 30
1 UIKit 0x333fbd7d -[UIImageView isAnimating] + 137
2 UIKit 0x333ffb43 -[UIImageView stopAnimating] + 103
3 UIKit 0x333ffa89 -[UIActivityIndicatorView _tearDownAnimation] + 37
4 UIKit 0x333ffa1d -[UIActivityIndicatorView stopAnimating] + 25
5 UIKit 0x333ff983 -[UIActivityIndicatorView _didMoveFromWindow:toWindow:] + 55
6 UIKit 0x333ff5bf -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1119
7 UIKit 0x333ff5bf -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1119
8 UIKit 0x333ff5bf -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1119
9 UIKit 0x333ff5bf -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1119
10 UIKit 0x333f9e4b -[UIView(Hierarchy) _postMovedFromSuperview:] + 139
11 UIKit 0x335c541b __UIViewWasRemovedFromSuperview + 219
12 UIKit 0x3340d8a7 -[UIView(Hierarchy) removeFromSuperview] + 159
13 UIKit 0x3345df01 -[UINavigationTransitionView _cleanupTransition] + 93
14 UIKit 0x333f4ab3 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 159
15 UIKit 0x334698cf -[UIViewAnimationState animationDidStop:finished:] + 51
16 QuartzCore 0x36cc8bd9 CA::Layer::run_animation_callbacks(void*) + 209
17 libdispatch.dylib 0x3859f4b7 _dispatch_client_callout + 23
18 libdispatch.dylib 0x385a41bd _dispatch_main_queue_callback_4CF$VARIANT$mp + 225
19 CoreFoundation 0x3a280f3b __CFRunLoopRun + 1291
20 CoreFoundation 0x3a1f3ebd _CFRunLoopRunSpecific + 357
21 CoreFoundation 0x3a1f3d49 _CFRunLoopRunInMode + 105
22 GraphicsServices 0x385c12eb _GSEventRunModal + 75
23 UIKit 0x334332f9 _UIApplicationMain + 1121
24 MyApp 0x0003706d main (main.m:45)

Comment out a major part of your code to see if the error occurs from there. If it does, then narrow the commenting down. Start with a method containing animation as the log suggests. I don't know if there is a better way, but this is the way I do it if I don't have further information.

It seems that your application running just fine until "[UIImageView isAnimation]" and then crashed. You may check out nearby this line. But I suggest that you could enable zombie object to see where is going wrong.

Related

Swift ViewController textFieldCancel:]: unrecognized selector sent to instance during segue [duplicate]

This question already has answers here:
"Unrecognized selector sent to instance" error
(3 answers)
Closed 7 years ago.
I've run into an annoying issue when trying to segue to a Pages View Controller from my initial UIViewController. My initial UIViewController, among other things, includes a UITextField. Everytime I attempt to segue out of my initial UIViewController after I've used the UITextField at all, the app crashes with the error below. If I don't interact with the UITextField I seem to be able to use segues at will. From reading other posts I'm lead to believe there are some resources being used by the UITextField that I'm not properly releasing, but after trying numerous longshot attempts at fixing it, I'm left out of ideas/knowledge.
Error Message:
2015-05-22 20:10:13.961 checkdgt[7503:506991] -[checkdgt.ViewController textFieldCancel:]: unrecognized selector sent to instance 0x7f8750826e00
2015-05-22 20:10:14.033 checkdgt[7503:506991] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[checkdgt.ViewController textFieldCancel:]: unrecognized selector sent to instance 0x7f8750826e00'
*** First throw call stack:
(
0 CoreFoundation 0x000000010bd00c65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010df63bb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010bd080ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010bc5e13c ___forwarding___ + 988
4 CoreFoundation 0x000000010bc5dcd8 _CF_forwarding_prep_0 + 120
5 UIKit 0x000000010cc5dda2 -[UIApplication sendAction:to:from:forEvent:] + 75
6 UIKit 0x000000010cd6f54a -[UIControl _sendActionsForEvents:withEvent:] + 467
7 UIKit 0x000000010cd6e09a -[UIControl cancelTouchTracking] + 44
8 UIKit 0x000000010cd6eadd -[UIControl _didMoveFromWindow:toWindow:] + 89
9 UIKit 0x000000010ccd774a -[UIView(Internal) _didMoveFromWindow:toWindow:] + 698
10 UIKit 0x000000010ccd774a -[UIView(Internal) _didMoveFromWindow:toWindow:] + 698
11 UIKit 0x000000010cccfecf __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 125
12 UIKit 0x000000010cccfe43 -[UIView(Hierarchy) _postMovedFromSuperview:] + 437
13 UIKit 0x000000010cccdfa3 -[UIView(Hierarchy) removeFromSuperview] + 479
14 UIKit 0x000000010cd6c4dc __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke504 + 657
15 UIKit 0x000000010cd684f2 -[UIPresentationController transitionDidFinish:] + 87
16 UIKit 0x000000010d31a2ed -[_UIFullscreenPresentationController transitionDidFinish:] + 70
17 UIKit 0x000000010cd6ab7c __56-[UIPresentationController runTransitionForCurrentState]_block_invoke_2 + 133
18 UIKit 0x000000010d3a97c0 -[_UIViewControllerTransitionContext completeTransition:] + 110
19 UIKit 0x000000010cd65be3 -[UITransitionView _didCompleteTransition:] + 1120
20 UIKit 0x000000010ccbc136 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 209
21 UIKit 0x000000010ccbc46c -[UIViewAnimationState animationDidStop:finished:] + 76
22 QuartzCore 0x000000010ca43882 _ZN2CA5Layer23run_animation_callbacksEPv + 308
23 libdispatch.dylib 0x000000010e693614 _dispatch_client_callout + 8
24 libdispatch.dylib 0x000000010e67ba1c _dispatch_main_queue_callback_4CF + 1664
25 CoreFoundation 0x000000010bc681f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
26 CoreFoundation 0x000000010bc29dcb __CFRunLoopRun + 2043
27 CoreFoundation 0x000000010bc29366 CFRunLoopRunSpecific + 470
28 GraphicsServices 0x000000010f88ba3e GSEventRunModal + 161
29 UIKit 0x000000010cc5c900 UIApplicationMain + 1282
30 checkdgt 0x000000010b1f3f87 main + 135
31 libdyld.dylib 0x000000010e6c7145 start + 1
32 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Last bit of code before the segue is called:
#IBAction func learnButtonPressed(sender: UIButton) {
view.endEditing(true)
textInputFieldOutlet.resignFirstResponder()
textFieldShouldEndEditing(textInputFieldOutlet)
performSegueWithIdentifier("LearnPagesSegue", sender: nil)
}
I can't find any methods or objects in my code named -textFieldCancel, and the only other UITextField I can think of would be in the included CardIO library, which doesn't seem to be the suspect.
I'm using Xcode 6.3.2 and the latest version of Swift.
Any help or gentle nudges are appreciated.
Thanks!
Check that there isn't an old connection from your button by right clicking on it in the storyboard and examining the outlets in the list. You may have an old connection that you forgot to eliminate.

iOS - Crash at loadViewIfRequired

I typically wouldn't want to ask SO for help understanding my crash report, but (a) I can learn a lot about reading crash reports from the experts here, and (b), I realize that I don't understand as much about navigation flow as I hoped (this part is specific to the crash report below I think).
So I'm hoping that someone has come across the same issue and can help me understand why my app is crashing.
It only crashes sometimes, which is beyond me as to why it is intermittent. However, when it does crash, it crashes at the same place, with the same stack trace (shown below).
Now I see that it is crashing in cmdPressed (there's a lot of code in this method), but it's hard for me to understand anything deeper than that.
From reading the crash report below, does anyone have any advice as to why my app is crashing??? And why it might be inconsistent?
Thread 0 Crashed:
0 libobjc.A.dylib 0x344dd5aa _objc_msgSend + 10
1 UIKit 0x3374458d -[UIViewController loadViewIfRequired] + 365
2 UIKit 0x33799133 -[UIViewController contentScrollView] + 27
3 UIKit 0x33799079 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 29
4 UIKit 0x33798f5d -[UINavigationController _layoutViewController:] + 33
5 UIKit 0x33798e81 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 273
6 UIKit 0x337985c1 -[UINavigationController _startTransition:fromViewController:toViewController:] + 65
7 UIKit 0x337984a9 -[UINavigationController _startDeferredTransitionIfNeeded:] + 325
8 UIKit 0x337e54b1 -[UINavigationController defaultFirstResponder] + 129
9 UIKit 0x33797849 -[UIResponder(Internal) _deepestDefaultFirstResponder] + 25
10 UIKit 0x337976fb -[UIResponder(Internal) _promoteDeepestDefaultFirstResponder] + 31
11 UIKit 0x33813349 -[UIWindowController transitionViewDidStart:] + 81
12 UIKit 0x337bf8db -[UITransitionView transition:fromView:toView:removeFromView:] + 991
13 UIKit 0x33a00059 __91-[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:]_block_invoke_0236 + 389
14 UIKit 0x33812961 -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:] + 4761
15 UIKit 0x33810fc7 -[UIViewController presentViewController:withTransition:completion:] + 3395
16 UIKit 0x33933257 -[UIViewController presentModalViewController:animated:] + 31
17 MyApp 0x00044973 -[AppViewController cmdPressed] (AppViewController.mm:553)
18 UIKit 0x338100a5 -[UIApplication sendAction:to:from:forEvent:] + 73
19 UIKit 0x33810057 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 31
20 UIKit 0x33810035 -[UIControl sendAction:to:forEvent:] + 45
21 UIKit 0x3380f8eb -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 503
22 UIKit 0x3380fde1 -[UIControl touchesEnded:withEvent:] + 489
23 UIKit 0x337385f1 -[UIWindow _sendTouchesForEvent:] + 525
24 UIKit 0x33725801 -[UIApplication sendEvent:] + 381
25 UIKit 0x3372511b _UIApplicationHandleEvent + 6155
26 GraphicsServices 0x389085a3 _PurpleEventCallback + 591
27 GraphicsServices 0x389081d3 PurpleEventCallback + 35
28 CoreFoundation 0x3a5c8173 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 35
29 CoreFoundation 0x3a5c8117 __CFRunLoopDoSource1 + 139
30 CoreFoundation 0x3a5c6f99 __CFRunLoopRun + 1385
31 CoreFoundation 0x3a539ebd _CFRunLoopRunSpecific + 357
32 CoreFoundation 0x3a539d49 _CFRunLoopRunInMode + 105
33 GraphicsServices 0x389072eb _GSEventRunModal + 75
34 UIKit 0x337792f9 _UIApplicationMain + 1121
35 MyApp 0x0003d083 main (main.m:44)
Any advice is greatly appreciated. Thanks!!!
I know this is late and also I am not sure if this will solve your problem or not. But when I faced this issue (related with loadViewIfRequired) and struggled a lot because in my case also it was crashing sometimes only. I was calling [UITableViewController tableView] from outside of my tableview controller class which was getting called before loading the tableview. As my tableView wasn't loaded properly so my UITableViewController class was trying to call loadViewIfRequired API and which was calling ViewDidLoad on other thread (not in main thread).
I fixed this by not calling [UITableViewController tableView] this before my tableviewcontroller gets loaded also I loaded that in main thread which fixed my problem.
I faced the same issue. For me, the problem was that I changed the xib file but forgot to connect all the previous outlets.
Try to add this method. Hope this will help you.
-(void)setView:(UIView*)view
{
if(view != nil )
[super setView:view];
else
NSLog(#"Memory");
}

How to read this iphone app crash log

My app (named MyLittleApplication) crashes randomly when I click on a button that pops view controller.
I could use some help (to find out where should I start looking) with crash log:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x600332e0
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x351faf78 objc_msgSend + 16
1 Foundation 0x37d0a74c NSKVOPendingNotificationCreate + 216
2 Foundation 0x37d0a652 NSKeyValuePushPendingNotificationPerThread + 62
3 Foundation 0x37cfc744 NSKeyValueWillChange + 408
4 Foundation 0x37cd3848-[NSObject(NSKeyValueObserverNotification) willChangeValueForKey:] + 176
5 Foundation 0x37d55a14 _NSSetPointValueAndNotify + 76
6 UIKit 0x311f825a -[UIScrollView(Static) _adjustContentOffsetIfNecessary] + 1890
7 UIKit 0x31215a54 -[UIScrollView setFrame:] + 548
8 UIKit 0x31215802 -[UITableView setFrame:] + 182
9 POViO 0x000fcac8 0xf8000 + 19144
10 UIKit 0x31211b8e -[UIViewController _setViewAppearState:isAnimating:] + 138
11 UIKit 0x3126b8a8 -[UIViewController beginAppearanceTransition:animated:] + 184
12 UIKit 0x3121490c -[UINavigationController _startTransition:fromViewController:toViewController:] + 832
13 UIKit 0x312144fc -[UINavigationController _startDeferredTransitionIfNeeded] + 244
14 UIKit 0x3125e8e4 _popViewControllerNormal + 184
15 UIKit 0x3125e712 -[UINavigationController _popViewControllerWithTransition:allowPoppingLast:] + 386
16 UIKit 0x31242bba -[UINavigationController popToViewController:transition:] + 626
17 POViO 0x001074e6 0xf8000 + 62694
18 CoreFoundation 0x374553f6 -[NSObject performSelector:withObject:withObject:] + 46
19 UIKit 0x311eae00 -[UIApplication sendAction:to:from:forEvent:] + 56
20 UIKit 0x311eadbc -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 24
21 UIKit 0x311ead9a -[UIControl sendAction:to:forEvent:] + 38
22 UIKit 0x311eab0a -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 486
23 UIKit 0x311eb442 -[UIControl touchesEnded:withEvent:] + 470
24 UIKit 0x311e9924 -[UIWindow _sendTouchesForEvent:] + 312
25 UIKit 0x311e9312 -[UIWindow sendEvent:] + 374
26 UIKit 0x311cf68e -[UIApplication sendEvent:] + 350
27 UIKit 0x311cef34 _UIApplicationHandleEvent + 5820
28 GraphicsServices 0x33c11224 PurpleEventCallback + 876
29 CoreFoundation 0x374cf51c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
30 CoreFoundation 0x374cf4be __CFRunLoopDoSource1 + 134
31 CoreFoundation 0x374ce30c __CFRunLoopRun + 1364
32 CoreFoundation 0x3745149e CFRunLoopRunSpecific + 294
33 CoreFoundation 0x37451366 CFRunLoopRunInMode + 98
34 GraphicsServices 0x33c10432 GSEventRunModal + 130
35 UIKit 0x311fdcce UIApplicationMain + 1074
36 MyLittleApplication 0x000f90ae 0xf8000 + 4270
37 MyLittleApplication 0x000f9048 0xf8000 + 4168
I suspect that it has something to do with notificationCenter and UIDeviceOrientationDidChangeNotifications I use. Is this true or am I looking in the wrong direction?
I am calling
[notificationCenter removeObserver:self name:UIDeviceOrientationDidChangeNotification object:nil]
in viewDidUnload, this shuld be enough?
Can you please tell me what bug should i start looking for?
This is a stacktrace you see the stack of methods called when the crash happened.
You start at the bottom and work yourself up to the top and search for a method call from your app (the stacktrace includes calls from the frameworks too (e.g. -[UIScrollView(Static) _adjustContentOffsetIfNecessary])).
The topmost method call from your app is likely the cause of your error and you can see what the system tried afterwards.
In your case it seems that you call popToViewController and the iOS frameworks try to animate the transition from one UIViewController to the next. There seems to be a problem for the table view to set its frame and scroll to the contentOffset.
This is likely to be caused by a memory error. You get this hint by examining Exception Type: EXC_BAD_ACCESS (SIGSEGV)
EXC_BAD_ACCESS is likely a hint that you try to acces a something which is no more in the memory -> already released.
In general I would recomment to activate exveption breakpoints in Xcode:
Have you set the exception breakpoint?
got to breakpoint editor pane
click on the x in the bottom left corner
choose add exception breakpoint
Now you should see a stacktrace if an exception occurs. And Xcode should be at the line where the crash happens.
The second thing you should get familiar with is the zombie mode in Instruments.
You can find a good introduction to the zombi mode in this video.
In your case, you can see you have a EXC_BAD_ACCESS (SIGSEGV). This means you're trying to access something which isn't here, or at least was here but isn't anymore. If you can replicate the error, try using the Zombies mode of Instruments, it will tell will which thing it was expecting to access. The solution to this problem is often that you released the resource too early a resource you still need.
You might want to throw some NSLog statements in the methods just so you can have an idea of where things are going wrong. Sometimes those iOS messages can be a little cryptic.

App crashes but only when it's build for Ad-Hoc distro

My problem is this. I have an app that builds and runs fine in Debug mode, no crashes, memory errors, etc. As soon as I do an Ad-hoc build and try to run it on the device the main thread crashes at a certain point, for no apparent reason... The stack trace I managed to get from the device log is thus...
0 libSystem.B.dylib 0x30d7c2d4 __kill + 8
1 libSystem.B.dylib 0x30d7c2c4 kill + 4
2 libSystem.B.dylib 0x30d7c2b6 raise + 10
3 libSystem.B.dylib 0x30d90d72 abort + 50
4 libstdc++.6.dylib 0x34981a20 __gnu_cxx::__verbose_terminate_handler() + 376
5 libobjc.A.dylib 0x34a83594 _objc_terminate + 104
6 libstdc++.6.dylib 0x3497fdf2 __cxxabiv1::__terminate(void (*)()) + 46
7 libstdc++.6.dylib 0x3497fe46 std::terminate() + 10
8 libstdc++.6.dylib 0x3497ff16 __cxa_throw + 78
9 libobjc.A.dylib 0x34a824c4 objc_exception_throw + 64
10 CoreFoundation 0x3587a7c2 +[NSException raise:format:arguments:] + 62
11 CoreFoundation 0x3587a7fc +[NSException raise:format:] + 28
12 QuartzCore 0x31071222 CALayerSetPosition(CALayer*, CA::Vec2<double> const&, bool) + 134
13 QuartzCore 0x31071190 -[CALayer setPosition:] + 32
14 UIKit 0x341e4378 -[UIView(Geometry) setCenter:] + 16
15 MyApp 0x00012b2c 0x1000 + 72492
16 MyApp 0x0001276a 0x1000 + 71530
17 UIKit 0x341e3270 -[UIViewController view] + 104
18 UIKit 0x341efd04 -[UIViewController contentScrollView] + 16
19 UIKit 0x341efb74 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 24
20 UIKit 0x341efa72 -[UINavigationController _layoutViewController:] + 18
21 UIKit 0x341ef4cc -[UINavigationController _startTransition:fromViewController:toViewController:] + 248
22 UIKit 0x341ef358 -[UINavigationController _startDeferredTransitionIfNeeded] + 176
23 UIKit 0x341e30be -[UINavigationController pushViewController:transition:forceImmediate:] + 634
24 UIKit 0x341e2e34 -[UINavigationController pushViewController:animated:] + 28
25 MyApp 0x00004f80 0x1000 + 16256
26 UIKit 0x3420b834 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 656
27 UIKit 0x342cb60c -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 124
28 Foundation 0x31181df6 __NSFireDelayedPerform + 362
29 CoreFoundation 0x3583109c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 8
30 CoreFoundation 0x35830b54 __CFRunLoopDoTimer + 844
31 CoreFoundation 0x358021ae __CFRunLoopRun + 1082
32 CoreFoundation 0x35801c80 CFRunLoopRunSpecific + 224
33 CoreFoundation 0x35801b88 CFRunLoopRunInMode + 52
34 GraphicsServices 0x320c84a4 GSEventRunModal + 108
35 GraphicsServices 0x320c8550 GSEventRun + 56
36 UIKit 0x341dc322 -[UIApplication _run] + 406
37 UIKit 0x341d9e8c UIApplicationMain + 664
The other really strange thing is that if you close the app and stop it running (after the crash) in the background and then relaunch it, it bails out almost immediately quoting...
<Warning>: Application 'MyApp' exited abnormally with signal 11: Segmentation fault
Which I'm lead to believe is a memory access error (uninitialised memory access). I'm not doing anything crazy with pointers or anything so all I can presume is that it's a problem with the CF libraries...
Any thoughts or help would be HUGELY appreciated :)
It's hard to say exactly what the answer is without knowing more, but my first guess is that you are providing some invalid value to a UIView's center property.
There are two pieces of information missing that could help you/me find the answer.
First, lines like these in the stack trace need to be symbolicated:
15 MyApp 0x00012b2c 0x1000 + 72492
16 MyApp 0x0001276a 0x1000 + 71530
Knowing what is happening in those two lines will help you track it down, and knowing what the exception that got thrown (starting at line 11 in the stack trace) contains will help further. You may be able to get this information from looking at the device's Console output in Xcode's Organizer.
You can symbolicate the crash report if you have the dSYM file that was created when you built the app for AdHoc distribution. Dragging the crash report into Xcode's Organizer window will attempt to symbolicate it automatically. If that doesn't work, you can try using the symbolicatecrash script directly. It's tucked away in a path like this:
/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash

was unable to load a nib named

I just released my new App iBeat, which worked fine for me and my friends before release.
Now appearently many customers get the same crash, that is always happening at a similar stage.
Here's a (symbolicated) sample crash-report:
Exception Type: SIGTRAP
Exception Codes: #0 at 0x30d7c2d4
Crashed Thread: 0
Application Specific Information:
*** Terminating app due to uncaught exception \'NSInternalInconsistencyException\', reason: \'Could not load NIB in bundle: \'NSBundle </var/mobile/Applications/5BBE8B5E-ECF5-4CA8-97A6-1F5BF8AC7792/iBeat.app> (loaded)\' with name \'SettingsVC_iPad\'\'
Thread 0 Crashed:
0 libSystem.B.dylib 0x000792d4 __kill + 8
1 libSystem.B.dylib 0x000792bd raise + 17
2 iBeat 0x0003f301 uncaught_exception_handler (PLCrashReporter.m:137)
3 CoreFoundation 0x000a0adf __handleUncaughtException + 239
4 libobjc.A.dylib 0x00006593 _objc_terminate + 103
5 libstdc++.6.dylib 0x00042df9 __cxxabiv1::__terminate(void (*)()) + 53
6 libstdc++.6.dylib 0x00042e4d std::terminate() + 17
7 libstdc++.6.dylib 0x00042f1d __cxa_throw + 85
8 libobjc.A.dylib 0x000054cb objc_exception_throw + 71
9 CoreFoundation 0x000a07c9 +[NSException raise:format:arguments:] + 69
10 CoreFoundation 0x000a0803 +[NSException raise:format:] + 35
11 UIKit 0x001e9783 -[UINib instantiateWithOwner:options:] + 1111
12 UIKit 0x001eab39 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 93
13 UIKit 0x0013e8e5 -[UIViewController _loadViewFromNibNamed:bundle:] + 37
14 UIKit 0x0013dcb9 -[UIViewController loadView] + 81
15 UIKit 0x0003e227 -[UIViewController view] + 31
16 UIKit 0x0004ad0b -[UIViewController contentScrollView] + 23
17 UIKit 0x0004ab7b -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 31
18 UIKit 0x0004aa79 -[UINavigationController _layoutViewController:] + 25
19 UIKit 0x0004a551 -[UINavigationController _startTransition:fromViewController:toViewController:] + 381
20 UIKit 0x0004a35f -[UINavigationController _startDeferredTransitionIfNeeded] + 183
21 UIKit 0x0004a2a3 -[UINavigationController viewWillLayoutSubviews] + 15
22 UIKit 0x0004a23f -[UILayoutContainerView layoutSubviews] + 139
23 UIKit 0x000130cf -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 27
24 CoreFoundation 0x0003ebbf -[NSObject(NSObject) performSelector:withObject:] + 23
25 QuartzCore 0x0000f685 -[CALayer layoutSublayers] + 121
26 QuartzCore 0x0000f43d CALayerLayoutIfNeeded + 185
27 QuartzCore 0x0000f377 -[CALayer layoutIfNeeded] + 79
28 UIKit 0x0008c48f -[UIView(Hierarchy) layoutIfNeeded] + 23
29 UIKit 0x000d0ec1 -[UIViewController window:willAnimateRotationToInterfaceOrientation:duration:] + 357
30 UIKit 0x00110e49 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 3101
31 UIKit 0x000cf6db -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:] + 679
32 UIKit 0x000cefc7 -[UIViewController presentModalViewController:withTransition:] + 2139
33 UIKit 0x000ce6a3 -[UIViewController presentModalViewController:animated:] + 59
34 iBeat 0x000044f3 -[MetronomeVC settingsTapped] (MetronomeVC.m:956)
This crash happens across all supported iOS versions, with different nib-files, that is with SettingsVC_iPad, InfoVC_iPhone or Settings_VC_iPhone.
The problem is, I can't recreate this error, not on my iPod, neither on my iPad.
Any suggestions? (This crash seems to be really common, I already got 200 crashreports on this)
EDIT: To clarify, I did experiment with the downloaded version from the App Store, so I tried to recreate it with the exact version the errors happened with.
I am not sure it solves ur problem or not .. but I strongly doubt that this is the mistake ...
I think when u packaged ur application , u didn't copy ur nib file into ur project and has only a reference there..
You are not getting this error because probably you are taking your app from your development mac and the nib file's reference is present there ..
Delete the app from ur iphone and Try downloading the app from app store and then see ..
Sorry for the inconvenience, but it was totally my fault.
Really early in the development I was planning to do a french version, so I had an fr.lproj folder that I never deleted. Appearently the App was still looking for french versions of my IB files there, when started in french.
"On n'a jamais fini d'apprendre."