2016-03-24 4 views
0

非常に嫌な人をプログラミングするのは初めての人なので、これらのSigabrtsを手に入れています。私は、私がこれらの単純な間違いを自分で解決する方法を知っていればいいと思いますが、私はどこから始めるべきかわかりません:(私はAppDelegateに触れていないし、Sigabrtがあるところも...あなたが助けてくれることを願っています: )firebaseでユーザーログインを設定しても、実行中のアプリケーションでSigabrtを取得しました

2016-03-24 15:33:38.938 EXTBP[4833:289124] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<EXTBP.LoginViewController 0x7faa41443dc0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key loginButton.' 
*** First throw call stack: 
(
    0 CoreFoundation      0x000000010b2d2e65 __exceptionPreprocess + 165 
    1 libobjc.A.dylib      0x000000010d012deb objc_exception_throw + 48 
    2 CoreFoundation      0x000000010b2d2aa9 -[NSException raise] + 9 
    3 Foundation       0x000000010b69b9bb -[NSObject(NSKeyValueCoding) setValue:forKey:] + 288 
    4 UIKit        0x000000010bc7e320 -[UIViewController setValue:forKey:] + 88 
    5 UIKit        0x000000010beacf41 -[UIRuntimeOutletConnection connect] + 109 
    6 CoreFoundation      0x000000010b2134a0 -[NSArray makeObjectsPerformSelector:] + 224 
    7 UIKit        0x000000010beab924 -[UINib instantiateWithOwner:options:] + 1864 
    8 UIKit        0x000000010bc84eea -[UIViewController _loadViewFromNibNamed:bundle:] + 381 
    9 UIKit        0x000000010bc85816 -[UIViewController loadView] + 178 
    10 UIKit        0x000000010bc85b74 -[UIViewController loadViewIfRequired] + 138 
    11 UIKit        0x000000010bc862e7 -[UIViewController view] + 27 
    12 UIKit        0x000000010bb5cab0 -[UIWindow addRootViewControllerViewIfPossible] + 61 
    13 UIKit        0x000000010bb5d199 -[UIWindow _setHidden:forced:] + 282 
    14 UIKit        0x000000010bb6ec2e -[UIWindow makeKeyAndVisible] + 42 
    15 UIKit        0x000000010bae7663 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4131 
    16 UIKit        0x000000010baedcc6 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1760 
    17 UIKit        0x000000010baeae7b -[UIApplication workspaceDidEndTransaction:] + 188 
    18 FrontBoardServices     0x000000010eea4754 -[FBSSerialQueue _performNext] + 192 
    19 FrontBoardServices     0x000000010eea4ac2 -[FBSSerialQueue _performNextFromRunLoopSource] + 45 
    20 CoreFoundation      0x000000010b1fea31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 
    21 CoreFoundation      0x000000010b1f495c __CFRunLoopDoSources0 + 556 
    22 CoreFoundation      0x000000010b1f3e13 __CFRunLoopRun + 867 
    23 CoreFoundation      0x000000010b1f3828 CFRunLoopRunSpecific + 488 
    24 UIKit        0x000000010baea7cd -[UIApplication _run] + 402 
    25 UIKit        0x000000010baef610 UIApplicationMain + 171 
    26 EXTBP        0x000000010af3853d main + 109 
    27 libdyld.dylib      0x000000010e45392d start + 1 
    28 ???         0x0000000000000001 0x0 + 1 
) 
libc++abi.dylib: terminating with uncaught exception of type NSException 
(lldb) 
+1

であなたのアウトレットを修正する必要があります。あなたのアプリケーションにブレークポイントを配置し、クラッシュするまで1行ずつステップ実行する必要があります。次に、そのコード行の周りにあるコードまたは関数を投稿し、そこから追跡することができます。場合によっては、クラッシュする可能性がある場所を「推測」し、逆戻りすることがあります。たとえば、アプリはウィンドウを開いてアプリケーションに入り、クラッシュします。ウィンドウが表示されたら、そのポイントの後にクラッシュが発生した可能性が高いので、ブレークポイントをどこに設定するかを判断してください。 – Jay

答えて

0

あなたは、このトラブルシューティングを行うための最初のステップは、クラッシュの原因となっているコードの行を決定することであるIB example

関連する問題