Ios _CF_转发_准备_0应用程序运行时崩溃(iPad)
我的应用程序在iPad发布时崩溃,但在iPhone上正常工作。 我已经尝试将Ios _CF_转发_准备_0应用程序运行时崩溃(iPad),ios,swift,ipad,crash,exc-bad-access,Ios,Swift,Ipad,Crash,Exc Bad Access,我的应用程序在iPad发布时崩溃,但在iPhone上正常工作。 我已经尝试将符号断点添加到-[UIView(Hierarchy)setNeedsLayout]中,但没有找到导致此问题的原因 堆栈跟踪: Crashed: com.apple.main-thread 0 libobjc.A.dylib 0x180354bec lookUpImpOrForward + 136 1 libobjc.A.dylib 0x18035f258 _
符号断点添加到-[UIView(Hierarchy)setNeedsLayout]
中,但没有找到导致此问题的原因
堆栈跟踪:
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x180354bec lookUpImpOrForward + 136
1 libobjc.A.dylib 0x18035f258 _objc_msgSend_uncached + 56
2 UIKit 0x1877679c4 -[UIView(Hierarchy) setNeedsLayout] + 196
3 UIKit 0x187a420ac __UIViewNoteTraitsDidChangeRecursively + 292
4 UIKit 0x187a421d0 __UIViewNoteTraitsDidChangeRecursively + 584
5 UIKit 0x187a421d0 __UIViewNoteTraitsDidChangeRecursively + 584
6 UIKit 0x187a421d0 __UIViewNoteTraitsDidChangeRecursively + 584
7 UIKit 0x187a421d0 __UIViewNoteTraitsDidChangeRecursively + 584
8 UIKit 0x187a421d0 __UIViewNoteTraitsDidChangeRecursively + 584
9 UIKit 0x187a421d0 __UIViewNoteTraitsDidChangeRecursively + 584
10 UIKit 0x187a421d0 __UIViewNoteTraitsDidChangeRecursively + 584
11 UIKit 0x187ab84a0 -[UIViewController _updateTraitsIfNecessary] + 312
12 UIKit 0x1877533e0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 832
13 QuartzCore 0x184c1b40c -[CALayer layoutSublayers] + 148
14 QuartzCore 0x184c100e8 CA::Layer::layout_if_needed(CA::Transaction*) + 292
15 QuartzCore 0x184c0ffa8 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 32
16 QuartzCore 0x184b8cc64 CA::Context::commit_transaction(CA::Transaction*) + 252
17 QuartzCore 0x184bb40d0 CA::Transaction::commit() + 512
18 QuartzCore 0x184bb4af0 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 120
19 CoreFoundation 0x1818c17dc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
20 CoreFoundation 0x1818bf40c __CFRunLoopDoObservers + 372
21 CoreFoundation 0x1818bf89c __CFRunLoopRun + 1024
22 CoreFoundation 0x1817ee048 CFRunLoopRunSpecific + 444
23 GraphicsServices 0x183271198 GSEventRunModal + 180
24 UIKit 0x1877c1628 -[UIApplication _run] + 684
25 UIKit 0x1877bc360 UIApplicationMain + 208
26 MyApp 0x10006c730 main (AppDelegate.swift:34)
27 libdispatch.dylib 0x1807d05b8 (Missing)
在Crashlytics上,我对同一次崩溃有不同的标题,例如:
-[nsconcertematable setNeedsLayout]:发送到实例0x17fbdca0的无法识别的选择器
-[\u NSConcreteObservation setNeedsLayout]:发送到实例0x170235da0的选择器无法识别
EXC\u错误\u访问内核\u无效\u地址0x0000000e9c2cbeb8
有没有其他方法来调试和找出发生了什么