Skip to content

Commit

Permalink
add entitlements
Browse files Browse the repository at this point in the history
  • Loading branch information
szokeasaurusrex committed Feb 21, 2025
1 parent a5dd9de commit 2d1f670
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ jobs:
APPLE_API_KEY_PATH: /tmp/apple_key.json

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: sentry-cli

- name: Decode Apple signing certificate and API key
env:
APPLE_CERT_DATA: ${{ secrets.APPLE_CERT_DATA }}
Expand All @@ -147,7 +152,7 @@ jobs:
input_path: sentry-cli-Darwin-${{ matrix.arch }}
p12_file: ${{ env.APPLE_CERT_PATH }}
p12_password: ${{ secrets.APPLE_CERT_PASSWORD }}
sign_args: --for-notarization
config_file: sentry-cli/rcodesign.toml

- name: Zip signed binary
run: |
Expand Down
9 changes: 9 additions & 0 deletions entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<!-- Entitlements for macOS -->

<plist version="1.0">
<dict>
</dict>
</plist>
4 changes: 4 additions & 0 deletions rcodesign.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[default.sign.path."*"]

entitlements_xml_file = "entitlements.plist"
code_signature_flags = ["runtime"]

0 comments on commit 2d1f670

Please sign in to comment.