如何使用Xcode7来调试iOS10设备

无需更新Xcode,只需简单操作即可让Xcode7支持iOS10设备调试。本文介绍如何通过添加iOS10配置包实现这一目标。

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值