Thread 1: signal SIGABRT 오류발생 입니다.
1410
1 câu hỏi đã được viết
꼼꼼하게 코드를 전부 확인했으나 이상이 없어서
혹시나 해서 야곰님이 올려두신 코드를 복사해서
컴파일 해보았으나
다음과 같은 오류가 발생했습니다.
웹킷 객체를 구성하지 못한것 같은데 이유를 모르겠네요..
2019-04-30 01:14:12.255645+0900 MyWebBrowser[14759:376648] *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named WKWebView because no class named WKWebView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)'
*** First throw call stack:
(
0 CoreFoundation 0x000000010d9d06fb __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010cf74ac5 objc_exception_throw + 48
2 CoreFoundation 0x000000010d9d0555 +[NSException raise:format:] + 197
3 UIFoundation 0x0000000116dfb6c9 UINibDecoderDecodeObjectForValue + 360
4 UIFoundation 0x0000000116dfbaf9 UINibDecoderDecodeObjectForValue + 1432
5 UIFoundation 0x0000000116dfb554 -[UINibDecoder decodeObjectForKey:] + 251
6 UIKitCore 0x00000001116ed705 -[UIView initWithCoder:] + 802
7 UIFoundation 0x0000000116dfb852 UINibDecoderDecodeObjectForValue + 753
8 UIFoundation 0x0000000116dfb554 -[UINibDecoder decodeObjectForKey:] + 251
9 UIKitCore 0x0000000110ed2b41 -[UIRuntimeConnection initWithCoder:] + 178
10 UIFoundation 0x0000000116dfb852 UINibDecoderDecodeObjectForValue + 753
11 UIFoundation 0x0000000116dfbaf9 UINibDecoderDecodeObjectForValue + 1432
12 UIFoundation 0x0000000116dfb554 -[UINibDecoder decodeObjectForKey:] + 251
13 UIKitCore 0x0000000110ed03f1 -[UINib instantiateWithOwner:options:] + 1216
14 UIKitCore 0x0000000110c4d3af -[UIViewController _loadViewFromNibNamed:bundle:] + 382
15 UIKitCore 0x0000000110c4dd39 -[UIViewController loadView] + 177
16 UIKitCore 0x0000000110c4e048 -[UIViewController loadViewIfRequired] + 172
17 UIKitCore 0x0000000110bb2004 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 68
18 UIKitCore 0x0000000110bb22f7 -[UINavigationController _startTransition:fromViewController:toViewController:] + 146
19 UIKitCore 0x0000000110bb33b5 -[UINavigationController _startDeferredTransitionIfNeeded:] + 896
20 UIKitCore 0x0000000110bb46a7 -[UINavigationController __viewWillLayoutSubviews] + 150
21 UIKitCore 0x0000000110b9538d -[UILayoutContainerView layoutSubviews] + 217
22 UIKitCore 0x000000011171e9c1 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1417
23 QuartzCore 0x0000000112c8feae -[CALayer layoutSublayers] + 173
24 QuartzCore 0x0000000112c94b88 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 396
25 QuartzCore 0x0000000112ca0ee4 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 72
26 QuartzCore 0x0000000112c103aa _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 328
27 QuartzCore 0x0000000112c47584 _ZN2CA11Transaction6commitEv + 608
28 UIKitCore 0x0000000111269ccb __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 128
29 CoreFoundation 0x000000010d937aec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
30 CoreFoundation 0x000000010d9372b0 __CFRunLoopDoBlocks + 336
31 CoreFoundation 0x000000010d931b34 __CFRunLoopRun + 1252
32 CoreFoundation 0x000000010d931302 CFRunLoopRunSpecific + 626
33 GraphicsServices 0x0000000116a9f2fe GSEventRunModal + 65
34 UIKitCore 0x0000000111250ba2 UIApplicationMain + 140
35 MyWebBrowser 0x000000010c68eebb main + 75
36 libdyld.dylib 0x000000010fdc1541 start + 1
37 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Câu trả lời 1
3


자문 자답 입니다.
임포트 과정에서 웹킷 라이브러리가
제대로 임포트되지 않았던 문제인것 같습니다.
웹킷 라이브러리를 직접 등록하니 문제없이
실행이 가능했습니다.
강좌소개의 overview
0
421
1
configure 메소드의 DispatchQueue.main
0
406
1
prepareForReuse 사용 방법
0
677
1
화면이 야곰님처럼 로드되지 않아 질문드립니다.
0
442
2
버튼 이미지 크기가 조절이 안 되는데 어떤 부분을 조정해야 할까요?
0
2254
1
코드블록 10-3-5 에러
1
233
0
info에서 자동완성이 나오지 않는데 따로 설정을 해주어야 하는 부분인가요?
0
314
1
star buton
0
405
1
Singleton 관련 질문.
0
306
1
로컬 유저 노티피케이션에서 반복 주기 설정 방법 문의 드립니다.
0
574
0
Todo 앱에서 로컬 노티피케이션 해제 시 질문 드립니다.
0
403
1
ios13이 생기고 변경점 관련
0
243
1
8번 프로젝트
0
245
1
todo 앱에서 파일 저장 기능에 대한 질문입니다.
0
306
1
todo앱 User Notification에서 질문이 있습니다
0
494
1
9번 프로젝트 질문
1
336
2
9번 프로젝트 자료 질문
0
301
1
8번 프로젝트 > 도전과제 2번 질문
0
260
2
Todo 앱에서 일정 추가가 바로 반영되지 않습니다.
1
523
6
Todo 앱에서 DateFormatter 사용 관련 질문 드립니다.
0
334
1
5번 프로젝트 - 나머지 화면 구성하기
1
225
1
웹브라우저 - 코드로 기능 구현하기
1
618
3
어시스던트에 매뉴얼이 없습니다.
0
285
1
제공된 코드블럭 파일
0
295
2

