加了APM,启动就Crash
Yy*
发布于 2 年前
2257来自上海应用性能监控 U-APM
SDK集成与升级
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[XXXXX.AppDelegate window]: unrecognized selector sent to instance 0x300489650'
*** First throw call stack:
(0x190636418 0x18d99de88 0x19073b914 0x193e8c73c 0x1905d3904 0x1905d3480 0x106a860d0 0x192defe80 0x192defdc4 0x192f1a1e8 0x192ef8ef0 0x192ef8a44 0x248b22bd8 0x192e9c324 0x248b231e0 0x1060ef7e0 0x1060efa04 0x192f23780 0x1931b10dc 0x19307818c 0x193077e74 0x1aa2f35cc 0x1aa2f39a8 0x1aa2f3430 0x1aa31198c 0x1aa2d1c64 0x1aa30ffa8 0x103ada79c 0x103ade1bc 0x1aa2d3320 0x1aa2d32a0 0x1aa2d3178 0x19060928c 0x190609220 0x190606d5c 0x190605f04 0x190605714 0x1dc1011c4 0x193179564 0x193227530 0x19352b480 0x106009408 0x106009380 0x106009484 0x1b61afcd0)
libc++abi: terminating due to uncaught exception of type NSException我实在想不清为啥要去获取window