Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.
package: bump deps (#281)
Kabir Oberai720618701ccc
diff --git a/Package.resolved b/Package.resolvedindex 73f7a02..9dffebb 100644--- a/Package.resolved+++ b/Package.resolved@@ -1,5 +1,5 @@{- "originHash" : "1bb2774a884357ecb12d99784a5151a4cd3b11ececf9e4beb7ba496db39f1531",+ "originHash" : "372e7c63deb9508728c2f792b06935bafc6dd9a5320c5376c7eb9fa2798f3f9c","pins" : [{"identity" : "aexml",@@ -15,8 +15,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/swift-server/async-http-client.git","state" : {- "revision" : "3a5b74a58782c3b4c1f0bc75e9b67b10c2494e8f",- "version" : "1.33.1"+ "revision" : "f95c908967e98c68c5ce3fd61a7974e7e869e303",+ "version" : "1.36.1"}},{@@ -24,8 +24,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/attaswift/BigInt","state" : {- "revision" : "e07e00fa1fd435143a2dcf8b7eec9a7710b2fdfe",- "version" : "5.7.0"+ "revision" : "63feef7820abb1a8fb08587d7da56bb0b7db8751",+ "version" : "6.0.1"}},{@@ -33,8 +33,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/pointfreeco/combine-schedulers","state" : {- "revision" : "dcccb979a2183b8df3334237e3dc1ae2b4116a86",- "version" : "1.2.0"+ "revision" : "114354e8c1667a2edc4993700fb9fa4f90157b56",+ "version" : "1.2.2"}},{@@ -51,8 +51,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/mattpolzin/OpenAPIKit","state" : {- "revision" : "57b6318128e3f901c93f4fbf98d1c1464ec168d3",- "version" : "6.2.0"+ "revision" : "5b72eb9a6b23b1fec439d9a0bf38f115400421f9",+ "version" : "6.4.0"}},{@@ -69,8 +69,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/onevcat/Rainbow.git","state" : {- "revision" : "cdf146ae671b2624917648b61c908d1244b98ca1",- "version" : "4.2.1"+ "revision" : "711ca908ca19d16e577d575c8d0a48151a16bb1b",+ "version" : "4.2.2"}},{@@ -94,10 +94,10 @@{"identity" : "swift-argument-parser","kind" : "remoteSourceControl",- "location" : "https://github.com/apple/swift-argument-parser",+ "location" : "https://github.com/apple/swift-argument-parser.git","state" : {- "revision" : "626b5b7b2f45e1b0b1c6f4a309296d1d21d7311b",- "version" : "1.7.1"+ "revision" : "6a52f3251125d74daf04fcbd5e6f08a75d074382",+ "version" : "1.8.2"}},{@@ -105,8 +105,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-asn1.git","state" : {- "revision" : "eb50cbd14606a9161cbc5d452f18797c90ef0bab",- "version" : "1.7.0"+ "revision" : "3b6410f7dee09eb33cdd26260c5fd47fda19b0e2",+ "version" : "1.7.3"}},{@@ -114,8 +114,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-async-algorithms.git","state" : {- "revision" : "9d349bcc328ac3c31ce40e746b5882742a0d1272",- "version" : "1.1.3"+ "revision" : "3da39bbc4e687d4192af7c9cf4eab805745a0b9c",+ "version" : "1.1.5"}},{@@ -123,8 +123,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-atomics.git","state" : {- "revision" : "b601256eab081c0f92f059e12818ac1d4f178ff7",- "version" : "1.3.0"+ "revision" : "0442cb5a3f98ab802acb777929fdb446bda11a34",+ "version" : "1.3.1"}},{@@ -132,8 +132,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-certificates","state" : {- "revision" : "bde8ca32a096825dfce37467137c903418c1893d",- "version" : "1.19.1"+ "revision" : "ff86b924ead66f853b8baf91f3c41926a8f36177",+ "version" : "1.21.0"}},{@@ -141,8 +141,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/pointfreeco/swift-clocks","state" : {- "revision" : "cc46202b53476d64e824e0b6612da09d84ffde8e",- "version" : "1.0.6"+ "revision" : "82440fa0a8b1c381a6d1e8e0fc7bbba53ec63204",+ "version" : "1.1.1"}},{@@ -150,8 +150,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-collections","state" : {- "revision" : "fea17c02d767f46b23070fdfdacc28a03a39232a",- "version" : "1.5.1"+ "revision" : "a0cb0954ecb21e4e31b0070e6ed5674e8556685a",+ "version" : "1.6.0"}},{@@ -159,8 +159,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/pointfreeco/swift-concurrency-extras","state" : {- "revision" : "5a3825302b1a0d744183200915a47b508c828e6f",- "version" : "1.3.2"+ "revision" : "5fa253428866f2360c3754e88537f700ed2656b5",+ "version" : "1.4.1"}},{@@ -168,8 +168,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-configuration.git","state" : {- "revision" : "be76c4ad929eb6c4bcaf3351799f2adf9e6848a9",- "version" : "1.2.0"+ "revision" : "3533f65d3e36dcdffc91ce34ef4d3c9c1887fd4b",+ "version" : "1.2.1"}},{@@ -177,8 +177,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-crypto","state" : {- "revision" : "1b6b2e274e85105bfa155183145a1dcfd63331f1",- "version" : "4.5.0"+ "revision" : "a9d1d5ab8951ada40cafff8c8e2b551dfde4f390",+ "version" : "5.0.0"}},{@@ -186,8 +186,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/pointfreeco/swift-dependencies","state" : {- "revision" : "706feb7858a7f6c242879d137b8ee30926aa5b26",- "version" : "1.12.0"+ "revision" : "b476cc5761057d8d857de063fe7ac8daecf5c06b",+ "version" : "1.17.1"}},{@@ -195,8 +195,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-distributed-tracing.git","state" : {- "revision" : "dc4030184203ffafbb2ec614352487235d747fe0",- "version" : "1.4.1"+ "revision" : "cc504a45f6ce73ce6067837d7ac19fa67b229a56",+ "version" : "1.5.0"}},{@@ -231,8 +231,17 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-http-types","state" : {- "revision" : "45eb0224913ea070ec4fba17291b9e7ecf4749ca",- "version" : "1.5.1"+ "revision" : "bff4b6903cdc99dda49649dd52f46c11cfd3ed50",+ "version" : "1.8.0"+ }+ },+ {+ "identity" : "swift-issue-reporting",+ "kind" : "remoteSourceControl",+ "location" : "https://github.com/pointfreeco/swift-issue-reporting",+ "state" : {+ "revision" : "75b000cea2ca6d7527a57e1b9cc0bdf21a9abe9f",+ "version" : "2.1.1"}},{@@ -240,8 +249,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-log.git","state" : {- "revision" : "5073617dac96330a486245e4c0179cb0a6fd2256",- "version" : "1.12.0"+ "revision" : "9c6fb14227f55d8f711ce3847dc2f419fb0ecacb",+ "version" : "1.15.1"}},{@@ -249,8 +258,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-nio","state" : {- "revision" : "f71c8d2a5e74a2c6d11a0fbe324774b5d6084237",- "version" : "2.99.0"+ "revision" : "21de5f08c1a166a6dd293d0e587ad977bf8dac5d",+ "version" : "2.103.0"}},{@@ -258,8 +267,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-nio-extras.git","state" : {- "revision" : "5a48717e29f62cb8326d6d42e46b562ca93847a6",- "version" : "1.34.0"+ "revision" : "41449336c8ecfadac6b4b5be75f9c3c306e61ced",+ "version" : "1.35.1"}},{@@ -267,8 +276,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-nio-http2.git","state" : {- "revision" : "81cc18264f92cd307ff98430f89372711d4f6fe9",- "version" : "1.43.0"+ "revision" : "0f3e54e29c944c2e835ad52159da7d9e1c94ac69",+ "version" : "1.46.0"}},{@@ -276,8 +285,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-nio-ssl.git","state" : {- "revision" : "3f337058ccd7243c4cac7911477d8ad4c598d4da",- "version" : "2.37.0"+ "revision" : "322f3c2a4a21df31c84ca416bf65ee5e9059e440",+ "version" : "2.37.5"}},{@@ -312,8 +321,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-openapi-generator","state" : {- "revision" : "5dd0da1c7da7bac8f0c458a02a76f69031137a80",- "version" : "1.12.1"+ "revision" : "39d49cf22abab58a07f02bb76808b5d2839b294a",+ "version" : "1.13.1"}},{@@ -321,8 +330,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-openapi-runtime","state" : {- "revision" : "f039fa6d6338aab5164f3d1be16281524c9a8f89",- "version" : "1.11.0"+ "revision" : "9e53df53e043b53046a371b31aaf0a1e26eef946",+ "version" : "1.12.1"}},{@@ -330,8 +339,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-openapi-urlsession","state" : {- "revision" : "576a65b4ffb8c12ddad4950dc21eea2ef071bec2",- "version" : "1.3.0"+ "revision" : "08796d36c99ad2318929bfa1d1e40f82194b65cc",+ "version" : "1.3.1"}},{@@ -348,8 +357,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/swift-server/swift-service-lifecycle","state" : {- "revision" : "9829955b385e5bb88128b73f1b8389e9b9c3191a",- "version" : "2.11.0"+ "revision" : "7f9326b0326ff86e3646295ea6e891f68c471c5e",+ "version" : "2.12.0"}},{@@ -357,8 +366,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/swiftlang/swift-subprocess","state" : {- "revision" : "11633673a41f509f8945f23c96c7acd4adafd679",- "version" : "0.5.0"+ "revision" : "b3937ab85dd32f6e9435914599c1519074769c1a",+ "version" : "1.0.0"}},{@@ -366,17 +375,17 @@"kind" : "remoteSourceControl","location" : "https://github.com/swiftlang/swift-syntax","state" : {- "revision" : "9de99a78f099e59caf2b2beec65a4c45d54b2081",- "version" : "603.0.1"+ "revision" : "050f1a346fbbac0ca2cfb15a95274f7bd1cf0ccf",+ "version" : "604.0.0"}},{"identity" : "swift-system","kind" : "remoteSourceControl",- "location" : "https://github.com/apple/swift-system",+ "location" : "https://github.com/apple/swift-system.git","state" : {- "revision" : "7c6ad0fc39d0763e0b699210e4124afd5041c5df",- "version" : "1.6.4"+ "revision" : "869129b7bf4ecc57b97d0193ad29690ca2134750",+ "version" : "1.8.1"}},{@@ -438,8 +447,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/yonaskolb/XcodeGen","state" : {- "revision" : "8d3d3476a69ae3e5d68e1adccc701c410c05eb36",- "version" : "2.45.4"+ "revision" : "8445e778451c7e44237b90281bde622d764b0084",+ "version" : "2.46.0"}},{@@ -447,17 +456,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/tuist/XcodeProj.git","state" : {- "revision" : "01bb77000bc8c23a09ea2058f4954612f03cb705",- "version" : "9.10.1"- }- },- {- "identity" : "xctest-dynamic-overlay",- "kind" : "remoteSourceControl",- "location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",- "state" : {- "revision" : "dfd70507def84cb5fb821278448a262c6ff2bbad",- "version" : "1.9.0"+ "revision" : "eb001108f64467b0cc7e8cbf90b3b4aaa1822cbb",+ "version" : "9.14.0"}},{diff --git a/Package.swift b/Package.swiftindex 1107364..fb8f010 100644--- a/Package.swift+++ b/Package.swift@@ -56,15 +56,18 @@ let package = Package(.package(url: "https://github.com/apple/swift-system", from: "1.4.0"),.package(url: "https://github.com/apple/swift-http-types", from: "1.3.1"),.package(url: "https://github.com/apple/swift-certificates", from: "1.0.0"),- .package(url: "https://github.com/apple/swift-crypto", from: "4.5.0"),+ .package(url: "https://github.com/apple/swift-crypto", from: "5.0.0"),.package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0"),.package(url: "https://github.com/apple/swift-openapi-generator", from: "1.6.0"),.package(url: "https://github.com/apple/swift-openapi-runtime", from: "1.0.0"),.package(url: "https://github.com/apple/swift-openapi-urlsession", from: "1.0.0"),.package(url: "https://github.com/apple/swift-nio", from: "2.77.0"),+ // v1.7.0 has a crash on old OSes: https://github.com/apple/swift-collections/issues/733.+ // pin 1.6.0 until 1.7.1 is released.+ .package(url: "https://github.com/apple/swift-collections", exact: "1.6.0"),.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.0.0"),- .package(url: "https://github.com/swiftlang/swift-subprocess", .upToNextMinor(from: "0.5.0")),+ .package(url: "https://github.com/swiftlang/swift-subprocess", from: "1.0.0"),.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.23.0"),.package(url: "https://github.com/swift-server/swift-openapi-async-http-client", from: "1.0.0"),@@ -73,7 +76,7 @@ let package = Package(.package(url: "https://github.com/pointfreeco/swift-concurrency-extras", from: "1.3.0"),.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.6.2"),- .package(url: "https://github.com/attaswift/BigInt", from: "5.5.0"),+ .package(url: "https://github.com/attaswift/BigInt", from: "6.0.0"),.package(url: "https://github.com/mxcl/Version", from: "2.1.0"),.package(url: "https://github.com/jpsim/Yams", from: "5.1.3"),.package(url: "https://github.com/saagarjha/unxip", from: "3.2.0"),@@ -129,7 +132,7 @@ let package = Package(.product(name: "ProtoCodable", package: "xtool-core"),.product(name: "Superutils", package: "xtool-core"),.product(name: "Crypto", package: "swift-crypto"),- .product(name: "_CryptoExtras", package: "swift-crypto"),+ .product(name: "CryptoExtras", package: "swift-crypto"),.product(name: "X509", package: "swift-certificates"),.product(name: "BigInt", package: "BigInt"),.product(name: "HTTPTypes", package: "swift-http-types"),diff --git a/Sources/PackLib/BuildSettings.swift b/Sources/PackLib/BuildSettings.swiftindex fbab09a..9d5a041 100644--- a/Sources/PackLib/BuildSettings.swift+++ b/Sources/PackLib/BuildSettings.swift@@ -79,7 +79,7 @@ public struct BuildSettings: Sendable {arguments: .init(arguments),output: .string(limit: .max)).checkSuccess()- return result.standardOutput?.trimmingCharacters(in: .whitespacesAndNewlines) ?? ""+ return result.standardOutput.trimmingCharacters(in: .whitespacesAndNewlines)}private static let _swiftURL = Task {@@ -137,7 +137,7 @@ public struct BuildSettings: Sendable {}return Configuration(- executable,+ executable: executable,arguments: .init(baseArguments + resolvedBaseOptions + arguments),environment: .inherit.updating(sdkEnvironment),platformOptions: .withGracefulShutDown,diff --git a/Sources/XKit/GrandSlam/Crypto/SRPClient.swift b/Sources/XKit/GrandSlam/Crypto/SRPClient.swiftindex 7b829e1..20fd754 100644--- a/Sources/XKit/GrandSlam/Crypto/SRPClient.swift+++ b/Sources/XKit/GrandSlam/Crypto/SRPClient.swift@@ -8,7 +8,7 @@import Foundationimport Crypto-import _CryptoExtras+import CryptoExtrasimport BigIntstruct SRPClient {diff --git a/Sources/XKit/Model/Keypair.swift b/Sources/XKit/Model/Keypair.swiftindex 9e965e9..349c718 100644--- a/Sources/XKit/Model/Keypair.swift+++ b/Sources/XKit/Model/Keypair.swift@@ -9,7 +9,7 @@import Foundationimport Cryptoimport X509-import _CryptoExtras+import CryptoExtraspublic struct PrivateKey: Codable, Sendable {// pem encodeddiff --git a/Sources/XToolSupport/DevBSPCommand.swift b/Sources/XToolSupport/DevBSPCommand.swiftindex 12940a8..4d3b9f5 100644--- a/Sources/XToolSupport/DevBSPCommand.swift+++ b/Sources/XToolSupport/DevBSPCommand.swift@@ -23,7 +23,7 @@ struct DevBSPCommand: AsyncParsableCommand {)try await Subprocess.run(settings.buildServerInvocation(),- input: .standardInput,+ input: .currentStandardInput,output: .currentStandardOutput,error: .currentStandardError,)diff --git a/Sources/XUtils/Foundation+Utils.swift b/Sources/XUtils/Foundation+Utils.swiftindex d35ba25..c3863d3 100644--- a/Sources/XUtils/Foundation+Utils.swift+++ b/Sources/XUtils/Foundation+Utils.swift@@ -43,7 +43,7 @@ extension FileManager {do {try result.checkSuccess()} catch {- print("Error copying \(srcURL.path) to \(dstURL.path): \(result.standardError ?? "unknown")")+ print("Error copying \(srcURL.path) to \(dstURL.path): \(result.standardError)")throw error}returndiff --git a/Tests/XToolTests/RequiresXcodeTrait.swift b/Tests/XToolTests/RequiresXcodeTrait.swiftindex 96a3c8a..094dc7f 100644--- a/Tests/XToolTests/RequiresXcodeTrait.swift+++ b/Tests/XToolTests/RequiresXcodeTrait.swift@@ -24,13 +24,12 @@ enum TestXcode {return URL(filePath: xcode)}#if os(macOS)- if- let output = try await Subprocess.run(- .path("/usr/bin/xcode-select"),- arguments: ["-p"],- output: .string(limit: .max, encoding: UTF8.self),- ).standardOutput?.trimmingCharacters(in: .whitespacesAndNewlines),- output.hasSuffix(".app/Contents/Developer") {+ let output = try await Subprocess.run(+ .path("/usr/bin/xcode-select"),+ arguments: ["-p"],+ output: .string(limit: .max),+ ).standardOutput.trimmingCharacters(in: .whitespacesAndNewlines)+ if output.hasSuffix(".app/Contents/Developer") {return URL(filePath: output).deletingLastPathComponent().deletingLastPathComponent()}#endif