Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.
Create sdks directory if needed
Kabir Oberai307df68794d5
diff --git a/Sources/XToolSupport/SDKCommand.swift b/Sources/XToolSupport/SDKCommand.swiftindex 464fa96..69f819e 100644--- a/Sources/XToolSupport/SDKCommand.swift+++ b/Sources/XToolSupport/SDKCommand.swift@@ -134,6 +134,7 @@ struct DarwinSDK {if targetURL.exists {throw Console.Error("Darwin SDK is already installed at '\(targetURL.path)'. Please remove it first.")}+ try? FileManager.default.createDirectory(at: sdksDir, withIntermediateDirectories: true)try FileManager.default.moveItem(at: url, to: targetURL)guard let sdk = DarwinSDK(bundle: targetURL) else {throw Console.Error("Darwin SDK failed to install")