IOS real machine debugging

Source: Internet
Author: User

Learning iOS development. If you are playing with it, the simulator in the Mac will be enough, but because the memory computing capability of the Mac simulator is much better than that of the real machine, there are many problems you can't find without a real machine test. Unlike Android development, iOS development itself is a costly item. First, you have to have a Mac machine and a Mac Mini for the worst time, you can also create a virtual machine. I used visualbox to get one, except for the slow speed. In addition, to debug a real machine, you have to join the iOS development plan, which requires 99 knives. Of course, since it's a real machine debugging, you have to have an iPhone or iPad. The worst thing is an iPod.

Next is my question, debugging IOS on a real machine.

After the data line is connected to the mobile phone, you can see in the organizer in xcode that you need to select the device and click "use for development" to allow development and debugging using this device.

A prompt is displayed, prompting you to log on to the Apple id.

Wait a moment and it will be like the following:

Then you can see my iPhone in xcode, set the activity schema to my iPhone, and click the run button to start the application on my mobile phone.Program.

If a breakpoint is set, the operation on the mobile phone triggers xcodeCode.

I have omitted the steps for applying for the Apple iOS development plan and downloading the provisioning profile. However, there is a super complete one, which is posted here for reference:

  • How to submit your app to Apple: from no account to App Store, part 1
  • How to submit your app to Apple: from no account to App Store, part 2
Related Article

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.