Cocoa app not launching on build & go but launching manually
Posted
by Matt S.
on Stack Overflow
See other posts from Stack Overflow
or by Matt S.
Published on 2010-06-01T20:26:55Z
Indexed on
2010/06/02
1:13 UTC
Read the original article
Hit count: 319
I have quite the interesting problem. Yesterday my program worked perfectly, but now today I'm getting exc_bad_access when I hit build and go, but if I launch the app from the build folder it launches perfectly and there seems to be nothing wrong.
The last bunch of lines from the debugger are:
#0 0xffff07c2 in __memcpy
#1 0x969f7961 in CFStringGetBytes
#2 0x96a491b9 in CFStringCreateMutableCopy
#3 0x991270cc in -[NSCFString mutableCopyWithZone:]
#4 0x96a5572a in -[NSObject(NSObject) mutableCopy]
#5 0x9913e6c7 in -[NSString stringByReplacingOccurrencesOfString:withString:options:range:]
#6 0x9913e62f in -[NSString stringByReplacingOccurrencesOfString:withString:]
#7 0x99181ad0 in -[NSScanner(NSDecimalNumberScanning) scanDecimal:]
#8 0x991ce038 in -[NSDecimalNumberPlaceholder initWithString:locale:]
#9 0x991cde75 in -[NSDecimalNumberPlaceholder initWithString:]
#10 0x991ce44a in +[NSDecimalNumber decimalNumberWithString:]
Why did my app work perfectly yesterday but not today?
© Stack Overflow or respective owner