Skip to content

Commit

Permalink
apple codesign gitlab sample
Browse files Browse the repository at this point in the history
  • Loading branch information
zosocanuck committed Feb 27, 2023
1 parent f3d3895 commit 0dac1c1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions gitlab/venafi-csp-apple-codesign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
stages: # List of stages for jobs, and their order of execution
- build_sign
- sign_standalone

build-job: # Build and Sign
stage: build_sign
script:
- tkdriverconfig getgrant --hsmurl=${TPP_URL}/vedhsm --authurl=${TPP_URL}/vedauth --username=${TPP_USERNAME} --password=${TPP_PASSWORD}
- xcodebuild clean -project SampleIOSApp.xcodeproj -scheme SampleIOSApp archive -configuration Release -archivePath archives/
artifacts:
paths:
- archives.xcarchive/

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

0 comments on commit 0dac1c1

Please sign in to comment.