简体   繁体   English

iPhone:使用Xcode 4进行设备调试

[英]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. 我不知道如何使用项目的Xcode直接调试到iPhone 4设备。 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. 如果您还没有提供配置文件,请在其网站上遵循Apple的指南。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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