diff --git a/QLView/QLView.entitlements b/QLView/QLView.entitlements index 782cf2d..18aff0c 100644 --- a/QLView/QLView.entitlements +++ b/QLView/QLView.entitlements @@ -4,8 +4,6 @@ com.apple.security.app-sandbox - com.apple.security.cs.disable-library-validation - com.apple.security.files.user-selected.read-only diff --git a/SPV.xcodeproj/project.pbxproj b/SPV.xcodeproj/project.pbxproj index 071ae05..da60e99 100644 --- a/SPV.xcodeproj/project.pbxproj +++ b/SPV.xcodeproj/project.pbxproj @@ -316,6 +316,7 @@ 62D9B220261A081200555529 /* Resources */, 62543E822B8C63EC0086976B /* Embed Foundation Extensions */, 62543EA92B8C720D0086976B /* Embed Frameworks */, + 621821122CAD26030022764F /* ShellScript */, ); buildRules = ( ); @@ -456,6 +457,27 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 621821122CAD26030022764F /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "[ -n \"$CODE_SIGN_IDENTITY\" ] && find \"$BUILT_PRODUCTS_DIR\" -depth -path \"*mdk.framework/*\" -name \"lib*.dylib\" -exec codesign -f - vvvv -s\"${EXPANDED_CODE_SIGN_IDENTITY}\" ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements,flags {} \\;\n"; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 62543E832B8C66460086976B /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -557,8 +579,10 @@ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; CODE_SIGN_ENTITLEMENTS = QLView/QLView.entitlements; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "-"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = ""; ENABLE_HARDENED_RUNTIME = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; @@ -591,6 +615,7 @@ CODE_SIGN_ENTITLEMENTS = QLView/QLView.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = ""; ENABLE_HARDENED_RUNTIME = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; @@ -619,10 +644,13 @@ buildSettings = { ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 1; DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = ""; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; @@ -658,10 +686,12 @@ buildSettings = { ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 1; DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = ""; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; @@ -815,9 +845,11 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = SPV/SPVDebug.entitlements; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "-"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; DEAD_CODE_STRIPPING = YES; + DEVELOPMENT_TEAM = ""; ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = SPV/Info.plist; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.video"; diff --git a/SPV/SPV.entitlements b/SPV/SPV.entitlements index 71a9e46..57f6955 100644 --- a/SPV/SPV.entitlements +++ b/SPV/SPV.entitlements @@ -10,8 +10,6 @@ com.apple.security.assets.pictures.read-only - com.apple.security.cs.disable-library-validation - com.apple.security.files.downloads.read-write com.apple.security.files.user-selected.read-only diff --git a/SPV/SPVDebug.entitlements b/SPV/SPVDebug.entitlements index 71a9e46..57f6955 100644 --- a/SPV/SPVDebug.entitlements +++ b/SPV/SPVDebug.entitlements @@ -10,8 +10,6 @@ com.apple.security.assets.pictures.read-only - com.apple.security.cs.disable-library-validation - com.apple.security.files.downloads.read-write com.apple.security.files.user-selected.read-only