내 XCode를 4.2로 업데이트했으며 4.3 대신 시뮬레이터 5.0을 사용하려고합니다.XCode AppDelegate는 5.0 시뮬레이터에서 sigabrt를 반환하지만 4.3에서 정상적으로 작동합니다.
5 탭이있는 탭바 응용 프로그램을 코딩했지만 appdelegate를 통해 다른보기를 첫 번째보기로 푸시했습니다. 이제
나는이 모든 시뮬레이터 4.3에서 잘 작동하지만 시뮬레이터 5.0에 나에게 오류를 제공 문제 :
AppDelegate *app = [AppDelegate getApp];
app.tabController.selectedViewController = connNavController;
: 나는에 AppDelegate에있는 것으로 문제를 지역화
int retVal = UIApplicationMain(argc, argv, nil, nil); SIGABRT
objc[3441]: EXCEPTIONS: throwing 0x7d626b0 (object 0x7d1e750, a NSException)
objc[3441]: EXCEPTIONS: searching through frame [ip=0xe99ee sp=0xbfffdee0] for exception 0x7d62690
objc[3441]: EXCEPTIONS: catch(id)
objc[3441]: EXCEPTIONS: unwinding through frame [ip=0xe99ee sp=0xbfffdee0] for exception 0x7d62690
objc[3441]: EXCEPTIONS: handling exception 0x7d62690 at 0xe9bac
objc[3441]: EXCEPTIONS: finishing handler
objc[3441]: EXCEPTIONS: throwing 0x7d5cd30 (object 0x7d1e750, a NSException)
objc[3441]: EXCEPTIONS: searching through frame [ip=0xe9b9c sp=0xbfffdee0] for exception 0x7d5cd10
objc[3441]: EXCEPTIONS: searching through frame [ip=0x1a02db3 sp=0xbfffec20] for exception 0x7d5cd10
objc[3441]: EXCEPTIONS: unwinding through frame [ip=0xe9b9c sp=0xbfffdee0] for exception 0x7d5cd10
objc[3441]: EXCEPTIONS: unwinding through frame [ip=0x1a02db3 sp=0xbfffec20] for exception 0x7d5cd10
objc[3441]: EXCEPTIONS: handling exception 0x7d5cd10 at 0x1a02e46
objc[3441]: EXCEPTIONS: rethrowing current exception
objc[3441]: EXCEPTIONS: searching through frame [ip=0x1a02e0f sp=0xbfffec20] for exception 0x7d5cd10
objc[3441]: EXCEPTIONS: unwinding through frame [ip=0x1a02e0f sp=0xbfffec20] for exception 0x7d5cd10
objc[3441]: EXCEPTIONS: finishing handler
objc[3441]: EXCEPTIONS: unwinding through frame [ip=0x1a02e38 sp=0xbfffec20] for exception 0x7d5cd10
는 또한
[self.navigationController pushViewController:myViewController animated:YES];
를 사용하여 컨트롤러를 밀어 시도했지만 난 항상 SIGABRT를 얻을.
청소 대상, 재시작 등이 작동하지 않습니다.
해결책이있는 경우 도와주세요.
감사합니다.
SIGABRT도 빨리 –
방법이 어디 빨리입니까? –
AppDelegate는 먼저 로그인 화면을로드합니다. 로그인 후에는 SIGABRT를 발생시키는 위임이 있습니다. –