Exporting multiple .ipa packages from the same build

We’re using UCB for our iOS builds, but we have an annoying issue that we’d like to get fixed (i wonder if other devs haven’t faced this issue before).

I have imported 2 provisioning profiles into UCB - one for Ad Hoc builds and another for Distribution (AppStore).

Our testers use Ad hoc builds, but the issue is when we want to move to production (and prepare a build for the app store).

If we sign a build with the App store provisioning profile, our QA testers cannot directly install that build on their test devices (a warning message is shown in UCB which is OK).

The problem however is that there’s no good way to handle this scenario, other than creating 2 different builds from the same commit (one for ad hoc and one for app store).

Ideally, what we’d like is an option to let the same build spit out 2 different .ipa’s (and .dSyms). The ad hoc build could be sent to QA, and once approved, the matching App store build will be uploaded to the store.

This is similar to the workflow we use when building locally - an ad hoc build is used, and when approved, we “export” a new .ipa from Xcode (from the same build) and upload it.

Please add support for this, or let me know if there’s any good workaround we can apply.

Ya this is something that we’ve talked about doing before but haven’t made it a priority. A shorter term solution might be for us to upload the archive so you could import it locally and export an IPA with whatever credentials you wanted.

You can actually re-sign an IPA locally so you would just setup cloud build to build with your ad-hoc profile and then re-sign that build locally before submission. Check out this stackoverflow thread about re-signing IPAs (which I realize may be way out of date now, but I used to use the ota-tools mentioned there to do this for my own builds): ios - How to re-sign the ipa file? - Stack Overflow

1 Like

Thanks Danny, we are currently re-signing the UCB builds, only the other way around (e.g: re-sign appstore builds for ad hoc).

Exporting the archive could also assist… hopefully this could be added soon.