0
이것은 예외이며 IDE에서 도구를 사용하는 것에 대해 잘 모릅니다. 매우 기본적인 질문이 있습니다. 문제의 원인이되는 코드 줄은 어떻게 만듭니 까? 문제가있는 곳을 찾았지만 didload
및 didAppear
이벤트의 메시지를 NSLogging하는 대신 코드를 단계별로 실행하여 휴식을 취하는 것이 긴 방법입니다. 나는 [5970 : 1623718]이 실마리라고 가정하고 있지만, 무엇에 대한 것인가?잡히지 않은 오류로 인해 iOS 앱이 종료되었습니다.
2017-10-04 08:22:47.798 Auto Mileage - Universal[5970:1623718] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 4 beyond bounds [0 .. 3]' *** First throw call stack: (0x2580f91b 0x24faae17 0x2572172b 0xd89e3 0xd9e57 0x2a0d1465 0x2a0d15a5 0x2a0c0b51 0x2a0d5d1b 0x29e7523b 0x29d86a73 0x27e1ebcd 0x27e1a375 0x27e1a209 0x27e196d1 0x27e193a5 0x29d7db79 0x257d16c9 0x257cf9cd 0x257cfdff 0x2571f229 0x2571f015 0x26d0fac9 0x29df3189 0xe9159 0x253c7873) libc++abi.dylib: terminating with uncaught exception of type NSException
[예외 중단 점] (https://stackoverflow.com/questions/17802662/exception-breakpoint-in-xcode)을 추가해야합니다. – the4kman