使用来自deriveddata的库的档案iOS应用程序

发布于 2025-02-05 10:19:04 字数 431 浏览 1 评论 0原文

我正在使用Fastlane进行CI的构建,以GITHUB动作为基础。

CI运行Fastlane的build_app函数。 build_app内部使用XcodeBuild Archive对项目进行存档,然后使用Xcodebuild -exportarchive来提取ipa

问题是XcodeBuild Archive始终忽略缓存,并从源构建所有模块(即使从以前的构建中派生的派生可用)。是否有一种方法可以强制fastlanexcodebuild Archive使用deriveddata的库。也许还有其他方法可以实现这一目标。

谢谢

I'm using Fastlane for my CI builds on Github Actions.

CI runs Fastlane's build_app function. The build_app internally uses xcodebuild archive to archive the project and then uses xcodebuild -exportArchive to extract IPA.

The problem is xcodebuild archive always ignores caches and builds all the modules from the source (even if DerivedData from previous builds are available). Is there a way to force either fastlane or xcodebuild archive to use caches from DerivedData. Or maybe there is some other way to achieve this.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文