Refresh ad hoc provisioning profile from expo.dev
Alex Froitzheim
We trigger builds (including preview builds) with an eas workflow based on github events. Our tester sometimes needs to add new devices to our ad hoc provisioning profile. They can add devices on expo.dev under our org > credentials > apple devices. They could also manually trigger a new build via the Build from GitHub functionality. The gap seems to be to refresh the provisioning profile which always requires a dev to run
eas build:resign
or trigger a build with the --refresh-ad-hoc-provisioning-profile
flag. Allowing to do this on expo.dev as well, maybe as part of the Build from Github ui would be great. Hope I'm not overlooking anything.Szymon Świerk
Hi!
There is one way to trigger a build with a provisioning profile refresh from the expo.dev level:
- Prerequisite: create a workflow with the buildjob withrefresh_ad_hoc_provisioning_profile: truein the params (https://docs.expo.dev/eas/workflows/pre-packaged-jobs/#parameters), commit this workflow to the repo.
- In expo.dev, go to the "Workflows" page in your project (https://expo.dev/accounts/[account]/projects/[project]/workflows), click "Run workflow" and select the workflow that does the build with ad-hoc provisioning profile refresh.
Also, a related article: https://expo.dev/changelog/eas-internal-ios-ci-workflows
Good idea about making it possible to have a "refresh ad hoc provisioning profile" checkbox/toggle in the "Build from Github" UI, that would be useful.