Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

added double quote fix to xcodebuild settings regex #25

Merged
merged 1 commit into from

2 participants

@felipesabino

If the Scheme has spaces, a double quote is added to the xcodebuild result string, like:

Build settings for action build and target "My Project Scheme"

So I just added a optional " to the xcodebuild regex to match this case

@mattt mattt merged commit 2dd8e8c into nomad:master
@felipesabino felipesabino deleted the felipesabino:bugfix-xcodebuild_regex branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 10, 2012
  1. @felipesabino
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/shenzhen/xcodebuild.rb
View
2  lib/shenzhen/xcodebuild.rb
@@ -70,7 +70,7 @@ def settings(*args)
settings, target = {}, nil
lines.each do |line|
case line
- when /Build settings for action build and target (\w+)/
+ when /Build settings for action build and target \"?(\w+)/
target = $1
settings[target] = {}
else
Something went wrong with that request. Please try again.