Add iOS certificate and provisioning profile to the steps on iOS

This commit is contained in:
Mathieu Fillion 2020-05-14 01:03:41 -04:00
Родитель d2791039ae
Коммит 1826e853db
1 изменённых файлов: 18 добавлений и 2 удалений

Просмотреть файл

@ -68,10 +68,26 @@ stages:
vmImage: $(macOSVMImage)
variables:
SkipUnknowFrameworks: true # Used by TargetFrameworks.Filtering package to build only what's possible on a mac for the multitargeted library
- name: SkipUnknowFrameworks
value: true # Used by TargetFrameworks.Filtering package to build only what's possible on a mac for the multitargeted library
- group: apple.appstore.distribution # import all variables for certificate from the library in azure devops
steps:
- template: build/stage-build.yml
- task: InstallAppleCertificate@2
displayName: Install Apple Certificate
inputs:
certSecureFile: 'apple.appstore.distribution.p12' # Certificate located in the Library's secure files
certPwd: '$(appleappstorecertificatepassword)' # password in Library's Variable group
keychain: 'temp'
deleteCert: true
- task: InstallAppleProvisioningProfile@1
displayName: 'Install Apple Provisioning Profile'
inputs:
provisioningProfileLocation: 'secureFiles'
provProfileSecureFile: UnoMaterial.mobileprovision # Located in the Library's secure files
- template: build/stage-build.yml
- stage: Release