From ee39041587c212e4935a3744308453a0799e89f1 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sun, 26 Oct 2025 19:57:06 -0700 Subject: [PATCH] Remove NSAppTransportSecurity from the Sparkle Test App (#2790) NSAllowsLocalNetworking is enabled by default these days since 10.12. --- Sparkle/SPUUpdater.m | 2 +- TestApplication/TestApplication-Info.plist | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Sparkle/SPUUpdater.m b/Sparkle/SPUUpdater.m index 592dcfea..959afd69 100644 --- a/Sparkle/SPUUpdater.m +++ b/Sparkle/SPUUpdater.m @@ -318,7 +318,7 @@ NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotification if (foundATSPersistentIssue || foundATSMainBundleIssue) { // Just log a warning. Don't outright fail in case we are wrong (eg: app is linked on an old SDK where ATS doesn't take effect) - SULog(SULogLevelDefault, @"The feed URL (%@) may need to change to use HTTPS.\nFor more information: https://sparkle-project.org/documentation/app-transport-security", [feedURL absoluteString]); + SULog(SULogLevelDefault, @"The feed URL (%@) may need to change to use HTTPS. If the feed URL is using local networking for testing, this warning may be incorrect and ignored however.\nFor more information: https://sparkle-project.org/documentation/app-transport-security", [feedURL absoluteString]); _loggedATSWarning = YES; } diff --git a/TestApplication/TestApplication-Info.plist b/TestApplication/TestApplication-Info.plist index 7d447117..33df1ad4 100644 --- a/TestApplication/TestApplication-Info.plist +++ b/TestApplication/TestApplication-Info.plist @@ -34,10 +34,5 @@ eRFPLZuNM6m8bltmtpPX4fzKbufI1z6rKJHtgIIsllk= SUEnableInstallerLauncherService - NSAppTransportSecurity - - NSAllowsArbitraryLoads - -