Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-16-2011, 03:45 AM   #1 (permalink)
Registered Member
 
marshusensei's Avatar
 
Join Date: Mar 2011
Location: Australia
Age: 28
Posts: 105
marshusensei is on a distinguished road
Default Simple Drawing App crashing on launch - was working :(

Im hoping somebody can help me. I don't know why this is no longer working for me... can anyone make something out of this crash log:

Code:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/marshusensei/Library/Application Support/iPhone Simulator/4.2/Applications/A10938B2-D19D-4C92-A3B9-95B4C7C68DCF/Simple Drawing.app> (loaded)' with name 'MainWindow''
*** Call stack at first throw:
(
	0   CoreFoundation                      0x00da9be9 __exceptionPreprocess + 185
	1   libobjc.A.dylib                     0x00efe5c2 objc_exception_throw + 47
	2   CoreFoundation                      0x00d62628 +[NSException raise:format:arguments:] + 136
	3   CoreFoundation                      0x00d6259a +[NSException raise:format:] + 58
	4   UIKit                               0x0020a6c4 -[UINib instantiateWithOwner:options:] + 2024
	5   UIKit                               0x0020c081 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168
	6   UIKit                               0x00016943 -[UIApplication _loadMainNibFile] + 172
	7   UIKit                               0x000174ca -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 291
	8   UIKit                               0x00021db2 -[UIApplication handleEvent:withNewEvent:] + 1533
	9   UIKit                               0x0001a202 -[UIApplication sendEvent:] + 71
	10  UIKit                               0x0001f732 _UIApplicationHandleEvent + 7576
	11  GraphicsServices                    0x0101ea36 PurpleEventCallback + 1550
	12  CoreFoundation                      0x00d8b064 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
	13  CoreFoundation                      0x00ceb6f7 __CFRunLoopDoSource1 + 215
	14  CoreFoundation                      0x00ce8983 __CFRunLoopRun + 979
	15  CoreFoundation                      0x00ce8240 CFRunLoopRunSpecific + 208
	16  CoreFoundation                      0x00ce8161 CFRunLoopRunInMode + 97
	17  UIKit                               0x00016fa8 -[UIApplication _run] + 636
	18  UIKit                               0x0002342e UIApplicationMain + 1160
	19  Simple Drawing                    0x00001b29 main + 121
	20  Simple Drawing                    0x00001aa5 start + 53
	21  ???                                 0x00000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException'
Any ideas what I have done wrong?

Thanks in advance
marshusensei is offline   Reply With Quote
Old 04-16-2011, 05:26 AM   #2 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 27
jamesDot is on a distinguished road
Default

Have you changed the names of any of your Xib files recently? Take a look at the code in your App Delegate and check to ensure that the Nib that it's trying to load post-launch, is definitely available in the bundle.

That's my thoughts anyways... I'm sure someone with a lot more experience will be along shortly to offer some better advice!
__________________
Make sure you're ready for the Zombie Apocalypse!

Zombie Plans on the App Store

Immunis.co.uk
jamesDot is offline   Reply With Quote
Old 04-16-2011, 05:33 AM   #3 (permalink)
Registered Member
 
marshusensei's Avatar
 
Join Date: Mar 2011
Location: Australia
Age: 28
Posts: 105
marshusensei is on a distinguished road
Default :) Thank You

Thanks James, I've messed around with it a bit too much, it's a bit of a messy app now. Decided to start again. Appreciate your advice.
marshusensei is offline   Reply With Quote
Reply

Bookmarks

Tags
crash, drawing, launch

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 364
14 members and 350 guests
dansparrow, dre, ilmman, LezB44, lorrettaui53, Nobbsy, Objective Zero, oztemel, pbart, samdanielblr, shagor012, sledzeppelin, thephotographer, Trickphotostudios
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,119
Posts: 402,896
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:46 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0