[英]How do I build an App IPA without the App Clip Embedded?
I am working on an App Clip on an existing App but the App Clip is not ready to ship.我正在现有 App 上开发 App Clip,但 App Clip 尚未准备好发布。 However, I need to deploy the App to TestFlight/AppStore for a bug fix.
但是,我需要将应用程序部署到 TestFlight/AppStore 以修复错误。
What is the best way to exclude the App Clip from the App in the interim without removing the App Clip target and code in the XCode project?在不删除XCode项目中的App Clip目标和代码的情况下,临时从App中排除App Clip的最佳方法是什么? I just want to build an App IPA without the App Clip so I can submit to TestFlight/AppStore without removing the App Clip target/code from the project.
我只想构建一个没有 App Clip 的 App IPA,这样我就可以提交到 TestFlight/AppStore,而无需从项目中删除 App Clip 目标/代码。
Looking at the Build Phases of the project, I figured I need to first remove the App Clip as a Dependency from the App's target.查看项目的构建阶段,我想我需要首先从应用程序的目标中删除 App Clip 作为依赖项。 Then there is the "Embed App Clips" Build Phase.
然后是“嵌入 App Clips”构建阶段。 I cannot just remove the AppClip in the Embed App Clips build phase - Archive will create an empty AppClips folder in the App IPA.
我不能只在嵌入 App Clips 构建阶段删除 AppClip - Archive 将在 App IPA 中创建一个空的 AppClips 文件夹。 I have to remove the Embed App Clips from the Build Phases, however if I remove it, there is no obvious way of adding it back, at least I don't see it.
我必须从 Build Phases 中删除 Embed App Clips,但是如果我删除它,没有明显的方法可以将它添加回来,至少我没有看到它。
Currently my only option is to write a Archive Post-action Run Script to remove it from the Archive.目前我唯一的选择是编写一个存档后操作运行脚本以将其从存档中删除。
Has anyone ran into this situation before and would appreciate any help.有没有人遇到过这种情况,并希望得到任何帮助。
Thanks谢谢
New Copy Files Phase
New Copy Files Phase
Destination -> App Clips
Destination -> App Clips
+
button, select YourClip.app
file+
按钮,select YourClip.app
文件Embed App Clips
Embed App Clips
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.