Posts

Post not yet marked as solved
1 Replies
680 Views
My app crashes in the simulator and I am not sure why I saw a reference to UITextView causing a crash in XCode 11.2, so I upgraded to 11.2.1 thinking that would fix it but it didn't. My app worked fine with 11.1 Here is my stack dump.Any ideas?error: use of undeclared identifier '$arg' * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1 * frame #0: 0x0000000107724a95 libobjc.A.dylib`objc_exception_throw frame #1: 0x0000000108862555 CoreFoundation`+[NSException raise:format:] + 197 frame #2: 0x000000010e2a36c9 UIFoundation`UINibDecoderDecodeObjectForValue + 360 frame #3: 0x000000010e2a3af9 UIFoundation`UINibDecoderDecodeObjectForValue + 1432 frame #4: 0x000000010e2a3554 UIFoundation`-[UINibDecoder decodeObjectForKey:] + 251 frame #5: 0x000000011788f705 UIKitCore`-[UIView initWithCoder:] + 802 frame #6: 0x0000000117833a05 UIKitCore`-[UIScrollView initWithCoder:] + 68 frame #7: 0x00000001177386b5 UIKitCore`-[UITextView initWithCoder:] + 65 frame #8: 0x000000010e2a3852 UIFoundation`UINibDecoderDecodeObjectForValue + 753 frame #9: 0x000000010e2a3af9 UIFoundation`UINibDecoderDecodeObjectForValue + 1432 frame #10: 0x000000010e2a3554 UIFoundation`-[UINibDecoder decodeObjectForKey:] + 251 frame #11: 0x000000011788f705 UIKitCore`-[UIView initWithCoder:] + 802 frame #12: 0x00000001175cbc93 UIKitCore`-[UITableViewCellContentView initWithCoder:] + 42 frame #13: 0x000000010e2a3852 UIFoundation`UINibDecoderDecodeObjectForValue + 753 frame #14: 0x000000010e2a3af9 UIFoundation`UINibDecoderDecodeObjectForValue + 1432 frame #15: 0x000000010e2a3554 UIFoundation`-[UINibDecoder decodeObjectForKey:] + 251 frame #16: 0x000000011788f705 UIKitCore`-[UIView initWithCoder:] + 802 frame #17: 0x00000001175b81ed UIKitCore`-[UITableViewCell initWithCoder:] + 85 frame #18: 0x000000010678106f someapp`NoSelectTableViewCell.init(coder=0x00007fecd2847000) at <compiler-generated>:0 frame #19: 0x00000001067811c3 someapp`@objc NoSelectTableViewCell.init(coder:) at <compiler-generated>:0 frame #20: 0x00000001170704f9 UIKitCore`-[UIClassSwapper initWithCoder:] + 246 frame #21: 0x000000010e2a3852 UIFoundation`UINibDecoderDecodeObjectForValue + 753 frame #22: 0x000000010e2a3554 UIFoundation`-[UINibDecoder decodeObjectForKey:] + 251 frame #23: 0x000000011763b95a UIKitCore`-[UITableViewRow initWithCoder:] + 93 frame #24: 0x000000010e2a3852 UIFoundation`UINibDecoderDecodeObjectForValue + 753 frame #25: 0x000000010e2a3af9 UIFoundation`UINibDecoderDecodeObjectForValue + 1432 frame #26: 0x000000010e2a3554 UIFoundation`-[UINibDecoder decodeObjectForKey:] + 251 frame #27: 0x000000011763bf6f UIKitCore`-[UITableViewSection initWithCoder:] + 279 frame #28: 0x000000010e2a3852 UIFoundation`UINibDecoderDecodeObjectForValue + 753 frame #29: 0x000000010e2a3af9 UIFoundation`UINibDecoderDecodeObjectForValue + 1432 frame #30: 0x000000010e2a3554 UIFoundation`-[UINibDecoder decodeObjectForKey:] + 251 frame #31: 0x000000011763c264 UIKitCore`-[UITableViewDataSource initWithCoder:] + 87 frame #32: 0x000000010e2a3852 UIFoundation`UINibDecoderDecodeObjectForValue + 753 frame #33: 0x000000010e2a3554 UIFoundation`-[UINibDecoder decodeObjectForKey:] + 251 frame #34: 0x0000000117074b41 UIKitCore`-[UIRuntimeConnection initWithCoder:] + 178 frame #35: 0x000000010e2a3852 UIFoundation`UINibDecoderDecodeObjectForValue + 753 frame #36: 0x000000010e2a3af9 UIFoundation`UINibDecoderDecodeObjectForValue + 1432 frame #37: 0x000000010e2a3554 UIFoundation`-[UINibDecoder decodeObjectForKey:] + 251 frame #38: 0x00000001170723f1 UIKitCore`-[UINib instantiateWithOwner:options:] + 1216 frame #39: 0x0000000116def3af UIKitCore`-[UIViewController _loadViewFromNibNamed:bundle:] + 382 frame #40: 0x0000000116defd39 UIKitCore`-[UIViewController loadView] + 177 frame #41: 0x0000000116de0951 UIKitCore`-[UITableViewController loadView] + 83 frame #42: 0x0000000116df0048 UIKitCore`-[UIViewController loadViewIfRequired] + 172 frame #43: 0x0000000116df0868 UIKitCore`-[UIViewController view] + 27 frame #44: 0x0000000116d3f3d0 UIKitCore`-[UINavigationController _startCustomTransition:] + 929 frame #45: 0x0000000116d5531a UIKitCore`-[UINavigationController _startDeferredTransitionIfNeeded:] + 741 frame #46: 0x0000000116d566a7 UIKitCore`-[UINavigationController __viewWillLayoutSubviews] + 150 frame #47: 0x0000000116d3738d UIKitCore`-[UILayoutContainerView layoutSubviews] + 217 frame #48: 0x00000001178c09c1 UIKitCore`-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1417 frame #49: 0x000000010ea3ceae QuartzCore`-[CALayer layoutSublayers] + 173 frame #50: 0x000000010ea41b88 QuartzCore`CA::Layer::layout_if_needed(CA::Transaction*) + 396 frame #51: 0x000000010ea4dee4 QuartzCore`CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 72 frame #52: 0x000000010e9bd3aa QuartzCore`CA::Context::commit_transaction(CA::Transaction*) + 328 frame #53: 0x000000010e9f4584 QuartzCore`CA::Transaction::commit() + 608 frame #54: 0x00000001173ecd8a UIKitCore`_UIApplicationFlushRunLoopCATransactionIfTooLate + 150 frame #55: 0x00000001174dff5f UIKitCore`__handleEventQueueInternal + 6845 frame #56: 0x00000001087c9be1 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame #57: 0x00000001087c9463 CoreFoundation`__CFRunLoopDoSources0 + 243 frame #58: 0x00000001087c3b1f CoreFoundation`__CFRunLoopRun + 1231 frame #59: 0x00000001087c3302 CoreFoundation`CFRunLoopRunSpecific + 626 frame #60: 0x000000010dc6d2fe GraphicsServices`GSEventRunModal + 65 frame #61: 0x00000001173f2ba2 someapp`UIApplicationMain + 140 frame #62: 0x00000001067ba9bb someapp`main at AppDelegate.swift:12:7thanks,Tyson
Posted
by oswaldt.
Last updated
.