Skip to content

Commit

Permalink
updated apple signing gitlab script for package signing
Browse files Browse the repository at this point in the history
  • Loading branch information
zosocanuck committed Jun 8, 2023
1 parent 009682c commit 8ce3a3a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion gitlab/venafi-csp-apple-codesign.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
stages: # List of stages for jobs, and their order of execution
- build_sign
- sign_standalone
- build_sign_package

build-job: # Build and Sign
stage: build_sign
Expand All @@ -15,4 +16,11 @@ codesign-job: # Sign application using codesign standalone utility
stage: sign_standalone
script:
- |
codesign --force -o runtime --sign "${SIGNING_CERTIFICATE}" archives.xcarchive/Products/Applications/SampleIOSApp.app
codesign --force -o runtime --sign "${SIGNING_CERTIFICATE}" archives.xcarchive/Products/Applications/SampleIOSApp.app
build-sign-package-job:
stage: build_sign_package
script:
- |
productbuild --component archives.xcarchive/Products/Applications/SampleIOSApp.app sampleiosapp.pkg
productsign --sign "${PACKAGE_SIGNER_CERTIFICATE}" sampleiosapp.pkg sampleiosapp-signed.pkg

0 comments on commit 8ce3a3a

Please sign in to comment.