From 3636e22cc5566151d69ebd41f95acb81f49f09e3 Mon Sep 17 00:00:00 2001 From: Zorg Date: Fri, 11 Jun 2021 22:26:28 -0700 Subject: [PATCH] Fix sparkle-cli not linking/embedding Sparkle.framework --- Sparkle.xcodeproj/project.pbxproj | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index fd267968..2f569dde 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -298,6 +298,8 @@ 726E4A2B1C87D56200C57C6A /* SUTestWebServer.m in Sources */ = {isa = PBXBuildFile; fileRef = A5BF4F1C1BC7668B007A052A /* SUTestWebServer.m */; }; 726E4A301C87DC1700C57C6A /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; 726E4A371C89116000C57C6A /* SPUStandardUserDriverDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 726E4A361C89116000C57C6A /* SPUStandardUserDriverDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 726F168626747CEB005BEA89 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; + 726F168726747CEB005BEA89 /* Sparkle.framework in Copy Sparkle */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 726F2CE51BC9C33D001971A4 /* SUOperatingSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = 726F2CE31BC9C33D001971A4 /* SUOperatingSystem.h */; }; 726F2CE61BC9C33D001971A4 /* SUOperatingSystem.m in Sources */ = {isa = PBXBuildFile; fileRef = 726F2CE41BC9C33D001971A4 /* SUOperatingSystem.m */; }; 726F2CE81BC9C48F001971A4 /* SUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A5F09CA6EB100B7442F /* SUConstants.m */; }; @@ -578,6 +580,13 @@ remoteGlobalIDString = 726E4A151C86C88F00C57C6A; remoteInfo = TestAppHelper; }; + 726F168826747CEB005BEA89 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8DC2EF4F0486A6940098B216; + remoteInfo = Sparkle; + }; 72A5D5AB1D6929260009E5AC /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; @@ -719,6 +728,7 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( + 726F168726747CEB005BEA89 /* Sparkle.framework in Copy Sparkle */, ); name = "Copy Sparkle"; runOnlyForDeploymentPostprocessing = 0; @@ -1437,6 +1447,7 @@ buildActionMask = 2147483647; files = ( 724F76F91D6EAD0D00ECD062 /* Cocoa.framework in Frameworks */, + 726F168626747CEB005BEA89 /* Sparkle.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -2622,6 +2633,7 @@ buildRules = ( ); dependencies = ( + 726F168926747CEB005BEA89 /* PBXTargetDependency */, ); name = "sparkle-cli"; productName = "sparkle-cli"; @@ -3584,6 +3596,11 @@ target = 726E4A151C86C88F00C57C6A /* TestAppHelper */; targetProxy = 726E4A1F1C86C88F00C57C6A /* PBXContainerItemProxy */; }; + 726F168926747CEB005BEA89 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8DC2EF4F0486A6940098B216 /* Sparkle */; + targetProxy = 726F168826747CEB005BEA89 /* PBXContainerItemProxy */; + }; 72A5D5AC1D6929260009E5AC /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 72B398D11D3D879300EE297F /* Autoupdate */; @@ -4153,6 +4170,7 @@ baseConfigurationReference = 72D954B01CBB41E2006F28BD /* ConfigSparkleTool.xcconfig */; buildSettings = { CLANG_ANALYZER_NONNULL = YES; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; }; name = Debug; }; @@ -4161,6 +4179,7 @@ baseConfigurationReference = 72D954B01CBB41E2006F28BD /* ConfigSparkleTool.xcconfig */; buildSettings = { CLANG_ANALYZER_NONNULL = YES; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; }; name = Coverage; }; @@ -4169,6 +4188,7 @@ baseConfigurationReference = 72D954B01CBB41E2006F28BD /* ConfigSparkleTool.xcconfig */; buildSettings = { CLANG_ANALYZER_NONNULL = YES; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; }; name = Release; };