From 0e4118ee8aa129ff014761f08e2e825b7ae2de3d Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Tue, 5 Dec 2017 18:35:06 -0800 Subject: [PATCH] Transform input spec path to absolute path Fixes #183 --- Sources/XcodeGen/main.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {