diff --git a/Sources/XcodeGen/main.swift b/Sources/XcodeGen/main.swift index 2913f59e..f989a511 100644 --- a/Sources/XcodeGen/main.swift +++ b/Sources/XcodeGen/main.swift @@ -21,7 +21,7 @@ func generate(spec: String, project: String, isQuiet: Bool, justVersion: Bool) { exit(1) } - let specPath = Path(spec).normalize() + let specPath = Path(URL(fileURLWithPath: spec).path).normalize() let projectPath = Path(project).normalize() if !specPath.exists {