diff --git a/CHANGELOG.md b/CHANGELOG.md index a2ca499ff..d9f9fe0a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ##### Bug Fixes - Disable unused import analysis for files retained with `--retain-files`. +- Fix handling of Xcode project paths containing spaces. ## 2.19.0 (2024-05-20) diff --git a/Sources/XcodeSupport/Xcodebuild.swift b/Sources/XcodeSupport/Xcodebuild.swift index 8c344afee..1c2bc02c2 100644 --- a/Sources/XcodeSupport/Xcodebuild.swift +++ b/Sources/XcodeSupport/Xcodebuild.swift @@ -68,7 +68,7 @@ public final class Xcodebuild { func schemes(type: String, path: String, additionalArguments: [String]) throws -> Set { let args = [ - "-\(type)", path, + "-\(type)", "'\(path)'", "-list", "-json" ]