Remove NSAppTransportSecurity from the Sparkle Test App (#2790)

NSAllowsLocalNetworking is enabled by default these days since 10.12.
This commit is contained in:
Zorg authored and GitHub committed 2025-10-26 19:57:06 -07:00
1 parent c8cc30f0a7
commit ee39041587
2 files changed
+1 -6

No files matched your search

+1 -1
View File
@@ -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;
}
@@ -34,10 +34,5 @@
<string>eRFPLZuNM6m8bltmtpPX4fzKbufI1z6rKJHtgIIsllk=</string>
<key>SUEnableInstallerLauncherService</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist>