iOS11使用Xcode进行iOS设备无线调试

栏目: IOS · 发布时间: 8年前

内容简介:iOS11使用Xcode进行iOS设备无线调试

设备环境:Mac OSX 10.12.5、iOS11、Xcode9

PS:这是WWDC2017的新功能,iOS11以上,Xcode9这是刚性要求。

手机连接上Xcode,打开Xcode菜单:Windows->Device and Simulators。找到连接上的设备,把Connect via network选项打勾。

Steps to set up iPhone, iPad, or iPod touch

1. Choose Window > Devices and Simulators, then in the window that appears, click Devices.

2. Connect your device to your Mac with a lightning cable.

3. In the left column, select the device, and in the detail area, select Connect via network.

————————————————————————————————————————————————————

设置iPhone, iPod和iPod touch:

1.选择窗口然后会弹出设备和模拟器,点击设备

2.用数据线连接你的Mac

3.在左侧栏中,选择设备,选择Connect via Internet选项。

Xcode需要和你的设备配对。如果Xcode可以使用网络连接设备,那么在左列的设备旁边就会出现一个网络图标。

4.断开你的设备连接。

iOS11使用Xcode进行iOS设备无线调试

Xcode pairs with your device. If Xcode can connect with the device using a network, a network icon appears next to the device in the left column.

Xcode需要和你的设备相匹配。如果Xcode和你的设备连的是一个网络,那应该会在左栏设备的旁边出现一个网络图标。

iOS11使用Xcode进行iOS设备无线调试

4. Disconnect your device.

Now you are ready for debugging over the network.

NOTE: MAC system and iPhone/iPad should share same network to use wireless debugging.

-------------------------------------------------------------------------

Steps to set up Apple TV:

1. Make sure your Mac and your Apple TV are on the same network.

2. Choose Window > Devices and Simulators, then in the window that appears, click Devices.

3. On your Apple TV, open the Settings app and choose Remotes and Devices > Remote App and Devices.

4. The Apple TV searches for possible devices including the Mac.

5. On your Mac, select the Apple TV in the Devices pane. The pane for the Apple TV is displayed and shows the current status of the connection request.

6. Enter the verification code displayed on your AppleTV into the Device window pane for the device and click Connect.

Xcode sets up the Apple TV for wireless debugging and pairs with the device.

然后再断开连接。你就可以开始进行调试了。

——————————————————————————————————————

设置Apple TV:

1.确保你的Mac和Apple TV是使用同一个网络。

2.在窗口下选择设备和模拟器,点击设备。

3.在你的Apple TV上,打开设置,选择远程应用和设备。

4.Apple TV搜索包括Mac的所有设备  。

5.在Mac上,在设备面板中选择Apple TV。Apple TV的面板会显示连接请求状态。

6.输入在Apple TV上显示的验证码,点击Connect。Xcode为无线调试设置Apple TV,并对设备进行配对。

iOS11使用Xcode进行iOS设备无线调试 iOS11使用Xcode进行iOS设备无线调试

翻译:Rain

翻译出处:https://stackoverflow.com/questions/44382841/how-to-do-wireless-debug-on-xcode-9-and-ios-11


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Web表单设计

Web表单设计

[美] Luke Wroblewski / 卢颐、高韵蓓 / 清华大学出版社 / 2010-6 / 49.00元

精心设计的表单,能让用户感到心情舒畅,愉快地注册、付款和进行内容创建和管理,这是促成网上商业成功的秘密武器。本书通过独到、深邃的见解,丰富、真实的实例,道出了表单设计的真谛。新手设计师通过阅读本书,可广泛接触到优秀表单设计的所有构成要素。经验丰富的资深设计师,可深入地了解以前没有注意到的问题及解决方案。 本书专为表单设计或开发人员准备,但同时也适合可用性工程师、网站开发人员、产品经理、视觉设......一起来看看 《Web表单设计》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

随机密码生成器
随机密码生成器

多种字符组合密码