- This topic has 3개 답변, 2명 참여, and was last updated 3 years, 1 month 전에 by 야곰.
-
글쓴이글
-
-
낙현 김참가자
- 글작성 : 7
- 답글작성 : 2
let vc = u.instantiateViewController(withIdentifier: “TabViewController”) as! TabViewController
IntrolViewController에서 TabViewController 생성 하는데 오류가 발생 하는데요
변수 초기화 에러가 난다고 하는데 제가 사용 하는 방법이 잘 못 되었나요?
파이어베이스 크래시 에러
Crashed: com.apple.main-thread
0 *** 0x1a1044 closure #1 in variable initialization expression of TabViewController.floatingView + 4306800708 (TabViewController.swift:4306800708)
1 *** 0x1a95e8 specialized TabViewController.init(coder:) + 25 (TabViewController.swift:25)
2 *** 0x1a7424 @objc TabViewController.init(coder:) + 4306826276 (<compiler-generated>:4306826276)
3 UIKitCore 0x419b6c -[UIClassSwapper initWithCoder:] + 2120
4 UIFoundation 0x62fb0 UINibDecoderDecodeObjectForValue + 700
5 UIFoundation 0x38f0 -[UINibDecoder decodeObjectForKey:] + 312
6 UIKitCore 0x59998c -[UIRuntimeConnection initWithCoder:] + 132
7 UIFoundation 0x62fb0 UINibDecoderDecodeObjectForValue + 700
8 UIFoundation 0x631dc UINibDecoderDecodeObjectForValue + 1256
9 UIFoundation 0x38f0 -[UINibDecoder decodeObjectForKey:] + 312
10 UIKitCore 0x59c264 -[NSCoder(UIIBDependencyInjectionInternal) _decodeObjectsWithSourceSegueTemplate:creator:sender:forKey:] + 492
11 UIKitCore 0x53aed0 -[UINib instantiateWithOwner:options:] + 1068
12 UIKitCore 0xb7e7c -[UIStoryboard reallyInstantiateViewControllerWithIdentifier:creator:storyboardSegueTemplate:sender:] + 284
13 *** 0x20e7b4 closure #1 in IntroViewController.netWorkConnect() + 503 (IntroViewController.swift:503)
14 *** 0x3c80f8 partial apply for specialized closure #2 in closure #2 in closure #3 in closure #1 in DownloadRequest.response(queue:responseSerializer:completionHandler:) + 4309057784
15 *** 0x42dd8 thunk for @escaping @callee_guaranteed () -> () + 4305366488 (<compiler-generated>:4305366488)
16 libdispatch.dylib 0x1c04 _dispatch_call_block_and_release + 32
17 libdispatch.dylib 0x3950 _dispatch_client_callout + 20
18 libdispatch.dylib 0x11d30 _dispatch_main_queue_callback_4CF + 940
19 CoreFoundation 0x51ce4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
20 CoreFoundation 0xbebc __CFRunLoopRun + 2540
21 CoreFoundation 0x1f3c8 CFRunLoopRunSpecific + 600
22 GraphicsServices 0x138c GSEventRunModal + 164
23 UIKitCore 0x51b060 -[UIApplication _run] + 1100
24 UIKitCore 0x298b8c UIApplicationMain + 2124
25 libswiftUIKit.dylib 0x31184 UIApplicationMain(_:_:_:_:) + 104
26 *** 0x2b081c main + 4307912732 (AppDelegate.swift:4307912732)
27 ??? 0x101621a24 (누락)2021-10-26 오후 7:12 #49258 -
-
-
-
글쓴이글
- 답변은 로그인 후 가능합니다.