We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbcb39b commit 4cc2dffCopy full SHA for 4cc2dff
2 files changed
Source/Device.generated.swift
@@ -11,8 +11,10 @@
11
12
#if os(watchOS)
13
import WatchKit
14
-#else
+#elseif canImport(UIKit)
15
import UIKit
16
+#else
17
+import Foundation
18
#endif
19
20
// MARK: Device
Source/Device.swift.gyb
@@ -299,8 +299,10 @@ watchOSDevices = watches
299
}%
300
301
302
303
304
305
306
307
308
0 commit comments