현재 HEREMaps를 사용하는 두 개의 다른 프로젝트에서 문제가 있습니다. [NSCFString hac_toVariant] : 인식 할 수없는 선택 -iOS/Swift :: HERE 맵에서 산발적으로 충돌하는지도 => [NSCFString hac_toVariant]
2017년 5월 2일 : 10 : 15 : 25.372 ANIO [431630 3574] 오른쪽 응용 프로그램은 다음과 같은 로그를 제공 충돌한다 (...) NMAApplicationContext.set를 통해 초기화 후 인스턴스로 전송 됨 0x618000027560 2017-05-02 10:15:25403 ANIO [3574 : 431630] *** 캐치되지 않은 예외 'NSInvalidArgumentException'으로 인해 응용 프로그램을 종료 함, 이유 : '- [__ NSCFString hac_toVariant] : 인스턴스로 전송 된 인식 할 수없는 선택기 0x618000027560' *** 먼저 투사 호출 스택 : ( 0 CoreFoundation에서 0x000000010edccb0b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x000000010e41c141 objc_exception_throw + 48 2 CoreFoundation에서 0x000000010ee3c1 34 - [NSObject의 (NSObject의) doesNotRecognizeSelector :] + 132 3 CoreFoundation에서 0x000000010ed53840 ___forwarding_ + 1,024 4 CoreFoundation에서 0x000000010ed533b8 _CF_forwarding_prep_0 + 120 5 ANIO의 0x000000010d67819a _Z29PathToFileInWritableDirectoryP8NSString + 19,706 6 ANIO의 0x000000010d6bd98c _ZN6smart518segments_intersectExxxxxxxxPxS0_ + 55,445 7 ANIO의 0x000000010d6cdd8a _ZNSt3__110__list_impIN6smart517OrientedPointPairINS1_7geopt_tEEENS_9allocatorIS4_EEE5clearEv + 13,288 8 ANIO 0x000000010d6cd1bb _ZNSt3__110__list_impIN6smart517OrientedPointPairINS1_7geopt_tEEEN_9allocatorIS4_EEE5clearEv + 10265 9 ANIO 0x000000010d6ee8a9 _ZNSt3__16vectorI11_GLKVector2NS_9allocatorIS1_EEE26__swap_out_circular_bufferE RNS_14__split_bufferIS1_RS3_EE + 97,469 10 ANIO 0x000000010d6ee778 _ZNSt3__16vectorI11_GLKVector2NS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE + 97,164 11 ANIO 0x000000010d6ee93e _ZNSt3__16vectorI11_GLKVector2NS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE + 97,618 12 ANIO 0x000000010d6ef293 _ZNSt3__16vectorI11_GLKVector2NS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE + 100,007 13 ANIO 0x000000010d6ecebc _ZNSt3__16vectorI11_GLKVector2NS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE + 90,832 14 libdispatch.dylib 0x00000001122c44a6 _dispatch_call_block_and_release + 12 15 libdispatch.dylib의 0x00000001122ed05c의 _dispatch_client_callout + 8 18 libdispatch.dylib 0x00000001122ceec4 _dispatch_root_queue_drain + 634 19 libdispatch.dylib 0x00000001122cebef _dispatch_worker_thread3 + 123 20 libsystem_pthread.dylib 0x0000000112684746 _pthread_wqthread + 1,299 21 libsystem_pthread.dylib _dispatch_queue_invoke + 1,084 16 libdispatch.dylib 0x00000001122cb94f _dispatch_queue_serial_drain + 221 17 libdispatch.dylib 0x00000001122cc669 0x0000000112684221 start_wqthread + 13 ) libC++ abi.dylib : NSException 유형의 캐치되지 않는 예외로 종료합니다.
누구나 같은 문제에 직면 해 있습니까? 어떤 생각? 이 오류를 제거하는 유일한 방법은 응용 프로그램을 설치 해제하는 것입니다.
종류와 관련,
마이클
OK, 짧은 업데이트는 ... 버그는 쉽게 재현 할 수 있습니다.
1.) 구축 및 실행 (엑스 코드 버전 8.3.2 (8E2002))) NMAKit 프레임 워크를 & NMAKit - 번들
(3)을 포함하는 단계에 따라) [링크]에서 샘플 코드 https://developer.here.com/mobile-sdks/documentation/ios-starter/topics/quick-start.html
2를 다운로드합니다. 대상 시뮬레이터/하드웨어는 중요하지 않습니다 (iPhone 6/7/시뮬레이터 및 하드웨어 사용). Obj-c 또는 Swift 샘플을 사용해도 전혀 차이가 없습니다. 처음에
모든 것을의 벌금을 시작합니다. 두 번째 시작으로 인해 충돌이 발생합니다. 38 :2017년 5월 2일 13 34.331 HelloMap는 [16,821 : 1,642,096은] - [NSCFString hac_toVariant] : [: 1,642,096 16,821] 34.342 HelloMap : 38 : 미정 선택기 인스턴스 0x7f80266079a0 2017년 5월 2일 (13)에 보내 *** 의한 캐치되지 않는 예외 'NSInvalidArgumentException'응용 프로그램 종료, 이유 : - ( 0 CoreFoundation에서 0x000000010d9d9d85 __exceptionPreprocess + 165 1 libobjc : *** 먼저 투사 호출 스택 '[__ NSCFString hac_toVariant] 미정 선택기 인스턴스 0x7f80266079a0 전송' .A.dylib 0x000000010d44ddeb objc_exception_throw + 48 2 CoreFoundation에서의 0x000000010d9e2d3d - [NSObject의 (NSObject의) doesNotRecognizeSelector :] + 205 3 공동 reFoundation 0x000000010d928cfa는 + 970 4 CoreFoundation에서에게 0x000000010d9288a8 _CF_forwarding_prep_0 + 120 5 HelloMap 0x000000010cb6e9de _Z29PathToFileInWritableDirectoryP8NSString + 19,706 6 HelloMap 0x000000010cbb41cc _ZN6smart518segments_intersectExxxxxxxxPxS0_ + 55,445 7 HelloMap 0x000000010cbc4534 _ZNSt3__110__list_impIN6smart517OrientedPointPairINS1_7geopt_tEEENS_9allocatorIS4_EEE5clearEv + 13,288 8 HelloMap 0x000000010cbc3965 _ZNSt3__110__list_impIN6smart517OrientedPointPairINS1_7geopt_tEEENS_9allocatorIS4_EEE5clearEv + 10,265 9 HelloMap 0x000000010cbe5009 _ZNSt3__16vectorI11_GLKVector2NS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE + 97,469 10을 ___forwarding_ 여보세요 지도 0x000000010cbe4ed8 _ZNSt3__16vectorI11_GLKVector2NS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE + 97,164 11 HelloMap 0x000000010cbe509e _ZNSt3__16vectorI11_GLKVector2NS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE + 97,618 12 HelloMap 0x000000010cbe59f3 _ZNSt3__16vectorI11_GLKVector2NS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE + 100,007 13 HelloMap 0x000000010cbe361c _ZNSt3__16vectorI11_GLKVector2NS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE + 90,832 14 libdispatch.dylib 0x000000010fe90d9d _dispatch_call_block_and_release + 12 15 libdispatch.dylib 0x000000010feb13eb _dispatch_client_callout + 8 16 libdispatch.dylib은 0x0000000F 10fe9782c _dispatch_queue_drain + 2,215 17 libdispatch.dylib 0x000000010fe96d4d _dispatch_queue_invoke + 601 18 libdispatch.dylib 0x000000010fe99996 _dispatch_root_queue_drain + 1,420 19 libdispatch.dylib 0x000000010fe99405 _dispatch_worker_thread3 + 111 20 libsystem_pthread.dylib 0x00000001101ee746 _pthread_wqthread + 1,299 21 libsystem_pthread.dylib 0x00000001101ee221 start_wqthread + 13 ) libC++ abi.dylib : NSException 유형의 캐치되지 않는 예외로 종료합니다.
이 문제가 발생한 곳에서 코드를 공유 할 수 있습니까? –
@Lalitkumar : 물론. 그냥 didFinishedLaunching-delegate, 먼지 단순한 것 ...'''NAKApplicationContext.set (appId : kHelloMapAppID, appCode : kHelloMapAppCode)''' – iMike
kHelloMapAppID : String = "6igOKA ...." 하자 kHelloMapAppCode : String = "3 ....... c9A". 샘플 [link]을 사용하더라도 https://developer.here.com/mobile-sdks/documentation/ios-starter/topics/app-simple-swift.html 동일한 결과가 나옵니다 (산발적으로) – iMike