From b8f8af4da5bd91d5b96aedaf78aa90ec90bbcccf Mon Sep 17 00:00:00 2001 From: Jeremy Massel <1123407+jkmassel@users.noreply.github.com> Date: Thu, 26 Aug 2021 16:25:21 -0600 Subject: [PATCH] Use sandboxing for the Tracks demo app --- TracksDemo/TracksDemo Mac/TracksDemo Mac.entitlements | 8 ++++++++ TracksDemo/TracksDemo.xcodeproj/project.pbxproj | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 TracksDemo/TracksDemo Mac/TracksDemo Mac.entitlements diff --git a/TracksDemo/TracksDemo Mac/TracksDemo Mac.entitlements b/TracksDemo/TracksDemo Mac/TracksDemo Mac.entitlements new file mode 100644 index 00000000..852fa1a4 --- /dev/null +++ b/TracksDemo/TracksDemo Mac/TracksDemo Mac.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.app-sandbox + + + diff --git a/TracksDemo/TracksDemo.xcodeproj/project.pbxproj b/TracksDemo/TracksDemo.xcodeproj/project.pbxproj index f7f73ac2..12559246 100644 --- a/TracksDemo/TracksDemo.xcodeproj/project.pbxproj +++ b/TracksDemo/TracksDemo.xcodeproj/project.pbxproj @@ -40,6 +40,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 2470EBC126D84C4600B599BD /* TracksDemo Mac.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "TracksDemo Mac.entitlements"; sourceTree = ""; }; 24FB4D1925B2AE2B006E4031 /* TracksDemo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "TracksDemo-Bridging-Header.h"; sourceTree = ""; }; 24FB4D1A25B2AE2C006E4031 /* CrashLoggingRootViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CrashLoggingRootViewController.swift; sourceTree = ""; }; 24FB4D3C25B2AF02006E4031 /* CrashLoggingDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CrashLoggingDataSource.swift; sourceTree = ""; }; @@ -191,6 +192,7 @@ F93676F921DFFDC700323458 /* TracksDemo Mac */ = { isa = PBXGroup; children = ( + 2470EBC126D84C4600B599BD /* TracksDemo Mac.entitlements */, F93676FA21DFFDC700323458 /* AppDelegate.swift */, F93676FC21DFFDC700323458 /* ViewController.swift */, 24FB4D8325B2B304006E4031 /* CrashLoggingRootViewController.swift */, @@ -658,6 +660,7 @@ CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_ENTITLEMENTS = "TracksDemo Mac/TracksDemo Mac.entitlements"; CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; @@ -692,6 +695,7 @@ CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_ENTITLEMENTS = "TracksDemo Mac/TracksDemo Mac.entitlements"; CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES;