class Tug::BuildToolExport
Public Instance Methods
export_ipa(name)
click to toggle source
# File lib/tug/tool/buildtool_export.rb, line 4 def export_ipa(name) system("xcodebuild #{archive_options(name)} #{export_options(name)} #{profile_options}") end
Private Instance Methods
archive_options(name)
click to toggle source
# File lib/tug/tool/buildtool_export.rb, line 18 def archive_options(name) "-archivePath /tmp/#{name}.xcarchive" end
export_options(name)
click to toggle source
# File lib/tug/tool/buildtool_export.rb, line 14 def export_options(name) "-exportPath /tmp/#{name}.ipa -exportFormat ipa -exportArchive" end
profile_options()
click to toggle source
# File lib/tug/tool/buildtool_export.rb, line 10 def profile_options "-exportWithOriginalSigningIdentity" end