【发布时间】:2023-01-14 03:14:51
【问题描述】:
无缘无故,当我想使用调试器控制台打印时,Xcode 显示错误:
(lldb) po self
warning: Swift error in scratch context: error: failed to load module 'XXX'
.
Shared Swift state for XXX.app has developed fatal errors and is being discarded.
REPL definitions and persistent names/types will be lost.
error: expression failed to parse:
unknown error
这是一个带有 cocoapods 的 iOS 项目。我在使用 M1 pro 芯片。
任何的想法 ?
【问题讨论】: