File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed
Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+ <plist version =" 1.0" >
4+ <dict >
5+ <key >com.apple.security.cs.allow-jit </key >
6+ <true />
7+ <key >com.apple.security.cs.allow-unsigned-executable-memory </key >
8+ <true />
9+ </dict >
10+ </plist >
Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ jobs:
107107 IDENTITY=$(security find-identity -v -p codesigning | grep "Developer ID Application" | head -1 | awk -F'"' '{print $2}')
108108 echo "Signing with identity: $IDENTITY"
109109
110- # Sign both binaries
111- codesign --force --options runtime --timestamp --sign "$IDENTITY" grove-darwin-x64
112- codesign --force --options runtime --timestamp --sign "$IDENTITY" grove-darwin-arm64
110+ # Sign both binaries with JIT entitlements
111+ codesign --force --options runtime --timestamp --entitlements .github/workflows/assets/entitlements.plist -- sign "$IDENTITY" grove-darwin-x64
112+ codesign --force --options runtime --timestamp --entitlements .github/workflows/assets/entitlements.plist -- sign "$IDENTITY" grove-darwin-arm64
113113
114114 # Verify signatures
115115 codesign --verify --verbose grove-darwin-x64
Original file line number Diff line number Diff line change @@ -120,9 +120,9 @@ jobs:
120120 IDENTITY=$(security find-identity -v -p codesigning | grep "Developer ID Application" | head -1 | awk -F'"' '{print $2}')
121121 echo "Signing with identity: $IDENTITY"
122122
123- # Sign both binaries
124- codesign --force --options runtime --timestamp --sign "$IDENTITY" grove-darwin-x64
125- codesign --force --options runtime --timestamp --sign "$IDENTITY" grove-darwin-arm64
123+ # Sign both binaries with JIT entitlements
124+ codesign --force --options runtime --timestamp --entitlements .github/workflows/assets/entitlements.plist -- sign "$IDENTITY" grove-darwin-x64
125+ codesign --force --options runtime --timestamp --entitlements .github/workflows/assets/entitlements.plist -- sign "$IDENTITY" grove-darwin-arm64
126126
127127 # Verify signatures
128128 codesign --verify --verbose grove-darwin-x64
You can’t perform that action at this time.
0 commit comments