Open ExerciseBook opened 3 months ago
Hi @ExerciseBook, thanks for the question, as I see from sources when you choose the "signingOption" as 'default' you still can manage signingOptionForExport and set it to manual with exportOptions: "auto".
When signingOptionForExport is default we determine the signing using ".pbxproj" file. The file itself we looking it here and in the file itself we're looking for the ProvisioningStyle manual string. In that case, "provisioningProfiles" will be added in your export plist
yes you are right,
we can see that, the provisioningProfiles
will add only when signingOptionForExport === 'manual')
but signingOptionForExport
depend on signingOption
so I have no idea about setting the provisioningProfiles
for archive.
finally, I work around by setting a plist file
I am not very sure if it is a desire to add a separate task input for setting signingOptionForExport
strategy
Task name
XcodeV5
Task version
236
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
MacOS 13
Question
for some strange reason, my project can only build with
signingOption = default
, but if I need to archive it, I mustprovisioningProfiles
in the export plist.reproduce this situation:
I can not set
PROVISIONING_PROFILE
orPROVISIONING_PROFILE_SPECIFIER
during the build step because there are two targets in the exported xcode project, and one of them needs a sign, but the other doesn't.and I need to set signingOptionForExport because if I need to archive the app, singing is required.