简体   繁体   中英

iPhone: Device debugging using Xcode 4

If this is a repeated question, please forgive me!

I don't know how to debug directly to the iPhone 4 device using Xcode of my project. Please share and help me on providing the steps or official tutorial link to do this.

Thanks.

请在Apple中注册为iPhone开发人员,以便您获得开发该应用程序所需的所有必要信息。

If you are registered developer then once you have downloaded the provisioning profiles onto the target, you can select the target from the dropdown menu to launch your application. After its launched you can set breakpoints, debug, view debug logs etc in the exact same way as you would do on the simulator. Theres nothing different to it.

Only step would be to deploy it on target.

If you havent got the provisioning profile, then follow apple's guidelines on their site.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM