1. Choose a Mac computer
Buying a cheap computer feels that development is not enough, and buying an expensive computer feels that it burns money, so you might as well try to build an IOS system with a virtual machine.
2. Build the environment
The video tutorials posted by bilibiliUp, I followed the perfect build, and the documents are also given in the video (I spent money to rush a Baidu cloud member, distressed)
https://www.bilibili.com/video/av16988296?from=search&seid=17167328327475744072
During the period, there are some minor issues not mentioned in the video:
Chinese cannot be in the path of unlocker207, otherwise the virtual machine cannot recognize the Mac system
If the following effects occur when installing the system:
Refer to the following method to configure, and then come back https://blog.csdn.net/gangtieren/article/details/103705826
3. Install Xcode compiler
Drag the Xcode_7.1.dmg file to the ios virtual machine, and then double-click to install
But after the installation is complete, double-click will appear such a prompt: drag to install xcode in your applications folder
Just do it, drag the small hammer icon to the Applications file and the installation will start
But there is a lot of trouble, and there will be a pop up in the middle: an unkonwn error occurred, see the install log...
Don’t panic, refer to https://www.jianshu.com/p/e5335bf39f93 and set the local time of the ios system to complete