From 22960512b8018bc139d6268fd2da31036cd1e23a Mon Sep 17 00:00:00 2001 From: Imamuzzaki Abu Salam Date: Sat, 8 Apr 2023 20:40:48 +0700 Subject: [PATCH] hotfix: fix login item --- Remute.xcodeproj/project.pbxproj | 42 +++++++++- Remute.xcworkspace/contents.xcworkspacedata | 3 - Remute/Info.plist | 4 +- .../Remute Launcher.xcodeproj/project.pbxproj | 52 ++++++++++--- .../xcschemes/Remute Launcher.xcscheme | 77 +++++++++++++++++++ 5 files changed, 163 insertions(+), 15 deletions(-) create mode 100644 Remute/Remute Launcher/Remute Launcher.xcodeproj/xcshareddata/xcschemes/Remute Launcher.xcscheme diff --git a/Remute.xcodeproj/project.pbxproj b/Remute.xcodeproj/project.pbxproj index 66aa5b1..5677c28 100644 --- a/Remute.xcodeproj/project.pbxproj +++ b/Remute.xcodeproj/project.pbxproj @@ -15,6 +15,8 @@ 11B86E5D1EDE9B4D0069D254 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 11B86E5B1EDE9B4D0069D254 /* Main.storyboard */; }; 11B86E661EDE9BD00069D254 /* DFRFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 11B86E651EDE9BD00069D254 /* DFRFoundation.framework */; }; 11B86E981EDEC6720069D254 /* ServiceManagement.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 11B86E921EDEAD1D0069D254 /* ServiceManagement.framework */; }; + 1CB5EC5729E1A45D0067EF5C /* Remute Launcher.app in Resources */ = {isa = PBXBuildFile; fileRef = 1CB5EC5629E19F1B0067EF5C /* Remute Launcher.app */; }; + 1CB5EC5829E1A4A80067EF5C /* Remute Launcher.app in CopyFiles */ = {isa = PBXBuildFile; fileRef = 1CB5EC5629E19F1B0067EF5C /* Remute Launcher.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; 242787BCE98FD2B43E32703E /* libPods-Remute.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C2CE39171FE86ACB7F6C386 /* libPods-Remute.a */; }; 5D4763221F0562E6005E8DB0 /* tray-unactive-white@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5D47631F1F0562E6005E8DB0 /* tray-unactive-white@2x.png */; }; 5D4763231F0562E6005E8DB0 /* tray-unactive-black@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5D4763201F0562E6005E8DB0 /* tray-unactive-black@2x.png */; }; @@ -26,6 +28,16 @@ C6B6195A2167483F00F06C6B /* .gitignore in Resources */ = {isa = PBXBuildFile; fileRef = C6B619592167483F00F06C6B /* .gitignore */; }; /* End PBXBuildFile section */ +/* Begin PBXContainerItemProxy section */ + 1CB5EC5529E19F1B0067EF5C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1CB5EC4129E19EAA0067EF5C /* Remute Launcher.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 11B86E751EDEAC970069D254; + remoteInfo = "Remute Launcher"; + }; +/* End PBXContainerItemProxy section */ + /* Begin PBXCopyFilesBuildPhase section */ 11B86E941EDEAD980069D254 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; @@ -33,6 +45,7 @@ dstPath = Contents/Library/LoginItems; dstSubfolderSpec = 1; files = ( + 1CB5EC5829E1A4A80067EF5C /* Remute Launcher.app in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -55,6 +68,7 @@ 11B86E671EDE9CDC0069D254 /* TouchBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TouchBar.h; sourceTree = ""; }; 11B86E921EDEAD1D0069D254 /* ServiceManagement.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ServiceManagement.framework; path = System/Library/Frameworks/ServiceManagement.framework; sourceTree = SDKROOT; }; 11B86E9A1EDECB3F0069D254 /* Remute.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Remute.entitlements; sourceTree = ""; }; + 1CB5EC4129E19EAA0067EF5C /* Remute Launcher.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "Remute Launcher.xcodeproj"; path = "Remute/Remute Launcher/Remute Launcher.xcodeproj"; sourceTree = ""; }; 414578CF9911DD8725F6B4BA /* Pods-Remute.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Remute.release.xcconfig"; path = "Target Support Files/Pods-Remute/Pods-Remute.release.xcconfig"; sourceTree = ""; }; 4C2CE39171FE86ACB7F6C386 /* libPods-Remute.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Remute.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 5D47631F1F0562E6005E8DB0 /* tray-unactive-white@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "tray-unactive-white@2x.png"; sourceTree = ""; }; @@ -94,6 +108,7 @@ 11B86E4F1EDE9B4D0069D254 /* Remute */, 11B86E4E1EDE9B4D0069D254 /* Products */, 11B86E641EDE9BD00069D254 /* Frameworks */, + 1CB5EC4129E19EAA0067EF5C /* Remute Launcher.xcodeproj */, BB2B16BA4B399BED85E72BBE /* Pods */, ); sourceTree = ""; @@ -147,6 +162,14 @@ name = Frameworks; sourceTree = ""; }; + 1CB5EC5229E19F1B0067EF5C /* Products */ = { + isa = PBXGroup; + children = ( + 1CB5EC5629E19F1B0067EF5C /* Remute Launcher.app */, + ); + name = Products; + sourceTree = ""; + }; 5D4763251F0562F2005E8DB0 /* Graphics */ = { isa = PBXGroup; children = ( @@ -197,7 +220,7 @@ attributes = { BuildIndependentTargetsInParallel = YES; LastUpgradeCheck = 1430; - ORGANIZATIONNAME = "Pixel Point"; + ORGANIZATIONNAME = "Imamuzzaki Abu Salam"; TargetAttributes = { 11B86E4C1EDE9B4D0069D254 = { CreatedOnToolsVersion = 8.3.1; @@ -221,6 +244,12 @@ mainGroup = 11B86E441EDE9B4C0069D254; productRefGroup = 11B86E4E1EDE9B4D0069D254 /* Products */; projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1CB5EC5229E19F1B0067EF5C /* Products */; + ProjectRef = 1CB5EC4129E19EAA0067EF5C /* Remute Launcher.xcodeproj */; + }, + ); projectRoot = ""; targets = ( 11B86E4C1EDE9B4D0069D254 /* Remute */, @@ -228,6 +257,16 @@ }; /* End PBXProject section */ +/* Begin PBXReferenceProxy section */ + 1CB5EC5629E19F1B0067EF5C /* Remute Launcher.app */ = { + isa = PBXReferenceProxy; + fileType = wrapper.application; + path = "Remute Launcher.app"; + remoteRef = 1CB5EC5529E19F1B0067EF5C /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + /* Begin PBXResourcesBuildPhase section */ 11B86E4B1EDE9B4D0069D254 /* Resources */ = { isa = PBXResourcesBuildPhase; @@ -235,6 +274,7 @@ files = ( 5D4763241F0562E6005E8DB0 /* tray-active@2x.png in Resources */, 11B86E5A1EDE9B4D0069D254 /* Assets.xcassets in Resources */, + 1CB5EC5729E1A45D0067EF5C /* Remute Launcher.app in Resources */, 5D4763231F0562E6005E8DB0 /* tray-unactive-black@2x.png in Resources */, 5D4763221F0562E6005E8DB0 /* tray-unactive-white@2x.png in Resources */, 5DA60BDA1EFAB9270045BDCF /* statusBarIcon2.png in Resources */, diff --git a/Remute.xcworkspace/contents.xcworkspacedata b/Remute.xcworkspace/contents.xcworkspacedata index 8467683..0f245fc 100644 --- a/Remute.xcworkspace/contents.xcworkspacedata +++ b/Remute.xcworkspace/contents.xcworkspacedata @@ -1,9 +1,6 @@ - - diff --git a/Remute/Info.plist b/Remute/Info.plist index b0626af..3d58add 100644 --- a/Remute/Info.plist +++ b/Remute/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0.0 + 1.0.1 CFBundleVersion - 1 + 2 LSApplicationCategoryType public.app-category.productivity LSBackgroundOnly diff --git a/Remute/Remute Launcher/Remute Launcher.xcodeproj/project.pbxproj b/Remute/Remute Launcher/Remute Launcher.xcodeproj/project.pbxproj index 26394a1..7bc0c52 100644 --- a/Remute/Remute Launcher/Remute Launcher.xcodeproj/project.pbxproj +++ b/Remute/Remute Launcher/Remute Launcher.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 53; objects = { /* Begin PBXBuildFile section */ @@ -104,8 +104,9 @@ 11B86E6D1EDEAC970069D254 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0830; - ORGANIZATIONNAME = "Pixel Point"; + BuildIndependentTargetsInParallel = YES; + LastUpgradeCheck = 1430; + ORGANIZATIONNAME = "Imamuzzaki Abu Salam"; TargetAttributes = { 11B86E741EDEAC970069D254 = { CreatedOnToolsVersion = 8.3.1; @@ -121,10 +122,9 @@ }; buildConfigurationList = 11B86E701EDEAC970069D254 /* Build configuration list for PBXProject "Remute Launcher" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( - English, en, Base, ); @@ -179,26 +179,37 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "-"; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; @@ -216,7 +227,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -227,26 +238,37 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "-"; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -258,7 +280,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; }; @@ -271,9 +293,15 @@ CODE_SIGN_ENTITLEMENTS = "Remute Launcher/Remute Launcher.entitlements"; CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; + DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = MA98Q3DQ6F; + ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = "Remute Launcher/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "ImBIOS.Remute-Launcher"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -288,9 +316,15 @@ CODE_SIGN_ENTITLEMENTS = "Remute Launcher/Remute Launcher.entitlements"; CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; + DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = MA98Q3DQ6F; + ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = "Remute Launcher/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "ImBIOS.Remute-Launcher"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/Remute/Remute Launcher/Remute Launcher.xcodeproj/xcshareddata/xcschemes/Remute Launcher.xcscheme b/Remute/Remute Launcher/Remute Launcher.xcodeproj/xcshareddata/xcschemes/Remute Launcher.xcscheme new file mode 100644 index 0000000..d595829 --- /dev/null +++ b/Remute/Remute Launcher/Remute Launcher.xcodeproj/xcshareddata/xcschemes/Remute Launcher.xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +