如何使用Xcode7来调试iOS10设备

来源:互联网 发布:手机淘宝账号注册步骤 编辑:程序博客网 时间:2024/06/10 20:55

iOS10发布了,再要发布版本必须要适配iOS10,开发者们又要更新Xcode了,真的是这样吗?

“我不想更新Xcode”“我的网速不好,更新要好长时间呀”

好多这样的声音,不用担心,有更简单的方法,让你使用现在的Xcode7也能调试iOS10设备。

打开你的终端,输入以下命令:

<code class="hljs livecodeserver has-numbering" style="display: block; padding: 0px; background-color: transparent; color: inherit; box-sizing: border-box; font-family: 'Source Code Pro', monospace;font-size:undefined; white-space: pre; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; word-wrap: normal; background-position: initial initial; background-repeat: initial initial;"><span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">open</span> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">platform</span>/DeviceSupport</code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; background-color: rgb(238, 238, 238); top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right;"><li style="box-sizing: border-box; padding: 0px 5px;">1</li></ul><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; background-color: rgb(238, 238, 238); top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right;"><li style="box-sizing: border-box; padding: 0px 5px;">1</li></ul>

这个文件夹下面就是xcode的所有关于iOS调试的配置包文件,如下图:

iOS版本配置包文件

只需要将iOS10的配置包文件拖拽到这个文件夹就OK啦,有同学又要问了,配置包哪里有呢?哈哈,已经给你准备好了,去下载吧 ——> https://pan.baidu.com/s/1dEZon0P

1 0
原创粉丝点击