Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode build || signingIdentity & provisioningProfileUuid are required #2

Open
nithinyell opened this issue Mar 6, 2021 · 1 comment

Comments

@nithinyell
Copy link

Use

- task: Xcode@5
  displayName: "Build Mobile Application"
  inputs:
    actions: 'build'
    configuration: 'Release'
    xcWorkspacePath: 'Sample/ios/Sample.xcworkspace'
    scheme: 'sampleApp'
    sdk: 'iphoneos'
    packageApp: true
    exportPath: 'output/package'
    archivePath: 'output/archive'
    signingOption: 'manual'
    xcodeVersion: 'specifyPath'
    signingIdentity: '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)'
    provisioningProfileUuid: '$(APPLE_PROV_PROFILE_UUID)'
    xcodeDeveloperDir: '/Applications/Xcode_11.7.app/Contents/Developer'
@dragon788
Copy link

And note that the $(APPLE_CERTIFICATE_SIGNING_IDENTITY) and $(APPLE_PROV_PROFILE_UUID) are "magic" variables set by the Azure DevOps "Install Apple Certificate" and "Install Apple Provisioning Profile" tasks, and aren't really documented very well. I tried specifying the exact identity and team name myself, and it never worked, but using these magic variables allowed me to get a properly signed build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants