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.
If you plan to submit apps to the App Store, you'll still be charged.
How to use:
1. Create a common project
2. Enter Xcode, menu bar Select xcode–> Preferences (shortcut command +)
3. Add your own Apple ID on the Accounts tab.
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.
4. Generate the certificate.
Click View Details. The style of figure one appears.
Click the "+" button in the middle, select iOS development in the pop-up menu, and then wait a moment (normally), Xcode will help you build the certificate required for dev mode.
5. In the team on the General page of the project target, select the item that corresponds to the Apple ID just now.
6. Add provisioning profile.
Click Fix below the issue that pops up below the team you just selected. It's all done by Xcode.
7. Run.
There may be an "untrusted developer" prompt on your phone when you run it.
"Settings" – "General" – "Profile" "Developer Account" "Trust Developer Account" "trust" finally can run up!!!
Xcode 7 Certificate-free True machine debugging