[英]Xcode 11 Error: Multiple Commands produce... when trying to archive with new build system
[英]When trying to generate an Xcode project from a cmake folder, I get an error related to Xcode new build system. Any possible solution?
我正在尝试使用这个非常好的答案从 cmake 文件夹中生成 Xcode 项目。 执行此命令时:
cmake -G Xcode <dir of CMakeLists.txt>
我得到:
CMake Error in CMakeLists.txt:
The custom command generating
/Users/fofo/Developer/ClientProject/desktop/always_build
is attached to multiple targets:
rake-all
stage
but none of these is a common dependency of the other(s). This is not
allowed by the Xcode "new build system".
CMake Generate step failed. Build files cannot be regenerated correctly.
Can I somehow specify to cmake -G Xcode to use the old Xcode build system, or can I somehow solve the problem changing the cmake files? 任何帮助是极大的赞赏。 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.