Skip to content

Commit 0051011

Browse files
author
Daniel Sincere
committed
Fix for macCatalyst
1 parent f97bd06 commit 0051011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftDraw/Sources/CanvasNSView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
// 3. This notice may not be removed or altered from any source distribution.
3030
//
3131

32-
#if canImport(AppKit)
32+
#if canImport(AppKit) && !targetEnvironment(macCatalyst)
3333
import AppKit
3434
import SwiftUI
3535

0 commit comments

Comments
 (0)