2. Run Xcode 7, click Agree, and wait for the component installation to be completed;
3. Find the source code of the program you want to compile from GitHub. The emulator source code page used in this example: Click here to view it.
4. Copy the address of the above webpage, namely "/jasarien/proof.git";
5. In Xcode 7, click the menu item "Source Control" above, and then select "Check out ..." to check;
6. In the "Repository Location" column below, paste the URL in "4" and click "Next";
7. Select a branch. For example, if we select "Master" and click "Next" again, Xcode will automatically download and compile the required source code, wait patiently for a while, and then Xcode will automatically load the code in the new project window.
8. Connect your iOS device to the computer through the data cable;
9. In the drop-down device selection menu, select the Apple iOS device you just connected, for example, select iPad here;
10. Wait for Xcode 7 to finish the process of creating index and label files. This process is a bit slow, just wait patiently.
1 1. Click the play button. At this time, you will see an error message of "code signing Error". Click Fix Problem to fix the problem and log in with your developer account. The account (Apple ID) here does not need a paid developer account. If not, just create one.
12. After successfully logging into your account, click the Play Execute button again to complete the compilation. You may encounter an error prompt asking you to enter new characters. At this point, just click the General tab, and then change the "binding identifier" of the program to another name, that is, the part between two points.
13. Continue to click "Play" to complete the whole compilation process. Now, you can see that this application has appeared on your device screen.
14. After that, you need to click "Developer Application" in "Settings-General-Description File" on the iOS device to give it permission;
15. After completing all the above steps, you can open and run this simulator application on the device.