Table of Contents
This updated guide examines Click: How to Download Xcode on PC or Mac and organizes the essential facts, background, and practical takeaways in clear American English.
Method 1of 2:
Windows 10, 8.1, and 7
Download and install VirtualBox for Windows. This is a free, open-source hypervisor that enables you to run multiple virtual machines, including Xcode for macOS.[1]
- Go to https://www.virtualbox.org/wiki/Downloads and click Windows hosts . This starts the download (though you may have to click Save or Download to continue).
- You must be using a 64-bit version of Windows with at least 4 GB of RAM.
- Run the installer, then follow the on-screen instructions to complete the installation.
- Go to https://www.virtualbox.org/wiki/Downloads and click Windows hosts . This starts the download (though you may have to click Save or Download to continue).
Download macOS High Sierra Final. You can get the RAR version for free here.
- If you can't download it because the file is too large (it's 6 GB), you can get the fix here.
Extract the RAR file. You can use any extraction app that supports RAR files, such as WinRAR or WinZip. Once the file is extracted, you'll have a folder containing a High Sierra.vmdk file and a.txt file.
Open VirtualBox. You'll find it in the All Apps area of the Start menu.
ClickNew. It's at the top-left corner of the app. The 'Create Virtual Machine' dialog will appear.
TypeOSXinto the 'Name' field.
SelectMac OS Xfrom the 'Type' drop-down menu.
SelectmacOS 10.13 High Sierra (64-bit)orMacOS 64-Bitfrom the 'Version' drop-down.
- If you don't see any 64-bit options, you must enable VT-x or 'virtualization' in your BIOS settings. See Change Computer BIOS Settings to learn how to access the BIOS.
- ClickNext. It's at the bottom of the window.
Drag the slider to the desired memory size. This is how much hard drive space you'll allocate to High Sierra. It's best to use between 3 GB and 6 GB.- ClickNext.
Create a hard disk. Here's how:
- Click the button next to 'Use an existing virtual hard disk drive.'
- Click the browse icon.
- Navigate to the High Sierra.vmdk file you extracted earlier.
- Select the file and click Create .
ClickSettings. It's at the top-left corner of the window.
Edit your virtual machine. Make the following updates to your settings:
- Click System in the left column.
- On the motherboard tab, select ICH9 from the 'Chipset' menu, then check the box next to Enable EFI .
- On the Processor tab, select 2 as the number of processors, then move the 'Execution cap' slider to the 70% mark.
- Click Display in the left column.
- On the Screen tab, select 128 MB as the 'Video Memory' value.
- Click OK to save your changes.
- Click System in the left column.
Close VirtualBox. You can do this by clicking the X at the top-right corner of the app.
Open an elevated command prompt on your PC. Here's how:
- Typecmdinto the search box in the task bar.
- Right-click Command Prompt in the search results.
- Click Run as administrator . A black window with the command prompt will appear.
Run these commands at the prompt. Run these in order, but replace the paths to the location of your VirtualBox, and 'Your VM Name' with its name:
- Typecd "C:Program FilesOracleVirtualBox"and press↵Enter.
- TypeVBoxManage.exe modifyvm "Your VM Name" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbffand press↵Enter.
- TypeVBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"and press↵Enter.
- TypeVBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"and press↵Enter.
- TypeVBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"and press↵Enter.
- TypeVBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"and press↵Enter.
- TypeVBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1and press↵Enter.
Open VirtualBox again. You can also close the CMD window if you wish.
ClickStart. It's the green arrow icon at the top-left corner of the app.
Set up your virtual Mac. Follow the on-screen instructions to set up High Sierra like you're setting up a new computer, and log in with your Apple ID as prompted. When you're finished, your virtual Mac will display its home screen.
Open the App Store
. It's in the Dock at the bottom of the screen.
Search for Xcode. Typexcodeinto the search bar at the top-right corner of the App Store and press↵Enter.
ClickXcode. It should be the first result. Look for the blue app store icon with a hammer.
ClickGet. If you didn't sign in with your Apple ID during setup, you'll have to do so now.
ClickInstall. Xcode will install on your virtual Mac. When it's finished, an 'Open' button will appear.
ClickOpento launch Xcode.
ClickAgree. It's at the bottom-right corner of the license agreement pop-up.
Enter your Mac administrator password to continue. Xcode will now install some additional features.
Start a new project.
- If you're new to Xcode, select Get started with a playground to code in a preset environment.
- To start a project from scratch, click Create a new Xcode project .
- If asked to enable developer mode on your Mac, click OK .
Method 2of 2:
macOS
Open the App Store
. You'll find its icon on the Dock, which is usually at the bottom of the screen.
Typexcodeinto the search bar and press⏎Return. A list of matching results will appear.
ClickXcode. It should be the first result. Look for the blue app store icon with a hammer.
ClickGet.
ClickInstall. Xcode will now download and install on your Mac. When the app is finished installing, the 'Install' button will change to 'Open.'
ClickOpen. Xcode will launch.
ClickAgree. It's at the bottom-right corner of the license agreement pop-up.
Enter your administrator password. Xcode will now install additional components on your Mac.
Start a new project.
- If you're new to Xcode, select Get started with a playground to code in a preset environment.
- To start a project from scratch, click Create a new Xcode project .
- If asked to enable developer mode on your Mac, click OK .
FAQ
What is Click: How to Download Xcode on PC or Mac about?
It provides a structured overview of click, explains the main context, and highlights practical takeaways for readers.
Why does this topic matter?
Understanding the main concepts helps readers evaluate the issue, avoid common mistakes, and make better-informed decisions.
How should readers use this information?
Use the guidance as a practical starting point, confirm details that may have changed, and follow current product, safety, or security recommendations.
Reader Comments 0
Sign in with email or Google to join the discussion.