是否可以更改 iOS .xcarchive 包的 Xcode 默认位置?
Xcode 在此处创建其 .xcarchive 包: "~/Library/Developer/Xcode/Archives/ProjName MM-DD-YY h.mm AM.xcarchive"
这对于个人开发人员来说很好,但事实并非如此对于在受控工作区中进行自动化构建来说非常酷,它必须将每个生产构建的 xcarchive 复制到发布位置。
是否可以在 xcodebuild 命令行上更改写入 .xcarchive 包的目标目录?我做了很多搜索,似乎没有其他人问这个问题。我可以找到很多信息来告诉我我已经告诉过你的内容,但没有任何关于修改 .xcarchive 包的主页的信息。我尝试过更改 DSTROOT 和 SRCROOT。
谢谢。
Xcode creates its .xcarchive bundles here: "~/Library/Developer/Xcode/Archives/ProjName MM-DD-YY h.mm AM.xcarchive"
This is fine for an individual developer, but it's not so cool for an automated build in a controlled workspace, one that has to copy every production build's xcarchive(s) to a posting location.
Is it possible, on the xcodebuild command line, to change the target directory for writing the .xcarchive bundle? I've done a lot of searching and nobody else seems to be asking this question. I can find a lot of info that tells me what I've already told you, but nothing about modifying the home of .xcarchive bundles. I have tried changing DSTROOT and SRCROOT.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 Xcode 的位置首选项更改存档的默认位置。
Use Xcode's Location preferences to change the default location for archives.