Skip to content

Commit

Permalink
Enable hardened runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Timac committed Sep 30, 2023
1 parent 594618e commit ad5ad56
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions VPN.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -503,12 +503,14 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = VPNStatus/VPNStatus.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 200;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = QFL3YR6JR6;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = VPNStatus/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -527,12 +529,14 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = VPNStatus/VPNStatus.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 200;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = QFL3YR6JR6;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = VPNStatus/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down
5 changes: 4 additions & 1 deletion VPNStatus/VPNStatus.entitlements
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict/>
<dict>
<key>com.apple.security.personal-information.location</key>
<true/>
</dict>
</plist>

0 comments on commit ad5ad56

Please sign in to comment.