SUScheduledCheckInterval = 3600 in info.plist not respected, Sparkle resets to 604800.0 #2513
-
SummaryWhen setting SUScheduledCheckInterval = 3600 from info.plist, SPUUpdaterDelegate will report through delegate method willScheduleUpdateCheckAfterDelay that the interval is 604800.0, which does not == 3600 (1 hour) Possible FixRespect plist setting of SUScheduledCheckInterval for any value >= 3600 (where 3600 equals the minimum delay of 1 hour) VersionSparkle 2.5.2 - installed through SPM |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Did you ever set the updateCheckInterval property at runtime? If so, that will override what you set in your Info.plist. Read the documentation for the property. Check what Also that |
Beta Was this translation helpful? Give feedback.
-
The other thing you could be hitting is the impatient update check interval which is indeed 1 week. When the update is automatically downloaded to be installed in the background (see |
Beta Was this translation helpful? Give feedback.
Did you ever set the updateCheckInterval property at runtime? If so, that will override what you set in your Info.plist. Read the documentation for the property.
Check what
-[SPUUpdater updateCheckInterval]
returns or what's in your app's defaults:defaults read my-app-bundle-id
Also that
delay
will be <= your update check interval because it's the time left until the next check.