Xcode7 Real-computer Debug iOS app

Source: Internet
Author: User
<span id="Label3"></p><p style="text-align: center;"><p style="text-align: center;">Gold field</p></p><p align="left"><p align="left">recently, Apple's New Xcode7 has brought many features, such as: Swift language is faster than before, more powerful, more readable code, xcode test function can help users to record the behavior of the application, etc. And the Xcode7 we're going to talk about today is a free real-test iOS app.</p></p><p align="left"><p align="left">Previous Xcode version if you need to pay 99 US knife to purchase the developer account, which increases the economic cost of the novice development, now Apple to provide this feature free of charge, it will undoubtedly attract more people into the iOS development platform, and Apple will be the original three platform developer accounts into one, One account can take care of all the platforms, which saves the cost of the software company, and then demonstrates how to use Xcode7 to test the application on the real Machine.</p></p><p align="left"><p align="left">The first step is of course we need to download the latest Xcode7, If you do not have an Apple ID account to register a first, Xcode7, directly double-click Open DMG package, the Xcode dragged out to complete the Installation.</p></p><p><p>The second step is to generate the certificate that we want to test on the real machine, run Xcode7 Click on the preferences in the menu ... Go to the Account tab and choose Add Apple ID as shown in:</p></p><p style="text-align: center;"><p style="text-align: center;"></p></p><p align="center"><p align="center">Figure 1 Adding the Apple ID interface</p></p><p align="left"><p align="left">Then sign in to the Apple ID account in the pop-up box, click the Add button, the Apple IDs Bar will be added after the login is successful, the right side can see the account and description information just logged in, as well as the iOS and Mac free tags, the previous version if you did not purchase the developer account, will be prompted not to join any development team. Then click the "View details" button below to wait for the system to read the relevant information will pop up the generated certificate page in Figure two, the signing Identities column lists the types of certificates that can be generated, Provisioning the Profiles column lists the certificate files that have been Generated. Because I've already generated a certificate for iOS development, it's no longer secondary.</p></p><p><p></p></p><p align="center"><p align="center">Figure 2 Certificate Generation page</p></p><p><p>The third step with the certificate we can connect to the real machine ready to test, open the already written iOS project, click on the General page in the Project's targets, under the Identity tab team Select the Apple ID just used to generate the certificate, Connect the device and the real machine as a debug target click to run, this time will prompt the compilation failure and pop up a dialog box, It's okay we just need to click on the "Fix lssue" button in the pop-up dialog box, and wait for the system to help us solve, automatically generate the corresponding Certificate.</p></p><p><p></p></p><p align="center"><p align="center">Figure 3 Invalid certificate and Repair dialog box</p></p><p align="left"><p align="left">The screen of our app appears on the real machine, so we can finally test our program on the real Machine. of course, If you want to publish to appstore, you still need to purchase a developer account to Publish.</p></p><p><p></p></p><p style="text-align: center;"><p style="text-align: center;"><span style="color: #ff0000;">All rights reserved, Reprint must browse the author (jintian) and original source (original)</span></p></p><p><p>Xcode7 Real-computer Debug iOS app</p></p></span>

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.