Closed miroda closed 3 years ago
command = "xcodebuild #{defines} #{args} CONFIGURATION_BUILD_DIR=#{File.join(File.expand_path("..", build_dir), File.basename(build_dir))} clean build -configuration #{build_model} -target #{target_name} -project ./Pods/Pods.xcodeproj 2>&1"
UI.message "command = #{command}"
output = `#{command}`.lines.to_a
这个是执行
`def xcodebuild(defines = '', args = '', build_dir = 'build', build_model = 'Debug')