diff --git a/Sparkle/SUAppcastDriver.m b/Sparkle/SUAppcastDriver.m index c848fa34..2622ece0 100644 --- a/Sparkle/SUAppcastDriver.m +++ b/Sparkle/SUAppcastDriver.m @@ -169,6 +169,10 @@ NSSet *allowedChannels; if ([self.updaterDelegate respondsToSelector:@selector(allowedChannelsForUpdater:)]) { allowedChannels = [self.updaterDelegate allowedChannelsForUpdater:self.updater]; + if (allowedChannels == nil) { + SULog(SULogLevelError, @"Error: -allowedChannelsForUpdater: cannot return nil. Treating this as an empty set."); + allowedChannels = [NSSet set]; + } } else { allowedChannels = [NSSet set]; }