Xamarin IOS series tutorial 1: Install black apple and xamarinios

Source: Internet
Author: User

Xamarin IOS series tutorial 1: Install black apple and xamarinios

After some ideological struggles and struggles, we finally chose to use Xamarin to develop cross-platform mobile applications. You can search for other blog posts for the benefits and advantages, because the family is poor and has a crush on it, I don't want to buy an apple. I just did it on Windows in the development stage. It's not too early. I don't need to talk much about it. Let's just pick up our sleeves.

Preparations before installation

1. Apple image file: http://pan.baidu.com/s/1dEYasU1

2, vmwarevirtual machine: http://www.vmware.com/cn.html (go to the official website or Baidu directly download)

3. Unlocker tool: http://pan.baidu.com/s/1pL4jVsv (VMWare does not support installation of Mac system by default, what is this tool for, you know)

1. Install vmwarevm

Since this article does not focus on virtual machines, we will not describe how to install them here. You can query them by yourself.

2. Build Mac OS

Environment modification before creation

Unzip the unlocker208 file, run the win-install.cmd file as an administrator, you will find that VMWare services, a few more items, now you can set up a Mac OS in VMWare, as shown below:


Step 1: Create a new Virtual Machine

On the home page of VMware, select "create new virtual machine ".


Step 2: Select Configuration

Here, we can select "typical" for installation. Then, click "Next ".

Step 3: select an image file

The files provided by the cloud disk are in the cdr format. You do not need to convert them to iso or change the extension to ios. Select the file and click "Next.


Step 4: select the client operating system

After Apple Mac OS x (M) is selected, the version is automatically detected as OS X10.11. After that, click "Next"


Step 5: Name a virtual machine

Enter the Virtual Machine name, select the location to be installed, and click "Next ".


Step 6: Specify the disk capacity

Here, I select the default 40 GB, store the Virtual Machine disk as a single file, and click "Next ".


Step 7: complete the creation

Click "finish" to view the newly created virtual machine in the menu on the left.


Iii. configuration before Mac OS startup

If you start the VM directly, you will see the following error (error message Summary: VMware Workstation unrecoverable error: (vcpu-0) vcpu-0: VERIFY vmcore/vmm/main/physMem_monitor.c: 1180)

For the cause of this error, I found a solution on Google. The specific reason is that I did not find a reasonable explanation on the official website. Here I will not go into details. The solution is as follows:

Step 1: Modify the vmx File

Go to the Virtual Machine installation directory and find the file with the vmx extension (the file name is the same as that of the previous virtual machine, for example, my file is OS X 10.11.vmx)

Step 2: Open the vmx file in Notepad

Search: smc. present = "TRUE". In this row, add: smc. version = 0.

In this case, the VM can be started normally.



4. Start Mac OS

In this step, settings such as the Mac OS language and account password are omitted. Let's take a look at our boot screen.


Concluding remarks: At this point, the first blog post is completed. I am also a beginner. I hope you will criticize and study it together.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.