Questions tagged «build-system»



23
内部循环; 建筑可能会产生不可靠的结果:Xcode 10错误
使用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我也得到了相同的结果。如何在不恢复到旧版构建系统的情况下解决此错误?

3
CMakeLists.txt中未使用CMAKE_BUILD_TYPE
我无法将默认的构建配置设置为Release。在我的CMakeLists.txt文件中,使用以下命令在文件顶部设置CMAKE_BUILD_TYPE: #enable Release ALWAYS, configure vars set(CMAKE_BUILD_TYPE Release) set(EXECUTABLE_NAME "ParticleSimulator") set(VERSION_MAJOR 0) set(VERSION_MINOR 2) 但是在构建我的项目并打开解决方案时,总是会看到Debug模式,这与我在CMakeLists文件中指定的相反。我究竟做错了什么? 我已经看过那里的其他一些问题,但是我没有看到专门针对此问题的任何内容。 CMakeLists.txt的要点。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.