Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit e255a32

Browse files
committed
Define new CoreAPI package — Currently only WordPressAPIError in it
1 parent d149306 commit e255a32

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

Package.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ let package = Package(
77
platforms: [.iOS(.v13)],
88
products: [
99
.library(name: "APIInterface", targets: ["APIInterface"]),
10+
.library(name: "CoreAPI", targets: ["CoreAPI"]),
1011
],
1112
dependencies: [],
1213
targets: [
13-
.target(name: "APIInterface")
14+
.target(name: "APIInterface"),
15+
.target(name: "CoreAPI"),
1416
]
1517
)

WordPressKit.xcodeproj/project.pbxproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,6 @@
15711571
93BD277B1EE73944002BB00B /* WordPressRSDParser.swift */,
15721572
4A11239D2B1926D1004690CF /* HTTPClient.swift */,
15731573
4A11239B2B1926B7004690CF /* HTTPRequestBuilder.swift */,
1574-
4A1123992B19269A004690CF /* WordPressAPIError.swift */,
15751574
4A57A6822B54A326008D0660 /* WordPressAPIError+NSErrorBrdige.swift */,
15761575
);
15771576
path = WordPressAPI;
@@ -1978,6 +1977,7 @@
19781977
3FE2E9432BB11413002CA2E1 /* Sources */ = {
19791978
isa = PBXGroup;
19801979
children = (
1980+
3FE2E9762BC395C2002CA2E1 /* CoreAPI */,
19811981
3FE2E9532BB3F4ED002CA2E1 /* APIInterface */,
19821982
3FE2E9462BB12020002CA2E1 /* WordPressKit */,
19831983
);
@@ -2049,6 +2049,14 @@
20492049
path = APIInterface;
20502050
sourceTree = "<group>";
20512051
};
2052+
3FE2E9762BC395C2002CA2E1 /* CoreAPI */ = {
2053+
isa = PBXGroup;
2054+
children = (
2055+
4A1123992B19269A004690CF /* WordPressAPIError.swift */,
2056+
);
2057+
path = CoreAPI;
2058+
sourceTree = "<group>";
2059+
};
20522060
404057C3221B30140060250C /* Time Interval */ = {
20532061
isa = PBXGroup;
20542062
children = (

0 commit comments

Comments
 (0)