ios上的调试
2016-09-27 本文已影响70人
helinyu
![](https://img.haomeiwen.com/i1205674/95a70e117d766c64.png)
filemerge: 文件对比和合并;
applicaiotn loader : 这个是mac上的ios开发者等进行对应用上传的过程;
Accessibility Inspector :使用Accessibility Inspector 检测ios APP中控件元素层级结构;
基本上包括了对应的 调试、上传、文件比较合并、文件的结构的访问;
![](http://upload-images.jianshu.io/upload_images/1205674-82781a9ecda9d266.png)
filemerge 文件的合并: mac 上文件的比较还有其他软件(google一下)
![](http://upload-images.jianshu.io/upload_images/1205674-6cc9f4c2d608cdc0.png)
![](http://upload-images.jianshu.io/upload_images/1205674-69672a59e194e30a.png)
![](http://upload-images.jianshu.io/upload_images/1205674-f6b792e8ca4cfe21.png)
一般是勾选上Identifier来就会显示对应的区别;
下面是点击comparion现显示的结果;sourcetree应该同样的显示;
可以看到有下面的选项内容:
右边上面 Exclude 是过滤展示选项,一般选择Identical 就可以展示所有存在不同的文件和文件夹。
Comparison: 展示当前选中文件的比较结果(等同于你直接双击打开要比较的文件)
Left File && Right File: 分别用Editor编辑打开坐标或者右边的文件
Ancestor file && Merge FIle 感觉没多大作用。
![](http://upload-images.jianshu.io/upload_images/1205674-2d02f9419d2c0f08.png)
![](http://upload-images.jianshu.io/upload_images/1205674-8fe33c60e7514995.png)
Accessibility Inspector :
能够检测到电脑屏幕上的所有界面的层级结构, 包括Mac中的应用, 浏览器, iOS APP等. (需要电脑授权)
![](http://upload-images.jianshu.io/upload_images/1205674-cedee1bead152f3e.png)
Instrument:必须用真机测试,这样才会准确。
![](http://upload-images.jianshu.io/upload_images/1205674-a762c7ffeaabb4fa.png)
cmd + / 调出有关的系统的日志文件,这个当然是ios的模拟器的内容;