Skip to content

Commit a35fae4

Browse files
committed
Share concurrency-enabled XcodesKit
1 parent 93bce87 commit a35fae4

87 files changed

Lines changed: 2310 additions & 6628 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Package.resolved

Lines changed: 23 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 17 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,66 @@
1-
// swift-tools-version:5.6
1+
// swift-tools-version:6.0
22
import PackageDescription
33

44
let package = Package(
55
name: "xcodes",
66
platforms: [
7-
.macOS(.v10_15)
7+
.macOS(.v13),
8+
.iOS(.v17)
89
],
910
products: [
1011
.executable(name: "xcodes", targets: ["xcodes"]),
11-
.library(name: "XcodesKit", targets: ["XcodesKit"]),
12-
.library(name: "AppleAPI", targets: ["AppleAPI"]),
12+
.library(name: "XcodesCLIKit", targets: ["XcodesCLIKit"]),
1313
],
1414
dependencies: [
1515
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "1.1.4")),
16-
.package(url: "https://github.com/mxcl/Path.swift.git", .upToNextMinor(from: "0.16.0")),
16+
.package(url: "https://github.com/mxcl/Path.swift.git", from: "1.0.0"),
1717
.package(url: "https://github.com/mxcl/Version.git", .upToNextMinor(from: "1.0.3")),
18-
.package(url: "https://github.com/mxcl/PromiseKit.git", .upToNextMinor(from: "6.22.1")),
19-
.package(url: "https://github.com/PromiseKit/Foundation.git", .upToNextMinor(from: "3.4.0")),
2018
.package(url: "https://github.com/scinfu/SwiftSoup.git", .upToNextMinor(from: "2.0.0")),
2119
.package(url: "https://github.com/mxcl/LegibleError.git", .upToNextMinor(from: "1.0.1")),
2220
.package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", .upToNextMinor(from: "3.2.0")),
2321
.package(url: "https://github.com/xcodereleases/data", revision: "fcf527b187817f67c05223676341f3ab69d4214d"),
2422
.package(url: "https://github.com/onevcat/Rainbow.git", .upToNextMinor(from: "3.2.0")),
25-
.package(url: "https://github.com/jpsim/Yams", .upToNextMinor(from: "5.0.1")),
26-
.package(url: "https://github.com/xcodesOrg/swift-srp", branch: "main")
23+
.package(path: "../XcodesLoginKit"),
24+
.package(path: "../XcodesApp/Xcodes/XcodesKit")
2725
],
2826
targets: [
2927
.executableTarget(
3028
name: "xcodes",
3129
dependencies: [
3230
.product(name: "ArgumentParser", package: "swift-argument-parser"),
33-
"XcodesKit"
31+
"XcodesCLIKit",
32+
.product(name: "XcodesKit", package: "XcodesKit")
3433
]),
3534
.testTarget(
3635
name: "xcodesTests",
3736
dependencies: [
3837
"xcodes"
3938
]),
4039
.target(
41-
name: "XcodesKit",
40+
name: "XcodesCLIKit",
4241
dependencies: [
43-
"AppleAPI",
4442
"KeychainAccess",
4543
"LegibleError",
4644
.product(name: "Path", package: "Path.swift"),
47-
"PromiseKit",
48-
.product(name: "PMKFoundation", package: "Foundation"),
4945
"SwiftSoup",
5046
"Unxip",
5147
"Version",
5248
.product(name: "XCModel", package: "data"),
53-
"Rainbow",
54-
"Yams"
55-
]),
49+
"XcodesLoginKit",
50+
.product(name: "XcodesKit", package: "XcodesKit"),
51+
"Rainbow"
52+
],
53+
path: "Sources/XcodesKit"),
5654
.testTarget(
5755
name: "XcodesKitTests",
5856
dependencies: [
59-
"XcodesKit",
57+
"XcodesCLIKit",
58+
.product(name: "XcodesKit", package: "XcodesKit"),
6059
"Version"
6160
],
6261
resources: [
6362
.copy("Fixtures"),
6463
]),
6564
.target(name: "Unxip"),
66-
.target(
67-
name: "AppleAPI",
68-
dependencies: [
69-
"PromiseKit",
70-
.product(name: "PMKFoundation", package: "Foundation"),
71-
"Rainbow",
72-
.product(name: "SRP", package: "swift-srp")
73-
]),
74-
.testTarget(
75-
name: "AppleAPITests",
76-
dependencies: [
77-
"AppleAPI"
78-
],
79-
resources: [
80-
.copy("Fixtures"),
81-
]),
8265
]
8366
)

0 commit comments

Comments
 (0)