From fbbbd4721e1620a3d6bd49c15da32b63479594c3 Mon Sep 17 00:00:00 2001 From: IXEAU Date: Fri, 19 May 2023 10:44:59 +0200 Subject: [PATCH] =?UTF-8?q?Remove=20=E2=80=9Cimport=20Cocoa=E2=80=9D=20to?= =?UTF-8?q?=20make=20it=20work=20on=20iOS=20again?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cocoa is not available on iOS — therefore, the import prevents use of the package on iOS. --- swift/StableDiffusionCLI/main.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/swift/StableDiffusionCLI/main.swift b/swift/StableDiffusionCLI/main.swift index e567beb0..d068efab 100644 --- a/swift/StableDiffusionCLI/main.swift +++ b/swift/StableDiffusionCLI/main.swift @@ -7,7 +7,6 @@ import CoreML import Foundation import StableDiffusion import UniformTypeIdentifiers -import Cocoa import CoreImage @available(iOS 16.2, macOS 13.1, *)