iOS Development Diary 43-xcode7 certificate-free True machine debugging

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.