Automatic signing works good on my computer, but it does not on azure pipelines.
The error is:
error: No profiles for *** were found: Xcode couldn't find any iOS App Development provisioning profiles matching ***. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target *** from project ***)
Enabling -allowProvisioningUpdates says that it needs apple id profile. But as I know there is no way to specify it.
There is also an option in the xcode task for signing automatically, what is the point of it?
So is it possible to automatically sign ios app in azure? If not it should be specified in the document, and the automatic signing option should be removed from the task.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
It sounds like you are running into a possible issue with the product and not necessarily the docs. Please reach out to the Azure DevOps Developer Community. That site is monitored by the product team and should be a good resource for getting to the bottom of this.
I struggled with this too! What I was able to work out was this: you _can_ use automatic signing in a DevOps pipeline, but it requires you to extract the automatically generated provisioning profiles from your local Xcode, upload them to secure files (or wherever else you prefer), and then use the Install Provisioning Profile task to install them. You'll also need to install the signing certificate that those profiles are using.
This only works for development builds. AFAIK, you cannot use auto signing in a DevOps pipeline for distribution (ad hoc, app store, etc).
In my case, I was able to use auto signing to build the app for XCUI testing on App Center. I still use manual signing for adhoc + app store distribution pipelines.
In my case, I was able to use auto signing to build the app for XCUI testing on App Center. I still use manual signing for adhoc + app store distribution pipelines.
This was exactly the solution for me. The documentation doesn't really talk about this as I suppose it assumes familiarity with how signing works at a lower level.
Next challenge for me is stopping it to try sign my Cocoapod frameworks and then failing the build!
Most helpful comment
I struggled with this too! What I was able to work out was this: you _can_ use automatic signing in a DevOps pipeline, but it requires you to extract the automatically generated provisioning profiles from your local Xcode, upload them to secure files (or wherever else you prefer), and then use the Install Provisioning Profile task to install them. You'll also need to install the signing certificate that those profiles are using.
This only works for development builds. AFAIK, you cannot use auto signing in a DevOps pipeline for distribution (ad hoc, app store, etc).
In my case, I was able to use auto signing to build the app for XCUI testing on App Center. I still use manual signing for adhoc + app store distribution pipelines.