From 5a8498b5571c2f67c802cb00b1e3f4ee9eac32ba Mon Sep 17 00:00:00 2001 From: kanjitalk755 Date: Sun, 7 Jul 2019 01:36:58 +0900 Subject: [PATCH] Add entitlement for Hardened Runtime --- .gitignore | 2 ++ SheepShaver/src/MacOSX/SheepShaver.entitlements | 8 ++++++++ .../MacOSX/SheepShaver_Xcode8.xcodeproj/project.pbxproj | 4 +++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 SheepShaver/src/MacOSX/SheepShaver.entitlements diff --git a/.gitignore b/.gitignore index 4c203053..125df6d3 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,8 @@ DerivedData/ *.perspectivev3 !default.perspectivev3 xcuserdata/ +xcschemes/ +project.xcworkspace/ ## Xcode, Other *.moved-aside diff --git a/SheepShaver/src/MacOSX/SheepShaver.entitlements b/SheepShaver/src/MacOSX/SheepShaver.entitlements new file mode 100644 index 00000000..a1c430a5 --- /dev/null +++ b/SheepShaver/src/MacOSX/SheepShaver.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.cs.allow-unsigned-executable-memory + + + diff --git a/SheepShaver/src/MacOSX/SheepShaver_Xcode8.xcodeproj/project.pbxproj b/SheepShaver/src/MacOSX/SheepShaver_Xcode8.xcodeproj/project.pbxproj index 7a4b5145..d38d6ce4 100755 --- a/SheepShaver/src/MacOSX/SheepShaver_Xcode8.xcodeproj/project.pbxproj +++ b/SheepShaver/src/MacOSX/SheepShaver_Xcode8.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 44; + objectVersion = 45; objects = { /* Begin PBXBuildFile section */ @@ -1214,6 +1214,7 @@ ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_CXX_LIBRARY = "libc++"; + CODE_SIGN_ENTITLEMENTS = SheepShaver.entitlements; COPY_PHASE_STRIP = NO; FRAMEWORK_SEARCH_PATHS = /Library/Frameworks; GCC_CW_ASM_SYNTAX = NO; @@ -1273,6 +1274,7 @@ ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_CXX_LIBRARY = "libc++"; + CODE_SIGN_ENTITLEMENTS = SheepShaver.entitlements; COPY_PHASE_STRIP = NO; DEAD_CODE_STRIPPING = NO; FRAMEWORK_SEARCH_PATHS = /Library/Frameworks;