ちょうど最近、私はXCodeで多くの問題を抱え始めました。私はシミュレータ上で私のアプリケーションを実行すると、クラッシュする(例外や何かをスローする)、シミュレータは、私が最初のクラッシュを引き起こしたコードを元に戻した後でも、次回実行時にクラッシュします。例えばシミュレータのクラッシュ後にXCodeを再起動する必要があります
、initメソッドでは、私はそれを100回実行することができますし、それがうまくたびに動作します
self = [super init];
return self;
を呼び出すと言います。しかし、私が電話すると
self = [super init];
[super wrlgnqelrguqrngouqerngerg];
return self;
それから、それはすべきです。再び、それは
self = [super init];
return self;
だように、私はランダムなメッセージ呼び出しを取り消して、私は再びシミュレータ上でそれを実行した場合しかし、その後、それがクラッシュ!クラッシュの原因となったコードを元に戻しましたが。私は実行をクリックすると、それはXCodeの内部エラーが言う、と私はショーの詳細を打ったとき、それは私にこれを与える:
ASSERTION FAILURE in /SourceCache/IDEKit/IDEKit-303/Framework/Classes/Workspace/IDEWorkspaceTabController.m:2327
Details: Assertion failed: [suppressionTargetValue isEqualToString:_kUserDefaults_IDESuppressStopExecutionWarningTargetValue_Add]
Object: <IDEWorkspaceTabController: 0x201759bc0>
Method: -_showWarningForBuild:forOtherExecution:trackersToStop:taskActionBlock:
Thread: <NSThread: 0x2000217a0>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x0000000100949773 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010006d394 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x0000000100931e02 -[IDEWorkspaceTabController _showWarningForBuild:forOtherExecution:trackersToStop:taskActionBlock:] (in IDEKit)
3 0x00000001008e830b -[IDEWorkspaceTabController _performContextTask:command:commandName:] (in IDEKit)
4 0x00007fff81fd7e9a -[NSApplication sendAction:to:from:] (in AppKit)
5 0x00000001001cf63c -[DVTApplication sendAction:to:from:] (in DVTKit)
6 0x000000010085b656 -[IDEApplication sendAction:to:from:] (in IDEKit)
7 0x00007fff81fd7e9a -[NSApplication sendAction:to:from:] (in AppKit)
8 0x00000001001cf63c -[DVTApplication sendAction:to:from:] (in DVTKit)
9 0x000000010085b656 -[IDEApplication sendAction:to:from:] (in IDEKit)
10 0x000000010031b9f3 -[DVTDelayedMenuButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in DVTKit)
11 0x00007fff82062215 -[NSControl mouseDown:] (in AppKit)
12 0x00007fff81f7c34f -[NSWindow sendEvent:] (in AppKit)
13 0x00007fff81eb1a86 -[NSApplication sendEvent:] (in AppKit)
14 0x000000010085b36e -[IDEApplication sendEvent:] (in IDEKit)
15 0x00007fff81e484da -[NSApplication run] (in AppKit)
16 0x00007fff81e411a8 NSApplicationMain (in AppKit)
17 0x0000000100000eec
18 0x0000000000000002
その後、私は続けるヒット、シミュレータは、アプリのクラッシュを開始し、私が手:
Couldn't register NI.nipod-app-final 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.
私はXCodeを再インストールしようとしました。助けにならない!
ベータ版を使用していますか?バグを報告してください。あなたがいない場合でも、あなたはリンゴでバグを報告することができます –