Skip to content

Commit

Permalink
Use output variable from InstallAppleProvisioningProfile task to set …
Browse files Browse the repository at this point in the history
…provisioning profile UUID. (#22018)

This is more flexible than hardcoding the provisioning profile name or UUID. The name shouldn't usually change but it is not guaranteed to remain constant.
  • Loading branch information
edgchen1 authored Sep 7, 2024
1 parent 28b550f commit f3725b9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ stages:
xcodeDeveloperDir: '/Applications/Xcode_${{ variables.xcodeVersion }}.app/Contents/Developer'
signingOption: 'manual'
signingIdentity: '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)'
provisioningProfileName: 'temporary *' # temporary name, change it back to the original below later
#provisioningProfileName: 'iOS Team Provisioning Profile'
provisioningProfileUuid: '$(APPLE_PROV_PROFILE_UUID)'
args: '-derivedDataPath $(Build.BinariesDirectory)/app_center_test/apple_package_test/DerivedData'
workingDirectory: '$(Build.BinariesDirectory)/app_center_test/apple_package_test/'
useXcpretty: false # xcpretty can hide useful error output so we will disable it
Expand Down

0 comments on commit f3725b9

Please sign in to comment.