{"id":5069,"date":"2014-03-30T18:32:40","date_gmt":"2014-03-30T18:32:40","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/app-crashing-when-loading-nibs-but-only-after-firmware-upgrade-to-ios-5-collection-of-common-programming-errors\/"},"modified":"2014-03-30T18:32:40","modified_gmt":"2014-03-30T18:32:40","slug":"app-crashing-when-loading-nibs-but-only-after-firmware-upgrade-to-ios-5-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/app-crashing-when-loading-nibs-but-only-after-firmware-upgrade-to-ios-5-collection-of-common-programming-errors\/","title":{"rendered":"App crashing when loading NIBs &#8211; but only after firmware upgrade to iOS 5-Collection of common programming errors"},"content":{"rendered":"<p>Some users of my app have reported crashes occurring only when opening the app after a firmware upgrade to iOS 5. Everything was fine prior to the firmware upgrade &#8211; including running the app and upgrading to a newer version of the app and then running it.<\/p>\n<p>The crash log indicates the crash is occurring when a NIB is loaded:<\/p>\n<pre><code>0   CoreFoundation                  0x32bb38bf __exceptionPreprocess + 163\n1   libobjc.A.dylib                 0x36a1d1e5 objc_exception_throw + 33\n2   CoreFoundation                  0x32bb37b9 +[NSException raise:format:] + 1\n3   CoreFoundation                  0x32bb37db +[NSException raise:format:] + 35\n4   UIKit                           0x3169a747 -[UINib instantiateWithOwner:options:] + 1567\n5   UIKit                           0x3160a9cb -[UIViewController _loadViewFromNibNamed:bundle:] + 247\n6   UIKit                           0x314e9ea1 -[UIViewController loadView] + 89\n7   UIKit                           0x3145f78b -[UIViewController view] + 51\n8   UIKit                           0x3146bc39 -[UIViewController contentScrollView] + 25\n9   UIKit                           0x3146baa9 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 37\n10  UIKit                           0x3146b98f -[UINavigationController _layoutViewController:] + 35\n11  UIKit                           0x3146b211 -[UINavigationController _startTransition:fromViewController:toViewController:] + 501\n12  UIKit                           0x3146af53 -[UINavigationController _startDeferredTransitionIfNeeded] + 251\n13  UIKit                           0x3145f673 -[UINavigationController pushViewController:transition:forceImmediate:] + 807\n14  UIKit                           0x3145f349 -[UINavigationController pushViewController:animated:] + 37\n<\/code><\/pre>\n<p>For some reason, deleting and reinstalling the app <em>after<\/em> the iOS 5 firmware upgrade seems to resolve the issue.<\/p>\n<p>I&#8217;m utterly baffled as to what the cause could be. I&#8217;d really appreciate any thoughts you may have.<\/p>\n<p>Thanks in advance!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some users of my app have reported crashes occurring only when opening the app after a firmware upgrade to iOS 5. Everything was fine prior to the firmware upgrade &#8211; including running the app and upgrading to a newer version of the app and then running it. The crash log indicates the crash is occurring [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5069","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5069"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5069\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}