是否可以更改 iOS .xcarchive 包的 Xcode 默认位置?

发布于 2024-12-22 16:50:28 字数 365 浏览 6 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧人九事 2024-12-29 16:50:28

使用 Xcode 的位置首选项更改存档的默认位置。

在此处输入图像描述

Use Xcode's Location preferences to change the default location for archives.

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文