Pārlūkot izejas kodu

fix: enable hardened runtime

Prateek Sunal 1 gadu atpakaļ
vecāks
revīzija
63ae524352

+ 1 - 0
macos/Runner.xcodeproj/project.pbxproj

@@ -578,6 +578,7 @@
 				"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
 				COMBINE_HIDPI_IMAGES = YES;
+				ENABLE_HARDENED_RUNTIME = YES;
 				INFOPLIST_FILE = Runner/Info.plist;
 				INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
 				LD_RUNPATH_SEARCH_PATHS = (

+ 3 - 3
macos/Runner/Release.entitlements

@@ -4,11 +4,11 @@
 <dict>
 	<key>com.apple.security.app-sandbox</key>
 	<true/>
+	<key>com.apple.security.files.downloads.read-write</key>
+	<true/>
 	<key>com.apple.security.network.client</key>
-    <true/>
+	<true/>
 	<key>keychain-access-groups</key>
 	<array/>
-	<key>com.apple.security.files.downloads.read-write</key>
-	<true/>
 </dict>
 </plist>