lib/cuesmash/ios_compiler.rb in cuesmash-0.1.9.6 vs lib/cuesmash/ios_compiler.rb in cuesmash-0.1.9.7

- old
+ new

@@ -1,9 +1,11 @@ # coding: utf-8 module Cuesmash + require 'shellwords' + # # iOS Specific compiler # class IosCompiler < Compiler @@ -21,10 +23,10 @@ # Generate the string to be used as the xcode build command # using the scheme ivar # # @return [String] The full xcode build command with args def command - xcode_command = "set -o pipefail && xcodebuild #{workspace} -scheme '#{@scheme}' -derivedDataPath #{@tmp_dir} -configuration #{@build_configuration} OBJROOT=#{@tmp_dir} SYMROOT=#{@tmp_dir} -sdk iphonesimulator build | bundle exec xcpretty -c" + xcode_command = "set -o pipefail && xcodebuild #{workspace} -scheme '#{@scheme}' -derivedDataPath #{@tmp_dir.shellescape} -configuration #{@build_configuration} OBJROOT=#{@tmp_dir.shellescape} SYMROOT=#{@tmp_dir.shellescape} -sdk iphonesimulator build | bundle exec xcpretty -c" Logger.info "xcode_command == #{xcode_command}" xcode_command end # command