Today Bo Master has a XCODE7 certificate-free real-machine debugging requirements, encountered some difficulties, here and we share, hope to progress together.
In Xcode 7, Apple changed its policy on licensing, which was only available to registered developers, but Xcode 7 changed this practice without registering a developer account and downloading and getting started with a normal Apple ID. Developers need to pay $99 a year to become registered developers to run code on the iphone and ipad real-world, and Apple's new developer program relaxes the requirements without buying, as long as you're interested in testing apps on your device. Operation steps: 1. Go to Xcode, menu bar Select xcode–> Preferences
2. Add your own Apple ID on the Accounts tab.
Click "+" in the lower right corner to create an account with your Apple ID
You will see this information after the addition is complete.
You can see that the free tags for iOS and Macs are shown below, and there are no such tags before.
3. Generate the certificate.
Click View Details. The style of figure one appears.
Click the "Create" button on the back of the first iOS development to generate it.
Then you will see a provisionjing Profiles below.
4. In the team on the General page of the project target, select the item that corresponds to the Apple ID just now.
Create a new project "Testdebug".
In bulidingsetting, select the profile for the Apple ID that was just in the team
5. Add provisioning profile.
Click Fix Issue below the Issue that pops up below the team you just selected. It's all done by Xcode.
6. Run.
There may be an "untrusted developer" prompt on your phone when you run it. If you have one, "Setup", "General", "Profile", "Developer" Manual trust is OK.
iOS Development Diary 43-xcode7 certificate-free True machine debugging