./lib/shenzhen/xcodebuild.rb in shenzhen-0.3.0 vs ./lib/shenzhen/xcodebuild.rb in shenzhen-0.3.1

- old
+ new

@@ -63,15 +63,14 @@ output = `xcodebuild #{(args + args_from_options(options)).join(" ")} -showBuildSettings 2> /dev/null` raise Error.new $1 if /^xcodebuild\: error\: (.+)$/ === output raise NilOutputError unless /\S/ === output lines = output.split(/\n/) - lines.shift 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 \"?([^":]+)/ target = $1 settings[target] = {} else key, value = line.split(/\=/).collect(&:strip) settings[target][key] = value if target