1

我有一个大型混合语言(obj-c、swift & c++)项目,它可以在所有平台上构建和运行良好

“为预览而构建”似乎也完成得很好。

打开特定 swift 文件的预览失败,例如:在此处输入图像描述

诊断给出:


Failed to launch swiftc.

==================================

|  HumanReadableNSError: NSInvalidArgumentException
|  
|  com.apple.dt.PreviewsFoundation.ExceptionError (0):
|  ==NSLocalizedFailureReason: too many arguments (4670) -- limit is 4096

我之前已经设法让预览工作。我转而使用预构建的 xcframeworks,希望提高预览构建性能,但已经从缓慢变为根本无法工作!

4

0 回答 0