I am working on an App Clip on an existing App but the App Clip is not ready to ship. However, I need to deploy the App to TestFlight/AppStore for a bug fix.
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? 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.
I noticed there is an "Embed App Clip" in the App target's Build Phases, however if I remove it, how do I add it back in Build Phase? The only options I see when I try to add a new build phase are: New Copy Files Phase
New Run Script Phase
New Headers Phase
New Copy Bundle Resources Phase (disabled)
New Compile Sources Phase (disabled)
New Link Binary With Libraries Phase (disabled)
New Build Carbon Resources Phase(disabled)
Note there is no "New Embed App Clips Phase".
Is it possible to add back an Embed App Clips Phase if I removed the one that was added there by XCode when I created the App Clip target for the 1st time? Would appreciate the steps to do so.
Thanks
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
Hi,
I created an App Clip for my App and I am able to launch it from XCode (Version 12.4 (12D4e)) on my iPhone. I can see the App Clip in the App Library of my iPhone.
Next I want to create an Ad Hoc distribution so my team members can load the App Clip for testing.
According to https://developer.apple.com/documentation/app_clips/distributing_your_app_clip :
"You may also choose Ad Hoc or Development distribution. Note that you need to export the App Clip and the full app separately in these cases."
I do have a separate identifier and Ad Hoc provisioning profile for my App Clip and when I archive my app and select to distribute it Ad Hoc, I ensured both my app and app clip's provisioning profiles are selected and am able to successfully go thru the export process. I also see my app clip in the app's archive and final ipa after export. However after app thinning etc, in the final Review ipa screen there is just an Export button which exports the main app's IPA.
How do I export the App Clip separately? I do not see an option to export them separately. After exporting I only see my App's IPA.
Finally in my App Thinning Size Report.txt, I do not see any entry for my App Clip. Here is the content:
Variant: XXXXXX.ipa
Supported variant descriptors: Universal
App + On Demand Resources size: 20.6 MB compressed, 43.1 MB uncompressed
App size: 20.6 MB compressed, 43.1 MB uncompressed
On Demand Resources size: Zero KB compressed, Zero KB uncompressed
Would appreciate any help. Thanks.