Skip to content

Commit fb64b01

Browse files
authored
Progress.publish() is unavailable on iOS (#17)
1 parent 5ecd68a commit fb64b01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Upscaling/UpscalingExportSession.swift

+2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ public class UpscalingExportSession {
2929
])
3030
progress.fileURL = outputURL
3131
progress.isCancellable = false
32+
#if os(macOS)
3233
progress.publish()
34+
#endif
3335
}
3436

3537
// MARK: Public

0 commit comments

Comments
 (0)