最近,我在Xcode项目中引入了第二个应用程序目标,并将我的代码库的很大一部分拆分为框架。最初一切正常,但是随着我创建更多框架,调试器停止工作。我的项目非常庞大,其中包含许多我想导入到某些应用程序目标中而不是其他目标中的组件。
当应用程序在断点处停止时,我得到以下控制台输出:
The REPL and expressions are unavailable.
Shared Swift state for <AppName> could not be initialized.
断点在大多数情况下都起作用,但有时整个调试器将崩溃,并给出以下输出:
Message from debugger: The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.
平台:OSX 10.14.3,Xcode 10.1,iOS SDK 9.0
项目中的目标总数:〜250
应用定位: 2
框架: 117
测试: 127
尝试的修补程序: