xcode 4 iOS 4.3 project template doesn't work - objective-c

I'm trying to create a multi-view iOS (4.3) application in xcode 4 using the view-based application template but have so far had no luck. Everything builds but then crashes without error, with me getting the message SIGABRT in the line "int retVal = UIApplicationMain(argc, argv, nil, nil);" in supporting file-> main.m
The same thing happens in both my application and the plain (view-based application ) template from xcode.
Any ideas what the problem might be?
Here's the log:
GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".Attaching to process 3884.
2011-03-15 18:18:16.226 Server-sideStory[3884:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'UISplitViewController is only supported when running under UIUserInterfaceIdiomPad'
*** Call stack at first throw:
(
0 CoreFoundation 0x00dc45a9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x00f18313 objc_exception_throw + 44
2 CoreFoundation 0x00d7cef8 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x00d7ce6a +[NSException raise:format:] + 58
4 UIKit 0x0031d512 -[UISplitViewController _commonInit] + 165
5 UIKit 0x0031d971 -[UISplitViewController initWithCoder:] + 92
6 Foundation 0x00784c24 _decodeObjectBinary + 3296
7 Foundation 0x00783d91 _decodeObject + 224
8 UIKit 0x00211979 -[UIRuntimeConnection initWithCoder:] + 212
9 Foundation 0x00784c24 _decodeObjectBinary + 3296
10 Foundation 0x007859f5 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1354
11 Foundation 0x00786024 -[NSArray(NSArray) initWithCoder:] + 596
12 Foundation 0x00784c24 _decodeObjectBinary + 3296
13 Foundation 0x00783d91 _decodeObject + 224
14 UIKit 0x00210c36 -[UINib instantiateWithOwner:options:] + 804
15 UIKit 0x00212ab7 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168
16 UIKit 0x0001817a -[UIApplication _loadMainNibFile] + 172
17 UIKit 0x00018cf4 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 291
18 UIKit 0x00023617 -[UIApplication handleEvent:withNewEvent:] + 1533
19 UIKit 0x0001babf -[UIApplication sendEvent:] + 71
20 UIKit 0x00020f2e _UIApplicationHandleEvent + 7576
21 GraphicsServices 0x00ffd992 PurpleEventCallback + 1550
22 CoreFoundation 0x00da5944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
23 CoreFoundation 0x00d05cf7 __CFRunLoopDoSource1 + 215
24 CoreFoundation 0x00d02f83 __CFRunLoopRun + 979
25 CoreFoundation 0x00d02840 CFRunLoopRunSpecific + 208
26 CoreFoundation 0x00d02761 CFRunLoopRunInMode + 97
27 UIKit 0x000187d2 -[UIApplication _run] + 623
28 UIKit 0x00024c93 UIApplicationMain + 1160
29 Server-sideStory 0x00002719 main + 121
30 Server-sideStory 0x00002695 start + 53
)
terminate called after throwing an instance of 'NSException'
sharedlibrary apply-load-rules all
Current language: auto; currently objective-c

It's telling you that UISplitViewController is not supported on the iPhone - only works on the iPad.

Related

App crashes immediately on start up.. Crash in iOS9 on release only through TestFlight or Store. Distributed with Xcode 8

I have an iPhone app which is crashing on iOS9 devices only after being released through TestFlight or the App Store. The build specs are:
Deployment target 8.1
Base SDK: Latest iOS (iOS 10.1)
Before I post the crash logs I wanted to mention that this app has been on the app store for the past 2 years and has never had issues. We have done 3 updates to the app store this year with 2 of those being after iOS10 was released and there were no issues with iOS9 devices.
The odd thing is that we are using Crashlytics and it has reported over 600 crashes, each one of those a singular crash that points to either an internal apple framework or private API. I have got an iOS 9.2.1 device that is also crashing that I have pulled the logs from. They are starting to follow a trend however I need some help deciphering the cause of the crashes.
Crash 1:
Thread 0 Crashed:
0 libobjc.A.dylib 0x22fb3af6 objc_msgSend + 22
1 libobjc.A.dylib 0x22fc0f8a objc_object::sidetable_release(bool) + 150
2 libobjc.A.dylib 0x22fc13cc (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 388
3 FrontBoardServices 0x24aebc7e -[FBSSerialQueue _performNext] + 242
4 FrontBoardServices 0x24aebf60 -[FBSSerialQueue _performNextFromRunLoopSource] + 44
5 CoreFoundation 0x2379d256 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
6 CoreFoundation 0x2379ce46 __CFRunLoopDoSources0 + 454
7 CoreFoundation 0x2379b1ae __CFRunLoopRun + 806
8 CoreFoundation 0x236edbb8 CFRunLoopRunSpecific + 516
9 CoreFoundation 0x236ed9ac CFRunLoopRunInMode + 108
10 UIKit 0x279dfa16 -[UIApplication _run] + 526
11 UIKit 0x279d9fb4 UIApplicationMain + 144
12 Where Next 0x000a7816 main (main.m:16)
13 libdyld.dylib 0x233a0872 start + 2
Crash 2:
Thread 0 Crashed:
0 libobjc.A.dylib 0x22fb3af6 objc_msgSend + 22
1 CoreUI 0x277e3022 -[CUICatalog _resolvedRenditionKeyFromThemeRef:withBaseKey:scaleFactor:devic eIdiom:deviceSubtype:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:] + 646
2 CoreUI 0x277e2d98 -[CUICatalog _resolvedRenditionKeyForName:scaleFactor:deviceIdiom:deviceSubt ype:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:withBaseKeySelector:] + 284
3 CoreUI 0x277e252a -[CUICatalog namedLookupWithName:scaleFactor:deviceIdiom:deviceSubtype:sizeClassHorizontal:sizeClassVertical:] + 94
4 UIKit 0x28183a2c __98-[_UIAssetManager imageNamed:scale:idiom:subtype:cachingOptions:sizeClassPair:attachCatalogImage:]_block_invoke + 496
5 UIKit 0x2818377e -[_UIAssetManager imageNamed:scale:idiom:subtype:cachingOptions:sizeClassPair:attachCatalogImage:] + 230
6 UIKit 0x2798bcd4 -[_UIAssetManager imageNamed:scale:idiom:subtype:] + 108
7 UIKit 0x2798bc62 -[_UIAssetManager imageNamed:idiom:subtype:] + 46
8 UIKit 0x2798bc2e -[_UIAssetManager imageNamed:idiom:] + 46
9 UIKit 0x27e1e438 -[UIImageNibPlaceholder initWithCoder:] + 456
10 UIKit 0x27f32180 UINibDecoderDecodeObjectForValue + 780
11 UIKit 0x27f31e68 -[UINibDecoder decodeObjectForKey:] + 296
12 UIKit 0x27e0a602 -[UIButtonContent initWithCoder:] + 382
13 UIKit 0x27f32180 UINibDecoderDecodeObjectForValue + 780
14 UIKit 0x27f3250c UINibDecoderDecodeObjectForValue + 1688
15 UIKit 0x27f31e68 -[UINibDecoder decodeObjectForKey:] + 296
16 UIKit 0x27e0d03c -[UIButton initWithCoder:] + 748
17 UIKit 0x27f32180 UINibDecoderDecodeObjectForValue + 780
18 UIKit 0x27f31e68 -[UINibDecoder decodeObjectForKey:] + 296
19 UIKit 0x27e1d202 -[UIRuntimeConnection initWithCoder:] + 114
20 UIKit 0x27e1d88c -[UIRuntimeEventConnection initWithCoder:] + 52
21 UIKit 0x27f32180 UINibDecoderDecodeObjectForValue + 780
22 UIKit 0x27f32112 UINibDecoderDecodeObjectForValue + 670
23 UIKit 0x27f31e68 -[UINibDecoder decodeObjectForKey:] + 296
24 UIKit 0x27e1c796 -[UINib instantiateWithOwner:options:] + 1110
25 UIKit 0x27cd6676 -[UIViewController _loadViewFromNibNamed:bundle:] + 322
26 UIKit 0x27aab9d6 -[UIViewController loadView] + 142
27 UIKit 0x27971a0a -[UIViewController loadViewIfRequired] + 150
28 UIKit 0x27971958 -[UIViewController view] + 24
29 UIKit 0x281edf4a __67-[UIStoryboardEmbedSegueTemplate newDefaultPerformHandlerForSegue:]_block_invoke + 498
30 UIKit 0x280642d4 -[UIStoryboardSegueTemplate _performWithDestinationViewController:sender:] + 432
31 UIKit 0x28064102 -[UIStoryboardSegueTemplate _perform:] + 66
32 UIKit 0x28064374 -[UIStoryboardSegueTemplate perform:] + 132
33 UIKit 0x27971bca -[UIViewController loadViewIfRequired] + 598
34 UIKit 0x27971958 -[UIViewController view] + 24
35 UIKit 0x279786d0 -[UIWindow addRootViewControllerViewIfPossible] + 68
36 UIKit 0x27975bf2 -[UIWindow _setHidden:forced:] + 278
37 UIKit 0x279ea914 -[UIWindow makeKeyAndVisible] + 48
38 UIKit 0x27c0f11c -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3320
39 UIKit 0x27c12f0e -[UIApplication _runWithMainScene:transitionContext:completion:] + 1570
40 UIKit 0x27c26c14 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke3228 + 36
41 UIKit 0x27c103f6 -[UIApplication workspaceDidEndTransaction:] + 134
42 FrontBoardServices 0x24aebc74 -[FBSSerialQueue _performNext] + 232
43 FrontBoardServices 0x24aebf60 -[FBSSerialQueue _performNextFromRunLoopSource] + 44
44 CoreFoundation 0x2379d256 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
45 CoreFoundation 0x2379ce46 __CFRunLoopDoSources0 + 454
46 CoreFoundation 0x2379b1ae __CFRunLoopRun + 806
47 CoreFoundation 0x236edbb8 CFRunLoopRunSpecific + 516
48 CoreFoundation 0x236ed9ac CFRunLoopRunInMode + 108
49 UIKit 0x279dfa16 -[UIApplication _run] + 526
50 UIKit 0x279d9fb4 UIApplicationMain + 144
51 Where Next 0x000e8816 main (main.m:16)
52 libdyld.dylib 0x233a0872 start + 2
Crash 3:
Thread 0 Crashed:
0 libsystem_malloc.dylib 0x2349c43a tiny_free_list_remove_ptr + 126
1 libsystem_malloc.dylib 0x2349b4d0 szone_free_definite_size + 932
2 libcache.dylib 0x2330d6f4 cache_set_name + 20
3 CoreFoundation 0x2372eb94 -[NSCache setName:] + 136
4 CoreUI 0x277e2f0e -[CUICatalog _resolvedRenditionKeyFromThemeRef:withBaseKey:scaleFactor:devic eIdiom:deviceSubtype:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:] + 370
5 CoreUI 0x277e2d98 -[CUICatalog _resolvedRenditionKeyForName:scaleFactor:deviceIdiom:deviceSubt ype:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:withBaseKeySelector:] + 284
6 CoreUI 0x277e252a -[CUICatalog namedLookupWithName:scaleFactor:deviceIdiom:deviceSubtype:sizeClassHorizontal:sizeClassVertical:] + 94
7 UIKit 0x28183a2c __98-[_UIAssetManager imageNamed:scale:idiom:subtype:cachingOptions:sizeClassPair:attachCatalogImage:]_block_invoke + 496
8 UIKit 0x2818377e -[_UIAssetManager imageNamed:scale:idiom:subtype:cachingOptions:sizeClassPair:attachCatalogImage:] + 230
9 UIKit 0x28183f50 -[_UIAssetManager imageNamed:withTrait:] + 408
10 UIKit 0x27c4e94c +[UIImage imageNamed:inBundle:compatibleWithTraitCollection:] + 172
11 UIKit 0x27aae536 +[UIImage imageNamed:] + 110
12 Where Next 0x000e555e -[PreferenceObject resetLocations] (PreferenceObject.m:184)
13 Where Next 0x000e4b6e __33+[PreferenceObject sharedManager]_block_invoke (PreferenceObject.m:92)
14 libdispatch.dylib 0x23377dc2 _dispatch_client_callout + 22
15 libdispatch.dylib 0x233789b2 dispatch_once_f + 62
16 Where Next 0x000e4980 +[PreferenceObject sharedManager] (once.h:75)
17 Where Next 0x00102440 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.m:57)
18 Where Next 0x002ced6a VMDidFinishLaunchingWithOptions (UIApplication+VMRuntime.m:138)
19 UIKit 0x279e664e -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 394
20 UIKit 0x27c0f032 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3086
21 UIKit 0x27c12f0e -[UIApplication _runWithMainScene:transitionContext:completion:] + 1570
22 UIKit 0x27c26c14 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke3228 + 36
23 UIKit 0x27c103f6 -[UIApplication workspaceDidEndTransaction:] + 134
24 FrontBoardServices 0x24aebc74 -[FBSSerialQueue _performNext] + 232
25 FrontBoardServices 0x24aebf60 -[FBSSerialQueue _performNextFromRunLoopSource] + 44
26 CoreFoundation 0x2379d256 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
27 CoreFoundation 0x2379ce46 __CFRunLoopDoSources0 + 454
28 CoreFoundation 0x2379b1ae __CFRunLoopRun + 806
29 CoreFoundation 0x236edbb8 CFRunLoopRunSpecific + 516
30 CoreFoundation 0x236ed9ac CFRunLoopRunInMode + 108
31 UIKit 0x279dfa16 -[UIApplication _run] + 526
32 UIKit 0x279d9fb4 UIApplicationMain + 144
33 Where Next 0x00103816 main (main.m:16)
34 libdyld.dylib 0x233a0872 start + 2
The last two crashes look like they may be failing on finding an image asset... However because I cannot get this to replicate in debug mode or any form of "run" from Xcode I am stuck.
Appreciate the help community!
The same problem occurs to my app. It crashes in iOS9 on release only through TestFlight or AppStore.
See the accepted answer https://forums.developer.apple.com/thread/60919 . It works for me,and I fixed the bug.
How to resolve "ERROR ITMS-90682: Invalid Bundle - The asset catalog at 'Payload/XXXXX/Assets.car' can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier."
With Xcode 8 GM, this error will occur if you include 16-bit or P3 assets in an app submission targeting iOS releases earlier then iOS 9.3. If your app requires wide color functionality you must change your Deployment Target to iOS 9.3 or later. If your app does not require wide color functionality and you wish to deploy it to older iOS versions then you should replace all 16-bit or P3 assets with 8-bit sRGB assets. You can find 16-bit or P3 assets by running “assetutil” on the asset catalog named in the error message from iTunes Connect. The following steps outline the process:
Create an Inspectable .ipa file. In the Xcode Organizer (Xcode->Window->Organizer), select an archive to inspect, click “Export...", and choose "Export for Enterprise or Ad-Hoc Deployment". This will create a local copy of the .ipa file for your app.
Locate that .ipa file and change its the extension to .zip.
Expand the .zip file. This will produce a Payload folder containing your .app bundle.
Open a terminal and change the working directory to the top level of your .app bundle cd path/to/Payload/your.app
Use the find tool to locate Assets.car files in your .app bundle as shown below: find . -name 'Assets.car'
Use the assetutil tool to find any 16-bit or P3 assets, in each Assets.car your application has as shown below. : sudo xcrun --sdk iphoneos assetutil --info /path/to/a/Assets.car > /tmp/Assets.json
Examine the resulting /tmp/Assets.json and look for any contents containing “DisplayGamut": “P3” and its associated “Name". This will be the name of your imageset containing one or more 16-bit or P3 assets.
Replace those assets with 8-bit / sRGB assets, then rebuild your app.
Update: If your Deployment Target is set to either 8.3 or 8.4 and you have an asset catalog then you will receive this same error message, even if you do not actually have 16-bit or P3 assets. In this case you will either need to lower your Deployment Target to 8.2, or move it up to 9.x.
Release crashes (crashes that happen on builds sent through the App Store or TestFlight) can be tough to nail down. I had one which was crashing on NSArray's containsObject: function, and could not reproduce it myself, or so I thought.
I did the following to reproduce the bug.
Went to Product -> Scheme -> Edit Scheme...
Clicked on the "Info" tab for my standard debug scheme
Changed the build configuration from "Debug" to "Release"
Rebuilt and ran the project
In some cases, this is not enough to reproduce a release crash. I did the next steps to reproduce it.
Unchecked the "Debug Executable" within that earlier Info tab on the scheme
Cleaned my project and build folder (Command-Shift-K and Command-Alt-Shift-K respectively)
Rebuilt and ran the project
Here is what it would look like on my configuration if I needed to do the same thing.
Once you are able to reproduce the crash (hopefully you can reproduce with logs), try your usual debugging methods to see where it is crashing. Play a sound when something executes, comment out lines, etc.
I unfortunately can't know your exact crash, though this method above helped me reproduce an issue 90% of our users were having and I wasn't, simply because I was building on debug before.

Crash Core Plot library

I am using core plot library Release 2.0 downloaded from https://github.com/core-plot/core-plot/releases in MAC application to generate the bar graphs. When i install application on OSX 10.8 and 10.7 application crashes. It works well above 10.8.3. The linker flags is -ObjC and -all_load is already set in build settings.
I am getting below issue in logs. Can any one please look the issue and help me to resolve.
-[NSColorSpaceColor CGColor]: unrecognized selector sent to instance 0x7ff4caa6e0c0
-[NSColorSpaceColor CGColor]: unrecognized selector sent to instance 0x7ff4caa6e0c0
2016-05-10 11:39:17.072 [375:807] (
0 CoreFoundation 0x00007fff8f781d16 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff96a329ea objc_exception_throw + 43
2 CoreFoundation 0x00007fff8f80ccfe -[NSObject doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff8f76f073 ___forwarding___ + 371
4 CoreFoundation 0x00007fff8f76ee88 _CF_forwarding_prep_0 + 232
5 CorePlot 0x0000000101720cbf +[CPTTextStyle(CPTPlatformSpecificTextStyleExtensions) textStyleWithAttributes:] + 191
6 CorePlot 0x000000010170e3ee -[CPTTextLayer initWithAttributedText:] + 62
7 CorePlot 0x00000001017083b8 -[CPTAxis updateAxisLabelsAtLocations:inRange:useMajorAxisLabels:] + 1880
8 CorePlot 0x00000001017089cc -[CPTAxis relabel] + 700
9 CorePlot 0x000000010170985a -[CPTAxis layoutSublayers] + 42
10 QuartzCore 0x00007fff9378e9aa _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 312
11 QuartzCore 0x00007fff9378deec _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 308
12 QuartzCore 0x00007fff9378dc74 _ZN2CA11Transaction6commitEv + 274
13 QuartzCore 0x00007fff9378d275 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 63
14 CoreFoundation 0x00007fff8f741f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
15 CoreFoundation 0x00007fff8f741e96 __CFRunLoopDoObservers + 374
16 CoreFoundation 0x00007fff8f7168e2 CFRunLoopRunSpecific + 258
17 HIToolbox 0x00007fff951b6c57 RunCurrentEventLoopInMode + 277
18 HIToolbox 0x00007fff951be33d ReceiveNextEventCommon + 355
19 HIToolbox 0x00007fff951be1ca BlockUntilNextEventMatchingListInMode + 62
20 AppKit 0x00007fff903b73e9 _DPSNextEvent + 659
21 AppKit 0x00007fff903b6cf0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
22 AppKit 0x00007fff903b368d -[NSApplication run] + 456
23 AppKit 0x00007fff90630cfb NSApplicationMain + 860
)

Exception type: 02 exception code: 08badf00d failed to launch in time

I need some help with this crash log. I've seen other posts about this error having to do with the watchdog timing out but I have not been able to figure this out.
Exception type: 02
exception code: 08badf00d
failed to launch in time
Elapsed total CPU time (seconds): 26.920 (user 26.920, system 0.000), 67% CPU Elapsed application CPU time (seconds): 0.850, 2% CPU
Unknown thread crashed with unknown flavor: 5, state_count: 1
MORE details:
Thread0name: Dispatchqueue:com.apple.main-thread Thread 0:
0 libsystem_kernel.dylib 1 libsystem_c.dylib
2 CoreData
3 CoreData performFetch:] + 334
4 MyPaleo
5 UIKit
loadViewIfRequired] + 360
6 UIKit
contentScrollView] + 22
7 UIKit
_computeAndApplyScrollContentInsetDeltaForViewController:] + 24
8 UIKit 0x3346ef70-[UINavigationController _layoutViewController:] + 28
9 UIKit 0x3346ee94-[UINavigationController _updateScrollViewFromViewController:toViewController:] + 268
10 UIKit 0x3346e5d4-[UINavigationController _startTransition:fromViewController:toViewController:] + 60
11 UIKit 0x3346e4bc-[UINavigationController _startDeferredTransitionIfNeeded:] + 320
0x399950fc__psynch_mutexwait+24 0x398de124 pthread_mutex_lock + 388 0x31383e8c -[_PFLock lock] + 20 0x31465752 -[NSFetchedResultsController
0x0001a5d2 0x2000 + 99794 0x3341a590 -[UIViewController
0x3346f146 -[UIViewController 0x3346f08c -[UINavigationController
12 UIKit
layoutSubviews] + 176
13 UIKit
layoutSublayersOfLayer:] + 254
14 QuartzCore
15 QuartzCore
CA::Layer::layout_if_needed(CA::Transaction*) + 456
16 QuartzCore 0x331d77ca-[CALayerlayoutIfNeeded]+138 17 UIKit 0x334a80e4-[UIViewController window:setupWithInterfaceOrientation:] + 204
18 UIKit 0x334a72d0-[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 3616
0x3343f4e4-[UILayoutContainerView 0x333fe7fe-[UIView(CALayerDelegate)
0x331a8d86-[CALayerlayoutSublayers]+210 0x331a8924
19 UIKit 0x334a64a2-[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 42 20 UIKit 0x334a642c-[UIWindow _setRotatableViewOrientation:duration:force:] + 64
21 UIKit 0x335dc304__57-[UIWindow _updateToInterfaceOrientation:duration:force:]_block_invoke_0 + 100
22 UIKit 0x3346468e-[UIWindow _updateToInterfaceOrientation:duration:force:] + 214
23 UIKit 0x334643d0-[UIWindow setAutorotates:forceUpdateInterfaceOrientation:] + 688
24 UIKit 0x33463d36-[UIViewController _tryBecomeRootViewControllerInWindow:] + 154
25 UIKit 0x3345aea6-[UIWindow addRootViewControllerViewIfPossible] + 366
26 UIKit
360
27 UIKit
28 UIKit
_callInitializationDelegatesForURL:payload:suspended:] + 1662
29 UIKit 0x33453846-[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694
30 UIKit
handleEvent:withNewEvent:] + 1000
31 UIKit
32 UIKit
33 GraphicsServices
34 GraphicsServices
35 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
36 CoreFoundation 37 CoreFoundation 38 CoreFoundation 39 CoreFoundation 40 UIKit
41 UIKit
42 MyPaleo
43 libdyld.dylib
0x315c8112 __CFRunLoopDoSource1 + 134 0x315c6f94 __CFRunLoopRun + 1380 0x31539eb8 CFRunLoopRunSpecific + 352 0x31539d44 CFRunLoopRunInMode + 100 0x33452480 -[UIApplication _run] + 664 0x3344f2fc UIApplicationMain + 1116 0x0001eb16 0x2000 + 117526
0x398ceb1c start + 0
Ate Bad Food (0x8badf00d) is when the Watch Dog kills your app because its taking too long to launch. Your application:didFinishLaunchingWithOptions: method must complete in less then 5 second or the Watch Dog will bite you. Note: when you run in the debugger the watch dog is disabled. You must test a release build on a device before submitting to the App Store. To fix this error you need to run you App on a device in Instruments using a Time Profiler.
You should to watch WWDC 2012 Session 225 Up and Running - Making a great impression with every launch. It demos exactly how to fix this error.
https://developer.apple.com/videos/wwdc/2012/?id=225

UINavigationController and UITabBarController in Xcode 4

I have made the switch from Xcode 3 to Xcode 4 and my whole work flow pattern is ruined. I made the change because I think iOS 5 will only be able to be developed on Xcode 4.
Anyways, making a UINavigationController with a UITabBarController used to be straight forward for me using the Interface Builder, Now I cant find the correct attributes. It feels like Apple have forgotten certain attributes from the list.
How would i do the equal of the tutorial below in xcode 4.
http://www.xcode-tutorials.com/uitabbarcontroller-and-uinavigationcontroller/
I get a different error
GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".Attaching to process 56741.
2011-06-19 15:58:31.814 FaceDirectory[56741:207] Reachability Flag Status: -R ------- networkStatusForFlags
2011-06-19 15:58:31.815 FaceDirectory[56741:207] Reachable WiFi
2011-06-19 15:58:32.792 FaceDirectory[56741:207] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UITableViewController loadView] loaded the "FaceUsersViewController" nib but didn't get a UITableView.'
*** Call stack at first throw:
(
0 CoreFoundation 0x00e315a9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x00f85313 objc_exception_throw + 44
2 CoreFoundation 0x00de9ef8 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x00de9e6a +[NSException raise:format:] + 58
4 UIKit 0x0028ce9b -[UITableViewController loadView] + 275
5 UIKit 0x0013300e -[UIViewController view] + 56
6 UIKit 0x00131482 -[UIViewController contentScrollView] + 42
7 UIKit 0x00141f25 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 48
8 UIKit 0x00140555 -[UINavigationController _layoutViewController:] + 43
9 UIKit 0x00141870 -[UINavigationController _startTransition:fromViewController:toViewController:] + 524
10 UIKit 0x0013c32a -[UINavigationController _startDeferredTransitionIfNeeded] + 266
11 UIKit 0x002572e9 -[UILayoutContainerView layoutSubviews] + 226
12 QuartzCore 0x01952a5a -[CALayer layoutSublayers] + 181
13 QuartzCore 0x01954ddc CALayerLayoutIfNeeded + 220
14 QuartzCore 0x018fa0b4 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 310
15 QuartzCore 0x018fb294 _ZN2CA11Transaction6commitEv + 292
16 QuartzCore 0x018fb46d _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 99
17 CoreFoundation 0x00e1289b __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 27
18 CoreFoundation 0x00da76e7 __CFRunLoopDoObservers + 295
19 CoreFoundation 0x00d701d7 __CFRunLoopRun + 1575
20 CoreFoundation 0x00d6f840 CFRunLoopRunSpecific + 208
21 CoreFoundation 0x00d6f761 CFRunLoopRunInMode + 97
22 GraphicsServices 0x013091c4 GSEventRunModal + 217
23 GraphicsServices 0x01309289 GSEventRun + 115
24 UIKit 0x00091c93 UIApplicationMain + 1160
25 FaceDirectory 0x00002689 main + 121
26 FaceDirectory 0x00002605 start + 53
)
terminate called after throwing an instance of 'NSException'
sharedlibrary apply-load-rules all
Current language: auto; currently objective-c
(gdb)
If you're talking about changing FirstViewController from a View Controller to a Navigation Controller - then edit FirstViewController so that the declaration looks like this:
#interface FirstViewController : UIViewController {
I also see that the views and their controllers have already been created and hooked up for you.
Edit
The edited question shows that you haven't set up the view outlet for FacetimeUsersViewController nib

xcode having error Thread 1:Program received signal 'SIGABRT'

I have a piece of code related to MapKit which works fine on my iMac but errors out on my MacBook logging,
Thread 1:Program received signal 'SIGABRT'
and here is the entire log,
GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".Attaching to process 2416.
2011-06-08 09:58:31.312 iCodeBlogMap[2416:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<iCodeBlogMapViewController 0x5b3f830> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key tableview.'
*** Call stack at first throw:
(
0 CoreFoundation 0x00f545a9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x010a8313 objc_exception_throw + 44
2 CoreFoundation 0x00f544e1 -[NSException raise] + 17
3 Foundation 0x00798677 _NSSetUsingKeyValueSetter + 135
4 Foundation 0x007985e5 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 285
5 UIKit 0x0021430c -[UIRuntimeOutletConnection connect] + 112
6 CoreFoundation 0x00eca8cf -[NSArray makeObjectsPerformSelector:] + 239
7 UIKit 0x00212d23 -[UINib instantiateWithOwner:options:] + 1041
8 UIKit 0x00214ab7 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168
9 UIKit 0x000ca628 -[UIViewController _loadViewFromNibNamed:bundle:] + 70
10 UIKit 0x000c8134 -[UIViewController loadView] + 120
11 UIKit 0x000c800e -[UIViewController view] + 56
12 UIKit 0x0003bd42 -[UIWindow addRootViewControllerViewIfPossible] + 51
13 iCodeBlogMap 0x00002057 -[iCodeBlogMapAppDelegate application:didFinishLaunchingWithOptions:] + 135
14 UIKit 0x00018c89 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1163
15 UIKit 0x0001ad88 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 439
16 UIKit 0x00025617 -[UIApplication handleEvent:withNewEvent:] + 1533
17 UIKit 0x0001dabf -[UIApplication sendEvent:] + 71
18 UIKit 0x00022f2e _UIApplicationHandleEvent + 7576
19 GraphicsServices 0x0118d992 PurpleEventCallback + 1550
20 CoreFoundation 0x00f35944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
21 CoreFoundation 0x00e95cf7 __CFRunLoopDoSource1 + 215
22 CoreFoundation 0x00e92f83 __CFRunLoopRun + 979
23 CoreFoundation 0x00e92840 CFRunLoopRunSpecific + 208
24 CoreFoundation 0x00e92761 CFRunLoopRunInMode + 97
25 UIKit 0x0001a7d2 -[UIApplication _run] + 623
26 UIKit 0x00026c93 UIApplicationMain + 1160
27 iCodeBlogMap 0x00001f99 main + 121
28 iCodeBlogMap 0x00001f15 start + 53
)
terminate called after throwing an instance of 'NSException'
sharedlibrary apply-load-rules all
Current language: auto; currently objective-c
(gdb)
How can I fix this error?
It looks like your code is crashing as it loads your iCodeBlogMapViewController nib file and tries to wire up an IBOutlet named "tableview". If you've modified your source code or nib file recently, I'd check to make sure they're still in sync; it may be that your code compiles on the iMac because you compiled it once, changed the source or the nib, and haven't done a "clean" to remove old object files.