Skip to content

Commit

Permalink
Merge pull request rayh#28 from GateGuru/27-quote-scheme-name
Browse files Browse the repository at this point in the history
Scheme name should be quoted to accommodate names containing spaces
  • Loading branch information
Franklin Webber committed Apr 4, 2012
2 parents d949337 + 662e566 commit 6ba89bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/xcode/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def clean
cmd << "-project \"#{@target.project.path}\""
cmd << "-sdk #{@sdk}" unless @sdk.nil?

cmd << "-scheme #{@scheme.name}" unless @scheme.nil?
cmd << "-scheme \"#{@scheme.name}\"" unless @scheme.nil?
cmd << "-target \"#{@target.name}\"" if @scheme.nil?
cmd << "-configuration \"#{@config.name}\"" if @scheme.nil?

Expand Down Expand Up @@ -191,7 +191,7 @@ def build_command(sdk=@sdk)
cmd << "-sdk #{sdk}" unless sdk.nil?
cmd << "-project \"#{@target.project.path}\""

cmd << "-scheme #{@scheme.name}" unless @scheme.nil?
cmd << "-scheme \"#{@scheme.name}\"" unless @scheme.nil?
cmd << "-target \"#{@target.name}\"" if @scheme.nil?
cmd << "-configuration \"#{@config.name}\"" if @scheme.nil?

Expand Down

0 comments on commit 6ba89bf

Please sign in to comment.