From 9080bebc88d4d9679cb148ce61edd7a115c5a11f Mon Sep 17 00:00:00 2001 From: Zorg Date: Fri, 10 Jun 2022 21:30:42 -0700 Subject: [PATCH] Fix Xcode 14 warnings (#2149) * Upgrade project version * Use +initialize instead of +load for debug warning --- Sparkle.xcodeproj/project.pbxproj | 7 +++++-- .../xcshareddata/xcschemes/BinaryDelta.xcscheme | 2 +- .../xcshareddata/xcschemes/Distribution.xcscheme | 2 +- .../xcshareddata/xcschemes/Sparkle Test App.xcscheme | 2 +- .../xcshareddata/xcschemes/Sparkle.xcscheme | 2 +- .../xcshareddata/xcschemes/UITests.xcscheme | 2 +- .../xcshareddata/xcschemes/generate_appcast.xcscheme | 2 +- .../xcshareddata/xcschemes/generate_keys.xcscheme | 2 +- .../xcshareddata/xcschemes/sign_update.xcscheme | 2 +- .../xcshareddata/xcschemes/sparkle-cli.xcscheme | 2 +- Sparkle/SPUUpdater.m | 11 +++++++---- 11 files changed, 21 insertions(+), 15 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 5f3db4f3..2f027f1d 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 52; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -2867,7 +2867,7 @@ attributes = { CLASSPREFIX = SU; LastSwiftUpdateCheck = 1020; - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1400; ORGANIZATIONNAME = "Sparkle Project"; TargetAttributes = { 5D06E8CF0FD68C7C005AE3F6 = { @@ -3140,6 +3140,7 @@ /* Begin PBXShellScriptBuildPhase section */ 6131B1910DDCDE32005215F0 /* Run Script: Set Git Version Info */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 12; files = ( ); @@ -3155,6 +3156,7 @@ }; 72045CE626FEE8CC004F96E5 /* Strip XPC Services */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -3173,6 +3175,7 @@ }; 720B4C2125EBFAA5005A0592 /* Run Script: Link Tools */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/BinaryDelta.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/BinaryDelta.xcscheme index 6b4385b6..416185d3 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/BinaryDelta.xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/BinaryDelta.xcscheme @@ -1,6 +1,6 @@