Is the issue reproducible with the latest version? YES
Does the issue happen sporadically, or every EVERY TIME
Is the issue reproducible locally by following our local debug guide? NOT APPLICABLE
Issue description
After much trial and error with certificates and provisioning profiles, I was able to get this step to successfully export an ad-hoc build for our app clip. I ensured the export-options was identical to the plist I got when manually exporting from Xcode.
The step successfully exports the app clips from the archive, but then fails to locate the IPA.
I ran the raw xcodebuild command locally with the same export options, and it worked perfectly. It created this folder:
App Thinning Size Report.txt
DistributionSummary.plist
Packaging.log
ExportOptions.plist
app-thinning.plist
Apps/
The Apps/ folder contained each thinned .ipa variant.
Update: I could get this working via a script, running the xcodebuild command directly. The files are certainly being produced, just not detected by .../*/.ipa
Troubleshooting
Issue description
After much trial and error with certificates and provisioning profiles, I was able to get this step to successfully export an ad-hoc build for our app clip. I ensured the export-options was identical to the plist I got when manually exporting from Xcode.
The step successfully exports the app clips from the archive, but then fails to locate the IPA.
I ran the raw
xcodebuild
command locally with the same export options, and it worked perfectly. It created this folder:The Apps/ folder contained each thinned .ipa variant.
Here is the command I'm running in
bitrise.yml
:Bitrise info
The line with the error is here in your source code.
I suspect that the pattern matching for an
.ipa
file isn't accounting for the .ipa living in subfolders, which could be why it's not working.