Add `ImageIO` import allowing to build the tool using recent toolchain (#127)
Should resolve: ``` error: cannot find 'CGImageDestinationCreateWithURL' in scope ``` build errors.
This commit is contained in:
parent
7f4df436eb
commit
c30a8277f7
|
@ -7,6 +7,7 @@
|
|||
#if os(macOS)
|
||||
|
||||
import Foundation
|
||||
import ImageIO
|
||||
|
||||
extension CGImage {
|
||||
func write(to url: URL) {
|
||||
|
|
Loading…
Reference in New Issue