diff --git a/Sparkle/SUAppcast.m b/Sparkle/SUAppcast.m index c16772b0..17d0c391 100644 --- a/Sparkle/SUAppcast.m +++ b/Sparkle/SUAppcast.m @@ -120,7 +120,10 @@ if (!attrName) { continue; } - [dictionary setObject:[attribute stringValue] forKey:attrName]; + NSString *attributeStringValue = [attribute stringValue]; + if (attributeStringValue != nil) { + [dictionary setObject:attributeStringValue forKey:attrName]; + } } return dictionary; }