VirulBox with MAC OS to build ionic application, make ios application without use of MAC Desktop or MAC laptop.
Downloaded prebuild OSX Vagrant boxes here : https://github.com/snippetbucket/vagrant-box-osx
Then vagrant up and vagrant halt
Install nodejs (npm included)
Do sudo xcodebuild -license accept
Do sudo npm install -g ionic cordova ios-deploy ios-sim
Mac OS X Vagrant box for VirtualBox
This is a issue tracker for OS X Vagrant boxes, which can be found in Download section
Box was tested only on VirtualBox with Mac OS as a host. Mainly, I made it to build our iOS applications via CI-server.
Since VagrantCloud can’t host this images, you can use direct links to download them. Download speed may be slow.
- Mac OS X Yosemite 10.10 (XCode 6.4): v0.2.1, direct link (13Gb) (sha1: e02ea7fff9c3af980bfa733c8feb2e03bf562cfd)
- macOS Sierra (XCode 8.2): v0.3.1, direct link (14.1Gb)
Also you can download older boxes from Hashicorp Atlas page AndrewDryga/vagrant-box-osx/ (if it’s accessible at the moment), or simply by starting with
vagrant init AndrewDryga/vagrant-box-osx instead of url.