Skip to content

Commit 22dcdd8

Browse files
committed
Import Foundation in WordPressOrgXMLRPCApiError* files for SPM builds
1 parent e0742b3 commit 22dcdd8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Sources/CoreAPI/WordPressOrgXMLRPCApiError+NSErrorBridge.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import Foundation
2+
13
/// See `extension WordPressComRestApiEndpointError: CustomNSError` for documentation and rationale.
24
extension WordPressOrgXMLRPCApiError: CustomNSError {
35

Sources/CoreAPI/WordPressOrgXMLRPCApiErrorDomain.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import Foundation
2+
13
/// Error domain of `NSError` instances that are converted from `WordPressOrgXMLRPCApiError`
24
/// and `WordPressAPIError<WordPressOrgXMLRPCApiError>` instances.
35
///

0 commit comments

Comments
 (0)