2012-04-17 12 views
0

私はすべてのフレームワークとコードを別のXcodeアプリケーションに追加したとしても、私のアプリケーションでこの問題を引き続き抱えています。ビューが読み込まれる前でも発生します。Xcode、Objective C、IOS。スレッド1:プログラム受信信号: "SIGABRT"。私が間違っていたもの

これは私のエラーメッセージです:

[Switching to process 11523 thread 0x2d03] 
[Switching to process 11523 thread 0x2d03] 
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 
sharedlibrary apply-load-rules all 
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Users/admin/Library/Developer/Xcode/iOS DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found). 
warning: No copy of dns.so found locally, reading from memory on remote device. This may slow down the debug session. 
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 
2012-04-17 09:33:30.166 Little Birds! - iPhone[7445:307] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x1129f0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key HighScoresPodium.' 
*** Call stack at first throw: 
(
    0 CoreFoundation      0x35f08c7b __exceptionPreprocess + 114 
    1 libobjc.A.dylib      0x30186ee8 objc_exception_throw + 40 
    2 CoreFoundation      0x35f08a01 -[NSException dealloc] + 0 
    3 Foundation       0x34018bbf -[NSObject(NSKeyValueCoding) setValue:forUndefinedKey:] + 186 
    4 Foundation       0x34018051 _NSSetUsingKeyValueSetter + 92 
    5 Foundation       0x34019ef3 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 178 
    6 Foundation       0x33fcb805 -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 144 
    7 UIKit        0x33aacf20 -[UIRuntimeOutletConnection connect] + 96 
    8 CoreFoundation      0x35ea9a8b -[NSObject(NSObject) performSelector:] + 18 
    9 CoreFoundation      0x35eb273b -[NSArray makeObjectsPerformSelector:] + 366 
    10 UIKit        0x33aab7a0 -[UINib instantiateWithOwner:options:] + 868 
    11 UIKit        0x33aad640 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 140 
    12 UIKit        0x3386cb18 -[UIApplication _loadMainNibFile] + 144 
    13 UIKit        0x338669ec -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 256 
    14 UIKit        0x338202e4 -[UIApplication handleEvent:withNewEvent:] + 1476 
    15 UIKit        0x3381fb1c -[UIApplication sendEvent:] + 68 
    16 UIKit        0x3381f3b4 _UIApplicationHandleEvent + 6824 
    17 GraphicsServices     0x35262c88 PurpleEventCallback + 1048 
    18 CoreFoundation      0x35e9a5cb __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 28 
    19 CoreFoundation      0x35e9a589 __CFRunLoopDoSource1 + 164 
    20 CoreFoundation      0x35e8c835 __CFRunLoopRun + 580 
    21 CoreFoundation      0x35e8c50b CFRunLoopRunSpecific + 226 
    22 CoreFoundation      0x35e8c419 CFRunLoopRunInMode + 60 
    23 UIKit        0x33865554 -[UIApplication _run] + 548 
    24 UIKit        0x33862558 UIApplicationMain + 972 
    25 Little Birds! - iPhone    0x0000248f main + 106 
    26 Little Birds! - iPhone    0x00002420 start + 40 
) 
terminate called after throwing an instance of 'NSException' 
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 
(gdb) 
+0

[setValue:forKey:]というコードスニペットをplzに投稿できますか? – CarlJ

+0

setValue:forKey:多くの場合、システムが変数を扱うときに呼び出されます。おそらくどこでも明示的に呼び出されているわけではありません。 – Dancreek

+0

NSString * nssHighscore3 = [myDict3 objectForKey:@ "Highscore3"];これは私のコードでforKeyで見つけることができる唯一のものです –

答えて

0

あなたはXIBためのインターフェイスビルダー内のすべての接続を確認することはできますか? XIBを作り直してみてください。誤って私がIBからラベルを削除し、ラベルのsetTextを呼び出すときに問題が見つかりました。

2

私にはデッドコンセントのように見えます。 XIBのオブジェクトは、所有者クラスから削除されたアウトレットに接続されています。

0

あなたの問題は "HighScoresPodium"の周りにあるようです。あなたはその変数に何かを間違って割り当てたかもしれません。あなたはそのプロパティと対話している場所を確認し、問題に近づける必要があります。他の人が言っているように、問題はXIB接続に隠れている可能性があります。

関連する問題