class QCloudHive::BuildShell
Attributes
config[RW]
name[RW]
other_cflags[RW]
productsDir[RW]
sdk[RW]
Public Instance Methods
to_cmd()
click to toggle source
# File lib/qcloudhive/framework.rb, line 23 def to_cmd cmd ="xcodebuild -configuration #{config} -sdk #{sdk} -workspace #{name}.xcworkspace -scheme #{name} clean\n" cmd +="xcodebuild DEPLOYMENT_POSTPROCESSING=YES STRIP_STYLE=debugging " if not other_cflags.nil? cmd += " OTHER_CFLAGS=#{other_cflags}" end cmd += " -configuration #{config}" cmd += " -workspace #{name}.xcworkspace -scheme #{name}" cmd += " -sdk #{sdk} -derivedDataPath #{productsDir} " cmd end