突然、私のアプリを走らせようとするとすぐにmain.mファイルに行き、このSIGABRTエラーを私に伝えます。なぜ私はそれが起こっているのか理解できません。デバッグ領域で何を見ているのかよく分かりません。助けてください!私の電話アプリがmain.mファイルのために突然クラッシュする
#import <UIKit/UIKit.h>
#import "Mct2AppDelegate.h"
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([Mct2AppDelegate
class]));
}
}
デバッガ出力:再起動してから
Attaching to process 8004. Pending breakpoint 1 - ""main.m":17" resolved Couldn't register com.ebonybutler.Mct2 with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.Current language: auto; currently objective-c
セカンドデバッガ出力:
2012-02-29 16:46:45.561 Mct2[319:f803] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "Menu" nib but the view outlet was not set.' * First throw call stack: (0x13bb052 0x154cd0a 0x1363a78 0x13639e9 0xd7f0d 0xd83a9 0x2415e2 0xd85cb 0x25e4 0x13bcec9 0x155c2 0x1555a 0xbab76 0xbb03f 0xba2fe 0x3aa30 0x3ac56 0x21384 0x14aa9 0x12a5fa9 0x138f1c5 0x12f4022 0x12f290a 0x12f1db4 0x12f1ccb 0x12a4879 0x12a493e 0x12a9b 0x2032 0x1fa5) terminate called throwing an exceptionCurrent language: auto; currently objective-c
左側のサイドバーで実際のバックトレースを確認します。フレームワークコードのどこかでクラッシュしている可能性がありますが、実際にソースがある最上位のスタックフレームであるため、 'main.m'を表示しています。 –
コンソール出力を開始として送信してください。今週私のクリスタルボールが店にあります。 :) – picciano
私は出力にこれを持っています:**処理8004への添付。 保留中のブレークポイント1 - "" main.m ":17"解決済み com.ebonybutler.Mct2をブートストラップサーバーに登録できませんでした。エラー:不明なエラーコード。 これは一般に、このプロセスの別のインスタンスがすでに実行されていたか、デバッガにハングしていることを意味します。現在の言語:auto;現在objective-c ** – Maple