macos: Enable hardened runtime

This commit is contained in:
Vishesh Handa
2021-08-25 12:08:41 +02:00
parent 7ff61d2f41
commit a534da0224
2 changed files with 5 additions and 0 deletions

View File

@ -570,6 +570,7 @@
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 4NYTN6RU3N;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",

View File

@ -4,5 +4,9 @@
<dict>
<key>com.apple.security.app-sandbox</key>
<false/>
<key>com.apple.security.device.camera</key>
<true/>
<key>com.apple.security.personal-information.photos-library</key>
<true/>
</dict>
</plist>