[英]Xcode compiles in Library/Developer/Xcode/DerivedData/
Can I force Xcode to compile everything in a specific directory instead of: 我可以强制Xcode编译特定目录中的所有内容,而不是:
~/Library/Developer/Xcode/DerivedData/Myproject-bdbyavaafjqvoghfedbmgxuxzvde/......
I'm compiling for bamboo and I would like to have full control where the compilation outputs and temps are stored. 我正在编译竹子,我想完全控制存储编译输出和临时值的地方。
You can change in Xcode->Preferences->Locations: See attach image. 您可以在Xcode-> Preferences-> Locations中进行更改:请参阅附加图像。
If you are building from the command line using xcodebuild
you can set the CONFIGURATION_BUILD_DIR
environment variable. 如果使用xcodebuild
从命令行构建,则可以设置CONFIGURATION_BUILD_DIR
环境变量。 xcodebuild
also allows you to set these variables as part of your build command. xcodebuild
还允许您将这些变量设置为构建命令的一部分。
eg. 例如。
xcodebuild -scheme MyScheme -sdk iphoneos7.0 CONFIGURATION_BUILD_DIR='/wherever/you/want'
If you are using XCode Plugin for Bamboo, then you can specify it under "Custom Parameters" (all the way to the bottom, see screenshot below) 如果你正在使用Bamboo的XCode插件,那么你可以在“自定义参数”下指定它(一直到底部,见下面的截图)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.