diff --git a/generate_appcast/ArchiveItem.swift b/generate_appcast/ArchiveItem.swift index ed98016b..5e6058fa 100644 --- a/generate_appcast/ArchiveItem.swift +++ b/generate_appcast/ArchiveItem.swift @@ -100,7 +100,7 @@ class ArchiveItem: CustomStringConvertible { var archiveURL: URL { if let relative = self.feedURL { - return URL(string: self.archivePath.lastPathComponent, relativeTo: relative)! + return URL(fileURLWithPath: self.archivePath.lastPathComponent, relativeTo: relative) } return URL(string: self.archivePath.lastPathComponent)! }