Skip to content

Commit

Permalink
Merge pull request swiftlang#701 from abertelrud/SR-2718
Browse files Browse the repository at this point in the history
SR-2718: Xcode generated projects in custom locations have incorrect path to project in scheme file
  • Loading branch information
abertelrud authored Sep 28, 2016
2 parents 37f0f1a + a23ddbc commit 4b4ed74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Xcodeproj/generate().swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public func generate(outputDir: AbsolutePath, projectName: String, graph: Packag
/// it has all tests associated so CMD+U works
let schemeName = "\(projectName).xcscheme"
try open(schemesDir.appending(RelativePath(schemeName))) { stream in
xcscheme(container: xcodeprojName, graph: graph, enableCodeCoverage: options.enableCodeCoverage, printer: stream)
xcscheme(container: xcodeprojPath.relative(to: srcroot).asString, graph: graph, enableCodeCoverage: options.enableCodeCoverage, printer: stream)
}

////// we generate this file to ensure our main scheme is listed
Expand Down

0 comments on commit 4b4ed74

Please sign in to comment.