-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
61 lines (56 loc) · 2.26 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Xcode
# Build, test, and archive an Xcode workspace on macOS.
# Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/xcode
pool:
vmImage: 'macos-latest'
trigger:
- master
# The `certSecureFile` and `provProfileSecureFile` files are uploaded to the Azure Pipelines secure files library where they are encrypted.
# The `P12Password` variable is set in the Azure Pipelines pipeline editor and marked 'secret' to be encrypted.
steps:
- task: InstallAppleCertificate@2
inputs:
certSecureFile: 'CertificatesStibitsIphoneProd.p12'
certPwd: $(P12Password)
- task: InstallAppleProvisioningProfile@1
inputs:
provProfileSecureFile: 'comstibitsLocationTest_AppStore.mobileprovision'
- task: Xcode@5
displayName: 'Build xcode project'
inputs:
actions: 'build'
scheme: 'LocationTest'
sdk: 'iphoneos'
configuration: 'Release'
xcWorkspacePath: '**/*.xcodeproj/project.xcworkspace'
xcodeVersion: 'default' # Options: 9, 10, 11, default, specifyPath
#teamId: UBLBCH5PYQ
#exportTeamId: UBLBCH5PYQ
signingOption: 'manual'
signingIdentity: '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)'
provisioningProfileUuid: '$(APPLE_PROV_PROFILE_UUID)'
packageApp: true
#- task: CopyFiles@2
# inputs:
# contents: '**/*.ipa'
# targetFolder: '$(build.artifactStagingDirectory)'
# App Center distribute
# Distribute app builds to testers and users via Visual Studio App Center
#- task: AppCenterDistribute@1
# displayName: 'Deploy ipa to Visual Studio App Center'
# inputs:
# serverEndpoint: 'LocationTestAppCenterConnection'
# appSlug: 'bendnaiba/LocationTest'
# appFile: 'output/$(SDK)/$(Configuration)/*.ipa'#'$(build.artifactstagingdirectory)/*.ipa'
#symbolsOption: 'Apple' # Optional. Options: apple
#symbolsPath: # Optional
#symbolsPdbFiles: '**/*.pdb' # Optional
#symbolsDsymFiles: # Optional
#symbolsMappingTxtFile: # Optional
#symbolsIncludeParentDirectory: # Optional
#releaseNotesOption: 'input' # Options: input, file
# releaseNotesInput: 'My First test to AppCenter'
#releaseNotesFile: # Required when releaseNotesOption == File
#isMandatory: false # Optional
#distributionGroupId: # Optional