Skip to content

Commit

Permalink
another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers committed Oct 4, 2024
1 parent 6a6e82b commit 98df77c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ios-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,17 @@ jobs:

- name: Import self-signed certificate
run: |
security import codesign/MapLibre.cer -k ~/Library/Keychains/login.keychain -T /usr/bin/codesign -T /usr/bin/security
security import codesign/MapLibre.p12 -k ~/Library/Keychains/login.keychain -A -P '' -T /usr/bin/codesign -T /usr/bin/security
certificate_path="$PWD"/codesign/MapLibre.p12
keychain_path=~/Desktop/app-signing.keychain-db
keychain_password=""
p12_password="maplibre"
security create-keychain -p "$keychain_password" "$keychain_path"
security set-keychain-settings -lut 21600 "$keychain_path"
security unlock-keychain -p "$keychain_password" "$keychain_path"
security import "$certificate_path" -P "$p12_password" -k "$keychain_path" -T /usr/bin/codesign -T /usr/bin/security
security set-key-partition-list -S apple-tool:,apple: -k "" "$keychain_path"
- name: Create Bazel config
working-directory: platform/darwin
Expand Down

0 comments on commit 98df77c

Please sign in to comment.