갑자기 내 앱을 실행하려고하면 즉시 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
둘째 디버거 출력 : 당신이 아이폰 OS 시뮬레이터를 사용하는 경우
는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
출력에 다음과 같은 내용이 있습니다. ** 프로세스 800,4에 연결 중입니다. 보류 중 중단 점 1 - ""main.m ": 17"해결됨 부트 스트랩 서버에 com.ebonybutler.Mct2를 등록 할 수 없습니다. 오류 : 알 수없는 오류 코드. 이것은 일반적으로이 프로세스의 다른 인스턴스가 이미 실행 중이거나 디버거에 매달려 있음을 의미합니다. 현재 언어 : 자동; 현재 objective-c ** – Maple