内循环;构建可能会产生不可靠的结果:Xcode 错误 [英] Cycle inside ; building could produce unreliable results: Xcode Error
本文介绍了内循环;构建可能会产生不可靠的结果:Xcode 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在使用 Xcode 10 进行编译时,我试图移至新的构建系统.但是,它给出了以下错误:
I am trying to move to the new build system when compiling with Xcode 10. However, it gives the following error:
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 也得到了相同的结果.如何在不恢复到旧版构建系统的情况下解决此错误?
Even after removing the problem file, I get the same for another xib/storyboard. How can I solve this error without reverting to the legacy build system?
推荐答案
我终于能够通过将 Embed App Extensions
脚本移到主要 Target 的 Build Phases
来解决这个问题到最后一个位置.
I was finally able to resolve this by moving Embed App Extensions
script in Build Phases
of main Target to last position.
这篇关于内循环;构建可能会产生不可靠的结果:Xcode 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文