<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Hi Travis,&nbsp;</span><br class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br class="">(Hopefully this message will be sent, last message was blocked due to 40KB limit)&nbsp;<div class="">&nbsp;<br class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><b class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">How to create OS X Toolchain?&nbsp;</b><br class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><span class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Xcode toolchain is created using buildbot_osx_package preset, which supports two types of packages.&nbsp;</span><br class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><span class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">- Installer(.pkg)</span><br class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><span class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">This is similer to what is provide on&nbsp;</span><a href="http://swift.org/" target="_blank" class="" style="color: rgb(17, 85, 204); font-family: arial, sans-serif; font-size: 13px;">swift.org</a><span class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">&nbsp;website, however you will need installer and application cert.</span><br class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">- Tarball(tar.gz)<br class="">This is not code signed and it will contain complete path from "install_toolchain_dir" argument, to install it you can use "sudo darwin install package.tar.gz"&nbsp;<br class=""><br class=""><b class="">Arguments&nbsp;for buildbot_osx_package preset:</b><br class=""><br class="">install_destdir - "the path to use as the filesystem root for the installation"<br class="">installable_package - "the path to the archive of the installation directory"&nbsp;<br class="">install_toolchain_dir - "installation prefix"<br class="">install_symroot - "the path to install debug symbols into"<br class="">symbols_package - "the path to the archive of the symbols directory"<br class="">darwin_toolchain_bundle_<wbr class="">identifier - "CFBundleIdentifier for xctoolchain info plist"<br class="">darwin_toolchain_display_name - "Display Name for xctoolcain info plist"<br class="">darwin_toolchain_xctoolchain_<wbr class="">name - "Directory name for xctoolchain"<br class="">darwin_toolchain_version - "Version for xctoolchain info plist and installer pkg"<br class="">darwin_toolchain_app_cert - "Application Cert name to codesign xctoolchain"<br class="">darwin_toolchain_installer_<wbr class="">cert - "Installer Cert name to create installer pkg"<br class="">darwin_toolchain_installer_<wbr class="">package - "The path to installer pkg"<br class=""><br class=""><b class="">Examples:&nbsp;</b><br class=""><br class=""><b class="">Installer:&nbsp;</b><br class=""><font face="monospace, monospace" class="">SRC_DIR="$(pwd)"</font></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><font face="monospace, monospace" class=""><br class="">swift/utils/build-script \<br class="">--preset="buildbot_osx_<wbr class="">package" \<br class="">install_destdir="${SRC_DIR}/<wbr class="">swift_install" \<br class="">installable_package="${SRC_<wbr class="">DIR}/swift-2.2-dev-osx.tar.gz" \<br class="">install_toolchain_dir="/<wbr class="">Library/Developer/Toolchains/<wbr class="">swift-2.2-dev.xctoolchain" \<br class="">install_symroot="${SRC_DIR}/<wbr class="">swift_symroot" \<br class="">symbols_package="${SRC_DIR}/<wbr class="">swift-2.2-dev-osx-symbols.tar.<wbr class="">gz" \<br class="">darwin_toolchain_bundle_<wbr class="">identifier="<a href="http://com.test.xyz/" target="_blank" class="" style="color: rgb(17, 85, 204);">com.test.xyz</a>" \<br class="">darwin_toolchain_display_name=<wbr class="">"Swift 2.2 Dev" \<br class="">darwin_toolchain_xctoolchain_<wbr class="">name="swift-2.2-dev" \<br class="">darwin_toolchain_version="2.2-<wbr class="">dev" \<br class="">darwin_toolchain_app_cert="Mac Developer: Name (xxxxxxxx)" \<br class="">darwin_toolchain_installer_<wbr class="">cert="Developer ID Installer: Name (xxxxxxxx)" \<br class="">darwin_toolchain_installer_<wbr class="">package="${SRC_DIR}/swift-2.2-<wbr class="">dev-osx.pkg"<br class=""></font><br class=""><b class="">tar.gz only:&nbsp;</b></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><font face="monospace, monospace" class="">SRC_DIR="$(pwd)"<b class=""><br class=""></b></font></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br class=""></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><font face="monospace, monospace" class="">swift/utils/build-script \<b class=""><br class=""></b>--preset="buildbot_osx_<wbr class="">package" \<br class="">install_destdir="${SRC_DIR}/<wbr class="">swift_install" \<br class="">installable_package="</font><span class="" style="font-family: monospace, monospace;">${SRC_<wbr class="">DIR}</span><span class="" style="font-family: monospace, monospace;">/swift-2.2-dev-osx.tar.gz" \</span></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><font face="monospace, monospace" class="">install_toolchain_dir="/<wbr class="">Library/Developer/Toolchains/<wbr class="">swift-2.2-dev.xctoolchain" \<br class="">install_symroot="</font><span class="" style="font-family: monospace, monospace;">${SRC_DIR}</span><font face="monospace, monospace" class="">/<wbr class="">swift_symroot" \<br class="">symbols_package="</font><span class="" style="font-family: monospace, monospace;">${SRC_DIR}</span><font face="monospace, monospace" class="">/<wbr class="">swift-2.2-dev-osx-symbols.tar.<wbr class="">gz" \<br class="">darwin_toolchain_bundle_<wbr class="">identifier="<a href="http://com.test.xyz/" target="_blank" class="" style="color: rgb(17, 85, 204);">com.test.xyz</a>" \<br class="">darwin_toolchain_display_name=<wbr class="">"Swift 2.2 Dev" \<br class="">darwin_toolchain_xctoolchain_<wbr class="">name="swift-2.2-dev" \<br class="">darwin_toolchain_version="2.2-<wbr class="">dev"&nbsp;</font></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br class=""></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><b class="">How to install tar.gz?&nbsp;</b></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><font face="monospace, monospace" class="">sudo darwinup install package.tar.gz</font><br class=""></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br class=""></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">Hope this helps.&nbsp;</div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br class=""></div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">Thanks,&nbsp;</div><div class="" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">Mishal Shah</div></div></body></html>