Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

378 B
Raw Blame
import Testing
import Foundation

@Test(.requiresXcode) func validateXcode() {
    let xcode = TestXcode.current()
    let swift = xcode.appending(path: "Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift")
    #expect(
        FileManager.default.fileExists(atPath: swift.path),
        "Invalid or unrecognized layout for Xcode.app at \(xcode.path)"
    )
}