ios - 内循环;构建可能会产生不可靠的结果:Xcode 错误
问题描述
使用 Xcode 10 进行编译时,我正在尝试迁移到新的构建系统。但是,它给出了以下错误:
Cycle details:
→ Target 'project' : LinkStoryboards
Target 'project' has compile command with input '/Users/project/Commons/Components/ScreenshotSharing/ViewController/AppShare.storyboard'
Target 'project' : ValidateEmbeddedBinary /Users/project/Xcode/DerivedData/project-hgqvaddkhmzxfkaycbicisabeakv/Build/Products/Debug-iphoneos/project.app/PlugIns/stickers.appex
Target 'project' has process command with input '/Users/project/Resources/Info.plist'
Target 'project' has compile command with input '/Users/project/Commons/Components/ScreenshotSharing/ViewController/AppShare.storyboard'
即使删除了问题文件,我对另一个 xib/storyboard 也有同样的看法。如何在不恢复到旧版构建系统的情况下解决此错误?
解决方案
For anybody having an issue with Xcode 10 build system, follow the following steps to fix it:
- In Xcode, go to File->Project/Workspace settings.
- Change the build system to Legacy Build system.
It will resolve the build issue with the new Xcode.
If you want to work with the new build system, then you can find the troubleshooting help from this apple Xcode help page.
推荐阅读
- python - AttributeError:“NoneType”对象没有属性“fit_generator”
- swift - MacOS Swift,使用参数将数据发送到 USB 设备
- sql - MSSQL 重复键行异常
- javascript - 防止div失去焦点
- properties - exchange.getProperty(Exchange.EXCEPTION_CAUGHT) 和 simple("${exchangeProperty.EXCEPTION_CAUGHT}") 的结果不同
- c# - 如何在方法调用上请求 UAC 管理员权限
- ruby-on-rails - 如何在 activeadmin 中映射输入的名称?
- javascript - if , else if - javascript 函数只工作一次
- angular - Angular 材质对话框即使包含在入口组件中也不起作用?
- python - 我在哪里弄错了我的显式等待 | 预期条件 | wait.until 语法?