Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

NiklasRosenstein/osxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osxt

usage: osxt.exe [-h] {mkiso,vbx,vbm,xcode,getpbzx} ...

mkiso

usage: osxt mkiso [-h] [-o OUTPUT] [installer]

Build an .ISO image from an OSX installer application. Such an staller
application can be downloaded from the App Store, eg. "Install macOS
Sierra.app".

positional arguments:
  installer

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Name of the output ISO file.

vbx

usage: osxt vbx [-h] [--new] [--all] [--general] [--storage] [--image IMAGE]
                [--device DEVICE] [--list-devices]
                [--device-serial DEVICE_SERIAL] [--cpu CPU]
                [--list-cpus LIST_CPUS] [--resolution RESOLUTION]
                vm_name

Create and/or configure a VirtualBox virtual machine for the installation of a
macOS image. Setting up a new macOS virtual machine has never been easier
(works on all host systems). To create a new macOS virtual machine, first
create a new OSX ISO image using the `osxt mkiso` command. Then use this
command to set up a new machine, for example: osxt vbx "macOS Sierra" --new
--image ./macOS-Sierra.img

positional arguments:
  vm_name               The name of the VirtualBox machine to create or
                        modify.

optional arguments:
  -h, --help            show this help message and exit
  --new                 Create a new VM. Implies --all.
  --all                 Perform all configuration steps.
  --general             Perform general configuration steps, such as memory,
                        vram, cpu count, firmware, etc.
  --storage             Set up storage configuration.
  --image IMAGE         Disk image to attach. Implies --storage.
  --device DEVICE       Configure a specific host device. If --all is used,
                        the default device is MacBookPro11,3.
  --list-devices        List available host devices for which a --device-
                        serial can be automatically selected.
  --device-serial DEVICE_SERIAL
                        Manually specify the device serial number. Must be
                        paired with a --device name.
  --cpu CPU             Manually specify the CPU ID set. This option is not
                        automatically used with --all but defaults to
                        IvyBridge-0 when --new is used.
  --list-cpus LIST_CPUS
                        List available CPU ID sets.
  --resolution RESOLUTION
                        Set the display resolution. Must be an integer between
                        0 and 5, referring to 640x480, 800x600, 1024x768,
                        1280x1024, 1440x900 and 1920x1200 respectively. This
                        option is not automatically implied with --all, but
                        --new specifies a default of 4 (1440x900)

vbm

usage: osxt vbm [-h] ...

Shorthand for VBoxManage. Useful on Windows when VirtualBox is not on the
PATH.

positional arguments:
  argv

optional arguments:
  -h, --help  show this help message and exit

xcode install

usage: osxt xcode install [-h] [-u USER] [--debug-pkg] dmg directory

Install macOS XCode command-line tools from a Disk Image File (.dmg). Must be
run as a superuser if you want to install macOS SDK components.

positional arguments:
  dmg                   Path to the Disk Image file. The XCode command-line
                        tools .dmg files can be downloaded from the Apple
                        Developer Portal:
                        https://developer.apple.com/downloads/index.action
  directory             The directory where the XCode command-line tools will
                        be installed to.

optional arguments:
  -h, --help            show this help message and exit
  -u USER, --user USER  The name of the user that should be granted ownership
                        of the extracted files. This argument should be
                        specified when running as a superuser.
  --debug-pkg           Enter an interactive bash session after the disk image
                        was mounted and the contained .pkg file was extracted.
                        This option is useful when the installation process
                        fails to inspect the contents of the .pkg file.

xcode download

Important: Note that your account must be enrolled in the Apple Developer program, have accepted the most recent terms of use and probably have 2Factor Authentication enabled.

usage: osxt xcode download [-h] [-l] [--show-url] [--apple-id APPLE_ID] [url]

Download a file from the Apple Developer Portal. If URL is specified, it must
either be the (partial) name of an XCode Disk Image file as specified in the
XCode Version Table (see the osxt README file) or a full download URL. If no
URL is specified, an interactive session will allow you to selected a version.

positional arguments:
  url

optional arguments:
  -h, --help           show this help message and exit
  -l, --list           List the downloads available from the XCode Version
                       Table in the osxt README. If the URL argument is
                       specified, only results that contain the URL string
                       will be printed.
  --show-url           Print the download URL when using the --list option.
  --apple-id APPLE_ID  You're Apple ID. Will be prompted if not specified.

XCode Version Table

Date YMD OSX Version XCode Version Suggested Image Name Trunk
2017/04/18 10.12 (Sierra) 8.3.2 (LLVM 8.1.0) xcode8.3.2-10.12-2017.04.18.dmg clang-802.0.42
2017/03/27 10.12 (Sierra) 8.3 (LLVM 8.1.0) xcode8.3-10.12-2017.03.27.dmg clang-802.0.38
2016/12/13 10.12 (Sierra) 8.2 xcode8.2-10.12-2016.12.13.dmg
2016/12/12 10.11 (El Capitan) 8.2 xcode8.2-10.11-2016.12.12.dmg
2016/10/27 10.12 (Sierra) 8.1 xcode8.1-10.12-2016.10.27.dmg
2016/09/13 10.12 (Sierra) 8.0 xcode8.0-10.12-2016.09.13.dmg
2016/05/04 10.11 (El Capitan) 7.3.1 xcode7.3.1-10.11-2016.05.04.dmg
2016/03/21 10.11 (El Capitan) 7.3 xcode7.3-10.11-2016.03.21.dmg
2015/12/08 10.11 (El Capitan) 7.2 xcode7.2-10.11-2015.12.08.dmg
2015/12/08 10.10 (Yosemite) 7.2 xcode7.2-10.10-2015.12.08.dmg
2015/10/21 10.11 (El Capitan) 7.1 xcode7.1-10.11-2015.10.21.dmg
2015/10/21 10.10 (Yosemite) 7.1 xcode7.1-10.10-2015.10.21.dmg
2015/09/16 10.10 (Yosemite) 7.0 xcode7.0-10.10-2015.09.16.dmg
2015/06/30 10.10 (Yosemite) 6.4 xcode6.4-10.10-2015.06.30.dmg
2015/05/18 10.10 (Yosemite) 6.3.2 xcode6.3.2-10.10-2015.05.18.dmg
2015/04/20 10.10 (Yosemite) 6.3.1 xcode6.3.1-10.10-2015.04.20.dmg
2015/04/08 10.10 (Yosemite) 6.3 xcode6.3-10.10-2015.04.08.dmg
2015/03/07 10.09 (Mavericks) 6.2 xcode6.2-10.09-2015.03.07.dmg
2015/03/06 10.10 (Yosemite) 6.2 xcode6.2-10.10-2015.03.06.dmg
2014/12/02 10.10 (Yosemite) 6.1.1 xcode6.1.1-10.10-2014.12.02.dmg
2014/12/02 10.09 (Mavericks) 6.1.1 xcode6.1.1-10.09-2014.12.02.dmg
2014/10/16 10.10 (Yosemite) 6.1 xcode6.1-10.10-2014.10.16.dmg
2014/10/16 10.09 (Mavericks) 6.1 xcode6.1-10.09-2014.10.16.dmg
2014/09/16 10.09 (Mavericks) 6.0 xcode6.0-10.09-2014.09.16.dmg
2014/09/02 10.09 (Mavericks) 6.0 xcode6.0-10.09-2014.09.02.dmg clang-600.0.51
2014/08/18 10.09 (Mavericks) ?.? xcode?.?-10.09-2014.08.18.dmg
2014/08/04 10.09 (Mavericks) ?.? xcode?.?-10.09-2014.08.04.dmg
2014/07/21 10.09 (Mavericks) ?.? xcode?.?-10.09-2014.07.21.dmg
2014/04/10 10.09 (Mavericks) 5.1 xcode5.1-10.09-2014.04.10.dmg clang-503.0.40
2014/04/10 10.08 (Mountain Lion) 5.1 xcode5.1-10.08-2014.04.10.dmg clang-503.0.40
2014/03/10 10.09 (Mavericks) 5.1 xcode5.1-10.09-2014.03.10.dmg clang-503.0.38
2014/03/10 10.08 (Mountain Lion) 5.1 xcode5.1-10.08-2014.03.10.dmg clang-503.0.38
2013/10/22 10.09 (Mavericks) 5.0 xcode5.0-10.09-2013.10.22.dmg clang-500.2.79
2013/10/14 10.08 (Mountain Lion) ?.? xcode?.?-10.08-2013.10.14.dmg
2013/09/18 10.08 (Mountain Lion) 5.0 xcode5.0-10.08-2013.09.18.dmg
2013/08/30 10.08 (Mountain Lion) ?.? xcode?.?-10.08-2013.08.30.dmg
2013/04/12 10.07 (Lion) ?.? xcode?.?-10.07-2013.04.12.dmg
2013/04/11 10.08 (Mountain Lion) ?.? xcode?.?-10.08-2013.04.11.dmg
2013/03/14 10.08 (Mountain Lion) ?.? xcode?.?-10.08-2013.03.14.dmg
2013/03/14 10.07 (Lion) ?.? xcode?.?-10.07-2013.03.14.dmg
2013/01/25 10.08 (Mountain Lion) ?.? xcode?.?-10.08-2013.01.25.dmg
2013/01/25 10.07 (Lion) ?.? xcode?.?-10.07-2013.01.25.dmg

About

Install arbitrary XCode command-line tools, generate macOS ISO's and set-up an OSX VirtualBox machine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published