Skip to content

Commit fab283a

Browse files
authored
Fixes to the AppKit/NSImage overlay. (#1196)
The PR (#869) that just added the AppKit overlay for `NSImage` was a bit stale. This PR corrects a couple of bugs that snuck in due to its age and the resulting bit rot. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 49099a2 commit fab283a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ let package = Package(
198198
"_Testing_CoreGraphics",
199199
],
200200
path: "Sources/Overlays/_Testing_AppKit",
201-
swiftSettings: .packageSettings
201+
swiftSettings: .packageSettings + .enableLibraryEvolution()
202202
),
203203
.target(
204204
name: "_Testing_CoreGraphics",

Sources/Overlays/_Testing_AppKit/Attachments/NSImage+AttachableAsCGImage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#if SWT_TARGET_OS_APPLE && canImport(AppKit)
1212
public import AppKit
13-
@_spi(ForSwiftTestingOnly) @_spi(Experimental) public import _Testing_CoreGraphics
13+
@_spi(Experimental) public import _Testing_CoreGraphics
1414

1515
@_spi(Experimental)
1616
extension NSImage: AttachableAsCGImage {

0 commit comments

Comments
 (0)