VSTS-使用托管Mac的CI-CD管道

时间:2018-09-02 23:30:52

标签: ios build azure-devops

我正在尝试使用VSTS中的Hosted Mac选项构建我的IOS应用程序。目前,在构建后获取.app文件时遇到了问题。下面是我的构建配置屏幕快照

构建完成后,我无法获取.app文件。以下是我的xcode构建选项

steps:
- task: Xcode@5
  displayName: 'Xcode build'
  inputs:
    xcWorkspacePath: 'platforms/ios/*.xcworkspace'

    scheme: myfirstapp

    packageApp: true

    archivePath: '$(Build.ArtifactStagingDirectory)/deploy'

    exportPath: '$(Build.ArtifactStagingDirectory)/deploy'

    exportOptions: specify

    exportMethod: enterprise

    exportTeamId: AL97FW9WY7

    signingOption: manual

    signingIdentity: myfirstapp

    provisioningProfileUuid: myfirstapp

    provisioningProfileName: myfirstapp

1 个答案:

答案 0 :(得分:0)

问题已解决。在托管的Mac中,当我们尝试从Mac复制.app文件时,将其视为文件夹而不是文件。我尝试了**,并将整个文件夹复制到了Artifacts Drop文件夹