Skip to content

Commit 8570e5f

Browse files
committed
Build with hardened runtime for release
1 parent 90aa632 commit 8570e5f

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

packages/kaiteki/macos/Runner.xcodeproj/project.pbxproj

+9
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,11 @@
567567
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
568568
CLANG_ENABLE_MODULES = YES;
569569
CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
570+
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
570571
CODE_SIGN_STYLE = Automatic;
571572
COMBINE_HIDPI_IMAGES = YES;
573+
DEVELOPMENT_TEAM = "";
574+
ENABLE_HARDENED_RUNTIME = NO;
572575
INFOPLIST_FILE = Runner/Info.plist;
573576
INFOPLIST_KEY_CFBundleDisplayName = Kaiteki;
574577
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking";
@@ -695,8 +698,11 @@
695698
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
696699
CLANG_ENABLE_MODULES = YES;
697700
CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
701+
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
698702
CODE_SIGN_STYLE = Automatic;
699703
COMBINE_HIDPI_IMAGES = YES;
704+
DEVELOPMENT_TEAM = "";
705+
ENABLE_HARDENED_RUNTIME = NO;
700706
INFOPLIST_FILE = Runner/Info.plist;
701707
INFOPLIST_KEY_CFBundleDisplayName = Kaiteki;
702708
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking";
@@ -717,8 +723,11 @@
717723
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
718724
CLANG_ENABLE_MODULES = YES;
719725
CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;
726+
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
720727
CODE_SIGN_STYLE = Automatic;
721728
COMBINE_HIDPI_IMAGES = YES;
729+
DEVELOPMENT_TEAM = "";
730+
ENABLE_HARDENED_RUNTIME = YES;
722731
INFOPLIST_FILE = Runner/Info.plist;
723732
INFOPLIST_KEY_CFBundleDisplayName = Kaiteki;
724733
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking";

packages/kaiteki/macos/Runner/DebugProfile.entitlements

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
66
<true/>
7-
<key>com.apple.security.cs.allow-jit</key>
8-
<true/>
9-
<key>com.apple.security.network.server</key>
7+
<key>com.apple.security.files.user-selected.read-only</key>
108
<true/>
119
<key>com.apple.security.network.client</key>
1210
<true/>
13-
<key>com.apple.security.files.user-selected.read-only</key>
11+
<key>com.apple.security.network.server</key>
1412
<true/>
1513
</dict>
1614
</plist>

packages/kaiteki/macos/Runner/Release.entitlements

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
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.network.server</key>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.cs.allow-jit</key>
68
<true/>
79
<key>com.apple.security.files.user-selected.read-only</key>
810
<true/>
911
<key>com.apple.security.network.client</key>
1012
<true/>
11-
<key>com.apple.security.app-sandbox</key>
13+
<key>com.apple.security.network.server</key>
1214
<true/>
1315
</dict>
1416
</plist>

0 commit comments

Comments
 (0)