Skip to content

Commit 1e1807e

Browse files
committed
Fix app entitlements
1 parent d608381 commit 1e1807e

6 files changed

Lines changed: 30 additions & 22 deletions

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ jobs:
6060

6161
- name: Notarize and Pack
6262
run: |
63-
ditto -c -k --sequesterRsrc --keepParent ./build/export/Wool.app "./build/export/Wool.zip"
63+
ditto -c -k --sequesterRsrc --keepParent ./build/export/Wool.app "./build/export/Wool-${{ steps.version.outputs.tag }}.zip"
6464
xcrun notarytool submit \
6565
--team-id 'AEYF632Y3N' \
6666
--apple-id 'v@2dubs.com' \
6767
--password "$NOTARY_PASSWORD" \
6868
--wait \
69-
"./build/export/Wool.zip"
69+
"./build/export/Wool-${{ steps.version.outputs.tag }}.zip"
7070
xcrun stapler staple "./build/export/Wool.app"
7171
ditto -c -k --sequesterRsrc --keepParent ./build/export/Wool.app "./Wool-${{ steps.version.outputs.tag }}.zip"
7272
env:

Wool.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@
419419
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
420420
INFOPLIST_KEY_LSBackgroundOnly = YES;
421421
INFOPLIST_KEY_LSUIElement = YES;
422-
INFOPLIST_KEY_NSAppleEventsUsageDescription = "This app needs access to keyboard events to lock the keyboard while cleaning the screen";
422+
INFOPLIST_KEY_NSAppleEventsUsageDescription = "This app needs access to keyboard events to lock the keyboard while you cleaning the screen";
423423
INFOPLIST_KEY_NSHumanReadableCopyright = "";
424424
LD_RUNPATH_SEARCH_PATHS = (
425425
"$(inherited)",
@@ -454,7 +454,7 @@
454454
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
455455
INFOPLIST_KEY_LSBackgroundOnly = YES;
456456
INFOPLIST_KEY_LSUIElement = YES;
457-
INFOPLIST_KEY_NSAppleEventsUsageDescription = "This app needs access to keyboard events to lock the keyboard while cleaning the screen";
457+
INFOPLIST_KEY_NSAppleEventsUsageDescription = "This app needs access to keyboard events to lock the keyboard while you cleaning the screen";
458458
INFOPLIST_KEY_NSHumanReadableCopyright = "";
459459
LD_RUNPATH_SEARCH_PATHS = (
460460
"$(inherited)",

Wool/ExportOptions.plist

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,16 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
33
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
44
<plist version="1.0">
5-
<dict>
6-
<key>compileBitcode</key>
7-
<false />
8-
9-
<key>method</key>
10-
<string>developer-id</string>
11-
12-
<key>signingStyle</key>
13-
<string>automatic</string>
14-
5+
<dict>
6+
<key>compileBitcode</key>
7+
<false />
8+
<key>method</key>
9+
<string>developer-id</string>
10+
<key>signingStyle</key>
11+
<string>automatic</string>
12+
<key>stripSwiftSymbols</key>
13+
<true />
1514
<key>teamID</key>
1615
<string>AEYF632Y3N</string>
17-
18-
<key>stripSwiftSymbols</key>
19-
<true />
20-
</dict>
16+
</dict>
2117
</plist>

Wool/Wool.entitlements

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>com.apple.security.app-sandbox</key>
6-
<true/>
5+
<key>com.apple.security.app-sandbox</key>
6+
<false/>
7+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
8+
<true/>
9+
<key>com.apple.security.cs.disable-library-validation</key>
10+
<true/>
11+
<key>com.apple.security.automation.apple-events</key>
12+
<true/>
713
</dict>
814
</plist>

Wool/WoolRelease.entitlements

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>com.apple.security.app-sandbox</key>
6-
<true/>
5+
<key>com.apple.security.app-sandbox</key>
6+
<false/>
7+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
8+
<true/>
9+
<key>com.apple.security.cs.disable-library-validation</key>
10+
<true/>
11+
<key>com.apple.security.automation.apple-events</key>
12+
<true/>
713
</dict>
814
</plist>

0 commit comments

Comments
 (0)