---
layout:     post
title:      Xcode9 无线调试功能
subtitle:   zsh的快速配置
date:       2017-07-04
author:     BY
header-img: img/post-bg-coffee.jpeg
catalog: true
tags:
    - Xcode
    - 开发技巧
---

> 支持：Xcode 9 及 iOS 11

使用数据线连接 iPhone 到电 Mac，Mac 和 iPhone 必须在同一个局域网

### 1. 打开设备列表

使用快捷键盘 `⇧⌘2`
或 在 Xcode 菜单栏选择 Window > Devices and Simulators,打开设备列表

![](https://ws2.sinaimg.cn/large/006tNc79gy1fh6uij2kq9j30dg08l417.jpg)

### 2. 勾选在线调试按钮

![](https://ws2.sinaimg.cn/large/006tNc79gy1fh6ugx3097j30rl06kq4i.jpg)

![](https://ws3.sinaimg.cn/large/006tNc79gy1fh6ugwec7sj30re06gdhl.jpg)

### 3. 拔掉数据线

这时就可以无线调试了。

![](https://ws3.sinaimg.cn/large/006tNc79gy1fh6uhd01f8j30ef05v75k.jpg)

