Re: App failure in simulator
Re: App failure in simulator
- Subject: Re: App failure in simulator
- From: Matt Neuburg <email@hidden>
- Date: Mon, 27 Sep 2010 08:22:14 -0700
- Thread-topic: App failure in simulator
On Sat, 25 Sep 2010 16:44:08 -0400, Charlie Dickman <email@hidden>
said:
>Good people,
>
>I am trying to update my app to iOS 4.1. When I attempt to execute it in the
simulator it fails immediately with the following trace. Can anyone suggest what
to do to "fix" this? It runs fine on the device.
Well, it's obvious from the trace where the problem is occurring - it's
occurring when the runtime attempts to load MainWindow.nib. Unfortunately
the trace doesn't say *why* this attempt fails. Is it because MainWindow.nib
is not there? Is it because it has something wrong with its internal format?
Who knows?
Anyway, I'd suggest you just drop back ten yards and punt: tell the
Simulator to Reset Content and Settings, tell the project to clean all
targets, and try again. That way at least you know you're getting a totally
pristine build; incremental builds are convenient but also can easily lead
to unintended consequences, plus there's a bug in the simulator where
sometimes you just aren't running the binary you expect. m.
>2010-09-25 16:36:45.991 FaceClock[2069:207] *** Terminating app due to uncaught
exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in
bundle: 'NSBundle </Users/Charlie/Library/Application Support/iPhone
Simulator/4.1/Applications/C1E82786-C00E-4583-BCD8-D61C644A023A/FaceClock.app>
(loaded)' with name 'MainWindow''
>*** Call stack at first throw:
>(
> 0 CoreFoundation 0x0291ab99 __exceptionPreprocess + 185
> 1 libobjc.A.dylib 0x02a6a40e objc_exception_throw + 47
> 2 CoreFoundation 0x028d3238 +[NSException
raise:format:arguments:] + 136
> 3 CoreFoundation 0x028d31aa +[NSException
raise:format:] + 58
> 4 UIKit 0x00bd74f8 -[UINib
instantiateWithOwner:options:] + 2024
> 5 UIKit 0x00bd8eb5
-[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168
> 6 UIKit 0x009e4402 -[UIApplication
_loadMainNibFile] + 172
> 7 UIKit 0x009e531c -[UIApplication
_runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 198
> 8 UIKit 0x009ef3ec -[UIApplication
handleEvent:withNewEvent:] + 1958
> 9 UIKit 0x009e7b3c -[UIApplication sendEvent:]
+ 71
> 10 UIKit 0x009ec9bf _UIApplicationHandleEvent +
7672
> 11 GraphicsServices 0x03bb9822 PurpleEventCallback + 1550
> 12 CoreFoundation 0x028fbff4
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
> 13 CoreFoundation 0x0285c807 __CFRunLoopDoSource1 + 215
> 14 CoreFoundation 0x02859a93 __CFRunLoopRun + 979
> 15 CoreFoundation 0x02859350 CFRunLoopRunSpecific + 208
> 16 CoreFoundation 0x02859271 CFRunLoopRunInMode + 97
> 17 UIKit 0x009e4c6d -[UIApplication _run] + 625
> 18 UIKit 0x009f0af2 UIApplicationMain + 1160
> 19 FaceClock 0x000023d9 main + 121
> 20 FaceClock 0x00002355 start + 53
> 21 ??? 0x00000001 0x0 + 1
>)
>terminate called after throwing an instance of 'NSException'
>Program received signal: „SIGABRT‰.
>kill
>quit
>
>The Debugger has exited with status 0.(gdb)
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden