iOS27beta在旧Xcode上调试报错的暂时解决方案

54 阅读1分钟

iOS27beta在旧Xcode上运行app,启动后控制台直接报错:

objc[12553]: -[OS_dispatch_mach_msg _setContext:]: unrecognized selector sent to instance 0x1054222f0 (no message forward handler is installed)

-[OS_dispatch_mach_msg _setContext:]: unrecognized selector sent to instance 0x1054222f0 (no message forward handler is installed)

image.png

暂时解决方案

Edit scheme -> Run -> Options -> Queue Debugging ☑️ Enable backtrace recording

取消选择

image.png

永久解决方案

升级 Xcode 27