After the release of Xcode7, even if we do not have a developer account, we can also perform a real machine test.
The way is very simple, a few steps are done ....
1. Open Xcode 7 , press cmd + , enter preferences, Preferences-->Accounts click the number button in the lower left corner + to add your own developer account, as follows:
The account does not need to be a paid developer account, normal Apple ID .
2. Select the item we want to test, then select the General tab, modify the Team options for theApple ID
3. Team选项 If there is a warning, click Fix Issue , wait for Xcode to finish processing, this warning disappears.
4. Press cmd + R , run the project to see the effect!
Note the following ....
5. If the real machine system is in iOS 9以下 , direct operation can be successful
However, if the real machine model is in iOS 9以上 , Xcode will prompt such information:
Although the project did not run up, but installed on the device, when you open the time, there will be such a hint:
Don't worry, take your time, we'll work it out step-by-step:
Open the settings for the device, tap 设置-->通用-->描述文件-->[email protected] , and then the following:
Click on 信任"[email protected]" the button, so you can run it.
So you can take care of it and start your test.
Xcode No certificate test