]> granicus.if.org Git - transmission/commitdiff
Enable hardened runtime
authorMitchell Livingston <livings124@mac.com>
Sat, 22 Dec 2018 01:15:46 +0000 (20:15 -0500)
committerMitchell Livingston <livings124@mac.com>
Sat, 22 Dec 2018 01:15:46 +0000 (20:15 -0500)
Transmission.xcodeproj/project.pbxproj
macosx/Transmission.entitlements [new file with mode: 0644]

index 267d02e3acacf4ff0faa971b4fa9e984d089286a..12a536489251904ffd8b8b15a965113b1238d797 100644 (file)
                A22B00AF116A9E90003315FC /* connecthostport.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = connecthostport.h; path = "third-party/miniupnpc/connecthostport.h"; sourceTree = "<group>"; };
                A22BAE261388040500FB022F /* NSMutableArrayAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = NSMutableArrayAdditions.h; path = macosx/NSMutableArrayAdditions.h; sourceTree = "<group>"; };
                A22BAE271388040500FB022F /* NSMutableArrayAdditions.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = NSMutableArrayAdditions.m; path = macosx/NSMutableArrayAdditions.m; sourceTree = "<group>"; };
+               A22CEF9E21CDC44400C5C1BA /* Transmission.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = Transmission.entitlements; path = macosx/Transmission.entitlements; sourceTree = "<group>"; };
                A22CF7AC0FA3505F0009BD3E /* it */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = it; path = macosx/it.lproj/GroupRules.xib; sourceTree = "<group>"; };
                A22CF7B90FA352740009BD3E /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = macosx/fr.lproj/GroupRules.xib; sourceTree = "<group>"; };
                A22CF7C90FA5D3F90009BD3E /* es */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = es; path = macosx/es.lproj/GroupRules.xib; sourceTree = "<group>"; };
                29B97314FDCFA39411CA2CEA /* Transmission */ = {
                        isa = PBXGroup;
                        children = (
+                               A22CEF9E21CDC44400C5C1BA /* Transmission.entitlements */,
                                4DDBB70A09E16B3200284745 /* GUI */,
                                A2F35BC315C5A0A100EBF632 /* QuickLookPlugin */,
                                4D1838DC09DEC04A0047D688 /* libtransmission */,
                                LastUpgradeCheck = 0420;
                                ORGANIZATIONNAME = "The Transmission Project";
                                TargetAttributes = {
+                                       8D1107260486CEB800E47090 = {
+                                               SystemCapabilities = {
+                                                       com.apple.HardenedRuntime = {
+                                                               enabled = 1;
+                                                       };
+                                               };
+                                       };
                                        C1639A6E1A55F4D600E42033 = {
                                                CreatedOnToolsVersion = 6.1.1;
                                        };
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                CLANG_ENABLE_OBJC_ARC = YES;
+                               ENABLE_HARDENED_RUNTIME = YES;
                                FRAMEWORK_SEARCH_PATHS = macosx;
                                GCC_PREFIX_HEADER = macosx/Transmission_Prefix.pch;
                                HEADER_SEARCH_PATHS = (
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                CLANG_ENABLE_OBJC_ARC = YES;
+                               ENABLE_HARDENED_RUNTIME = YES;
                                FRAMEWORK_SEARCH_PATHS = macosx;
                                GCC_PREFIX_HEADER = macosx/Transmission_Prefix.pch;
                                HEADER_SEARCH_PATHS = (
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                CLANG_ENABLE_OBJC_ARC = YES;
+                               ENABLE_HARDENED_RUNTIME = YES;
                                FRAMEWORK_SEARCH_PATHS = macosx;
                                GCC_PREFIX_HEADER = macosx/Transmission_Prefix.pch;
                                HEADER_SEARCH_PATHS = (
diff --git a/macosx/Transmission.entitlements b/macosx/Transmission.entitlements
new file mode 100644 (file)
index 0000000..0c67376
--- /dev/null
@@ -0,0 +1,5 @@
+<?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/>
+</plist>