简体   繁体   English

如何在没有嵌入 App Clip 的情况下构建 App IPA?

[英]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谢谢

  1. Select New Copy Files Phase Select New Copy Files Phase
  2. Choose Destination -> App Clips选择Destination -> App Clips
  3. Tap + button, select YourClip.app file点击+按钮,select YourClip.app文件
  4. (Optional) Rename build phase to Embed App Clips (可选)将构建阶段重命名为Embed App Clips

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

相关问题 如何构建iOS应用程序并获得CodenameOne中没有证书的.ipa - How is it possible to build an ios app and getting .ipa without certificate in codenameone 如何使用Xamarin for Visual Studio 2013为我的iOS应用程序构建IPA文件 - How do i build an IPA file for my iOS app with Xamarin for Visual Studio 2013 如何在Apple Watch中创建构建(.ipa或.app) - How to create build(.ipa or .app) in Apple Watch 如何在 Mac 上运行 Test Flight 应用程序或.ipa 文件 - How do I run Test Flight app or .ipa file on mac 如何将设备上的移动应用程序转换为 IPA 文件? - How do I convert a mobile app on my device into an IPA file? 无法将没有应用剪辑的构建上传到应用商店连接 - Cannot upload build without app clip to app store connect 如何在商店中没有应用的情况下配置 App Clip - How to configure an App Clip without having an app on the Store 如何使用 Transporter 将 ipa 文件加载到应用商店? “构建”为空 - How to load ipa file with Transporter to app store? “Build” is empty 如何触发 SceneDelegate 方法场景:继续:在带有应用剪辑 url 前缀的主应用中? - How do I trigger SceneDelegate method scene:continue: in main app with app clip url prefix? 如何在没有源代码的情况下将.ipa或.app的体系结构从arm64更改为i386 - How to change architecture of .ipa or .app from arm64 to i386 without source code
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM