Skip to content

Instantly share code, notes, and snippets.

@ccabanero
Last active June 9, 2017 22:29
Show Gist options
  • Save ccabanero/7bbd3d369fb347a808550dc036fef2b0 to your computer and use it in GitHub Desktop.
Save ccabanero/7bbd3d369fb347a808550dc036fef2b0 to your computer and use it in GitHub Desktop.
Creating a Virtual Machine of Xcode 9 Beta
Scenario:
1. You have an Apple Developer subscription.
2. You currently have several apps that you need to maintain/update before Xcode 9 is officially released.
3. You don't want to install Xcode 9 beta on your Mac - but you still want to play with the Xcode 9 beta.
One Possible Solution:
Use Parallels to create a virtual machine of macOS then install Xcode 9 beta on it.
Step 1: Get macOS Sierra (current Version)
a. Open the App Store application on your current version of macOS.
b. Search for: macOS
c. You will see macOS Sierra listed in the results. Assuming this is already installed, click download. It's over 5GB so this will take a while.
d. Confirm the download by using Finder to view the Applications folder. You'll see 'Install macOS Sierra'.
Step 2: Create a Virtual Machine of macOS Sierra using Parallels
a. Install Parallels (version 12 used for this gist).
b. Launch Parallels. Choose 'Install Windows or anotehr OS from a DVD or image file'.
c. Select the macOS Sierra image file you downloaded from Step 1. Choose 'Continue'.
d. Create a disk image (e.g. OS X image file.dmg)
e. Name the virtual machine (e.g. macOSSierra-Xcode9)
f. Choose 'Install macOS' and 'Continue'. Go through the install workflow.
Step 3: Install Xcode on your virtual machine
a. Sign into the Apple Developer program. Navigate to the downloads page: https://developer.apple.com/download/
b. Download the Xcode 9 beta and install it.
Go Learn Xcode 9, iOS 11, Swift 4 ... See all the new goodness here: https://developer.apple.com/videos/wwdc2017/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment