2012-06-28 3 views
1

iOS 앱에서 이상한 동작이 나타납니다. 내 응용 프로그램이 XCode를 통해 연결되지 않은 경우에만 응용 프로그램이 중단됩니다. 또한 뒤쪽에서 전경을 향한 후에 만 ​​충돌합니다. 방금 충돌 로그를 통해 많은 링크가 제안 했으므로 방금 충돌 로그를 보았습니다.Xcode를 통해 연결되지 않은 상태에서 앱이 다운 됨

이제 오류 로그의 내용을 알 수 없습니다.

Jun 1 09:22:28 unknown SpringBoard[15] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=0 

Jun 1 09:22:28 unknown SpringBoard[15] <Notice>: MultitouchHID: detection mode: 0->255 

Jun 1 09:22:28 unknown UserEventAgent[12] <Warning>: DEBUG: Changing screen blanked state: 1 

Jun 1 09:22:28 unknown kernel[0] <Debug>: [000070.133242]: AppleDPDisplay::setLCDStateGated:(0x81b4a000) Disabling 

Jun 1 09:22:28 unknown kernel[0] <Debug>: [000000.000163]: AppleDPDisplay::terminateLink:(0x81b4a000) Waited 0 ms for display to disable 

Jun 1 09:22:28 unknown kernel[0] <Debug>: [000000.000020]: AppleDPDisplay::terminateLink:(0x81b4a000) ret=0x00000000 

Jun 1 09:22:28 unknown kernel[0] <Debug>: [000000.000703]: AppleDPDisplay::deviceTerminated:(0x81b4a000) device=0xb4fcd300 

Jun 1 09:22:28 unknown kernel[0] <Debug>: [000000.000099]: AppleDPDisplay::setPower:(0x81b4a000) enable=0 ret=0x00000000 

Jun 1 09:22:28 unknown kernel[0] <Debug>: [000000.000020]: AppleDPDisplay::setLCDStateGated:(0x81b4a000) enable=0 ret=0x00000000 

Jun 1 09:22:29 unknown SpringBoard[15] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1 

Jun 1 09:22:29 unknown UserEventAgent[12] <Warning>: DEBUG: Changing screen blanked state: 0 

Jun 1 09:22:29 unknown SpringBoard[15] <Notice>: MultitouchHID: detection mode: 255->0 (deferring until bootloaded) 

Jun 1 09:22:29 unknown SpringBoard[15] <Notice>: MultitouchHID: device bootloaded 

Jun 1 09:22:29 unknown SpringBoard[15] <Notice>: MultitouchHID: detection mode: 0->0 

Jun 1 09:22:29 unknown kernel[0] <Debug>: set_crc_notification_state 0 

Jun 1 09:22:29 unknown kernel[0] <Debug>: [000001.383400]: AppleDPDisplay::setLCDStateGated:(0x81b4a000) Enabling 

Jun 1 09:22:29 unknown kernel[0] <Debug>: [000000.001806]: AppleDPDisplay::setPower:(0x81b4a000) setting bl deadline for 193 ms from now 

Jun 1 09:22:29 unknown kernel[0] <Debug>: [000000.000027]: AppleDPDisplay::setPower:(0x81b4a000) enable=1 ret=0x00000000 

Jun 1 09:22:29 unknown kernel[0] <Debug>: [000000.000018]: AppleDPDisplay::setLCDStateGated:(0x81b4a000) enable=1 ret=0x00000000 

Jun 1 09:22:30 unknown kernel[0] <Debug>: [000000.052701]: AppleDPDisplay::devicePublished:(0x81b4a000) newDevice=0x8d3ee000 

Jun 1 09:22:30 unknown kernel[0] <Debug>: [000000.023734]: AppleDPDisplay::trainLink:(0x81b4a000) Waited 23 ms for link training 

Jun 1 09:22:30 unknown kernel[0] <Debug>: [000000.000174]: AppleDPDisplay::initiateLink:(0x81b4a000) Waited 78 ms for display to enable 

Jun 1 09:22:30 unknown kernel[0] <Debug>: [000000.000020]: AppleDPDisplay::initiateLink:(0x81b4a000) _dpDevice=0x8d3ee000 ret=0x00000000 

Jun 1 09:22:37 unknown ReportCrash[9152] <Notice>: Formulating crash report for process XYZ[9143] 

Jun 1 09:22:37 unknown ReportCrash[9152] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/XYZ_2012-06-01-092237_The-new-iPad.plist using uid: 
0 gid: 0, synthetic_euid: 501 egid: 0 

Jun 1 09:22:37 unknown com.apple.launchd[1] <Warning>: 
(UIKitApplication:com.company.test[0xe951]) Job appears to have crashed: Segmentation fault: 11 

Jun 1 09:22:37 unknown SpringBoard[15] <Warning>: Application 'XYZ' exited abnormally with signal 11: Segmentation fault: 11 

누구나이 글을 읽고 나에게 어떤 해결책이나 해결책을 제시 할 수 있습니까 ??

+0

도움이 될 수 있습니다 http://stackoverflow.com/questions/1849929/signal-11-segmentation 엑스 코드와 오류를 디버깅 할 수 있습니다 "좀비 사용은 개체" -fault-on-ip hone-app-exit – janusbalatbat

답변

0

NSZombieEnabled를 추가하십시오. 이 작업을 수행하려면 :

1)을 눌러 cmd를 +

"왼쪽 패널에서

2) 올바른 진단을 선택에서"실행 {응용 프로그램 이름} "

3)를 클릭 + Shift를 에서 4) 세트 확인란

5) 충돌을 재 시도는, 당신은

+0

도움이되었습니다. 감사. – viral

+0

@ i4Apple No Problem =) – CReaTuS

관련 문제