简体   繁体   English

Xcode在Library / Developer / Xcode / DerivedData /中编译

[英]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插件,那么你可以在“自定义参数”下指定它(一直到底部,见下面的截图)

Bamboo的Xcode插件

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ld:找不到文件:Library / Developer / Xcode / DerivedData - ld: file not found: Library/Developer/Xcode/DerivedData 如何使用“$Users/Library/Developer/Xcode/DerivedData”中的框架“将二进制文件与库链接” - How to 'link binary with libraries' with framework in '$Users/Library/Developer/Xcode/DerivedData' 错误:无法删除/ Users / gs / Library / Developer / Xcode / DerivedData-无法删除“ Info.plist” - error: failed to remove /Users/gs/Library/Developer/Xcode/DerivedData - “Info.plist” couldn’t be removed 仅在发布版本中,clang:错误:没有这样的文件或目录:'/ Users / vagrant / Library / Developer / Xcode / DerivedData - Only in release build, clang: error: no such file or directory: '/Users/vagrant/Library/Developer/Xcode/DerivedData 如何在我的 ~/Library/Developer/Xcode/DerivedData 目录中安全地删除? - How can I safely delete in my ~/Library/Developer/Xcode/DerivedData directory? PhaseScriptExecution Run\ Script /Users/runner/Library/Developer/Xcode/DerivedData/Runner 在构建 flutter ios 应用程序时 - PhaseScriptExecution Run\ Script /Users/runner/Library/Developer/Xcode/DerivedData/Runner when build flutter ios app 格式错误或损坏的 AST 文件:'无法加载模块“/Library/Developer/Xcode/DerivedData/ModuleCache/34OBPFY26OANR/Darwin.pcm”:找不到文件' - malformed or corrupted AST file: 'Unable to load module "/Library/Developer/Xcode/DerivedData/ModuleCache/34OBPFY26OANR/Darwin.pcm": file not found' Xcode 7.3库项目每次编译 - Xcode 7.3 library project compiles every time Xcode DerivedData目录在删除后不断返回 - Xcode DerivedData directory keeps returning after deletion 区别xcode执行清除并删除DerivedData吗? - Difference xcode to perform clean and remove the DerivedData?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM