Giter Site home page Giter Site logo

osxt's Introduction

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

osxt's People

Contributors

niklasrosenstein avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

osxt's Issues

Download doesn't work anymore (login procedure changed?)

The download tool doesn't work anymore, possibly because the login procedure has changed. Also if you have two-factor authentication set up, it won't be possible/feasible to implement the login procedure in the download tool without a browser.

Too many open files in system after install of xcode cltools

After installing CommandLineToolsforXcode8.2.3.dmg

ls: .: Too many open files in system
-bash: cannot make pipe for command substitution: Too many open files in system
niklas@niklass-Air ~/Repositories/craftr
$ logout
Saving session...-bash: cannot make pipe for command substitution: Too many open files in system

...copying shared history...cp: /Users/niklas/.bash_sessions/D9C0AEE3-8E38-4C00-BA66-BF534A311388.history: Too many open files in system

...saving history...cat: /Users/niklas/.bash_sessions/D9C0AEE3-8E38-4C00-BA66-BF534A311388.historynew: Too many open files in system
cat: /Users/niklas/.bash_sessions/D9C0AEE3-8E38-4C00-BA66-BF534A311388.historynew: Too many open files in system
truncating history files...
...completed.
-bash: cannot make pipe for command substitution: Too many open files in system
Deleting expired sessions...-bash: cannot make pipe for command substitution: Too many open files in system
-bash: [: : integer expression expected
none found.

SSL CERTIFICATE_VERIFY_FAIL using urllib

This appears to be an issue with the official Python 3.6 installer and macOS. It seems like you are completely unable to use HTTPS URLs with urrlib.urlopen.

Using the requests module works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.