TIL: Automatic XCode Provisioning (allowProvisioningUpdates) #20572
Unanswered
PWhittle86
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks.
For a long time I've been struggling with automatic builds - I was able to use XCode's automatic provisioning feature, but only if I was opening the relevant build in XCode first, before compiling the app and submitting it to the store. It was maddening, but today I finally found the fix I was looking for and couldn't find anywhere else to share it.
Originally, the build_app action I had looked like this:
This would only work if I actually opened the app in XCode first, which was no good because I needed the build to complete as part of a pipeline. Everything online that I could find suggested that export_args with -allowProvisioningUpdates should resolve the issue for me. However, I needed to add something so that allowProvisioningUpdates was happening at the Build step too!
I introduced the xcargs field and it worked flawlessly. Hoping this helps someone else out there that needs it.
Beta Was this translation helpful? Give feedback.
All reactions