Skip to content

Commit

Permalink
Use sandboxing for the Tracks demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
jkmassel committed Aug 26, 2021
1 parent 7c91b79 commit b8f8af4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions TracksDemo/TracksDemo Mac/TracksDemo Mac.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +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>
<key>com.apple.security.app-sandbox</key>
<true/>
</dict>
</plist>
4 changes: 4 additions & 0 deletions TracksDemo/TracksDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<group>"; };
24FB4D1925B2AE2B006E4031 /* TracksDemo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "TracksDemo-Bridging-Header.h"; sourceTree = "<group>"; };
24FB4D1A25B2AE2C006E4031 /* CrashLoggingRootViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CrashLoggingRootViewController.swift; sourceTree = "<group>"; };
24FB4D3C25B2AF02006E4031 /* CrashLoggingDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CrashLoggingDataSource.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -191,6 +192,7 @@
F93676F921DFFDC700323458 /* TracksDemo Mac */ = {
isa = PBXGroup;
children = (
2470EBC126D84C4600B599BD /* TracksDemo Mac.entitlements */,
F93676FA21DFFDC700323458 /* AppDelegate.swift */,
F93676FC21DFFDC700323458 /* ViewController.swift */,
24FB4D8325B2B304006E4031 /* CrashLoggingRootViewController.swift */,
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b8f8af4

Please sign in to comment.