简体   繁体   English

iPhone:iPhone应用程序测试

[英]iPhone: iPhone application testing

First, Thanks to all for your quick help for any questions asked in this forum. 首先,感谢大家对本论坛提出的任何问题的快速帮助。

I just want to know what are the testing tools coming up with Xcode on Mac as i need to test my iPhone application professionally (or) What do you suggest to use debug and test my application using any (or) built-in tools? 我只想知道Mac上Xcode附带的测试工具是什么,因为我需要专业地测试iPhone应用程序(或),建议使用任何(或)内置工具来调试和测试我的应用程序?

Thanks. 谢谢。

The first thing I try is Xcode's "Build and Analyze" menu command. 我尝试的第一件事是Xcode的“ Build and Analyze”菜单命令。

Next thing is to run Instruments and look for memory and object allocations and disposal. 接下来的事情是运行Instruments,寻找内存和对象的分配和处置。 Instruments should keep you busy for quite a while as it can provide you a wealth of information, including network performance and graphics utilization. 仪器应该使您忙碌一段时间,因为它可以为您提供大量信息,包括网络性能和图形利用率。

When using instruments, the first method you should check is memory allocation and leaks. 使用乐器时,您应检查的第一种方法是内存分配和泄漏。 When your application leaks, it will spike. 当您的应用程序泄漏时,它将峰值。 Click on this leak and then extend the details to find the exact whereabouts of the leak. 单击此泄漏,然后扩展详细信息以查找泄漏的确切位置。

However read the documentation on it all first. 但是,请先阅读所有文档。

Documentation 文档

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

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