ios 是否可以在 XCODE 中无线调试应用程序或不连接 USB 电缆?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/32064484/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 07:19:11  来源:igfitidea点击:

Is it possible to debug application wireless or without connecting USB cable in XCODE?

iosxcodemacosdebuggingusb

提问by Indrajit Chavda

how to connect device in xcode without cable. it is tedious to connect the cable and my USB is lil bit loose, so it disconnects from PC.

如何在没有电缆的情况下在 xcode 中连接设备。连接电缆很乏味,而且我的 USB 有点松,所以它与 PC 断开连接。

采纳答案by Krunal

Over wifi installing and debugging of applications is not possible in ios.

在 ios 中无法通过 wifi 安装和调试应用程序。

But there are some websites where you can upload your builds and then download on device and test it.

但是在某些网站上,您可以上传您的构建,然后下载到设备上并进行测试。

WiFi debugging has never been supported in any public releases of Xcode yet.

任何公开发布的 Xcode 都不支持 WiFi 调试。

But officially, this isn't supported.

但官方不支持。

回答by Parth Adroja

It will be now possible with the latest update of Xcode 9.

现在可以使用 Xcode 9 的最新更新。

Cut the Cord

Choose any of your iOS or tvOS devices on the local network to install, run, and debug your apps – without a USB cord plugged into your Mac. Simply click the ‘Connect via Network' checkbox the first time you use a new iOS device, and that device will be available over the network from that point forward. Wireless development also works in other apps, including Instruments, Accessibility Inspector, Quicktime Player, and Console.

剪断脐带

选择本地网络上的任何 iOS 或 tvOS 设备来安装、运行和调试您的应用程序 - 无需将 USB 线插入您的 Mac。第一次使用新的 iOS 设备时,只需单击“通过网络连接”复选框,从那时起该设备将可通过网络使用。无线开发也适用于其他应用程序,包括 Instruments、Accessibility Inspector、Quicktime Player 和 Console。

Check thisfor the latest updates.

检查以获取最新更新。

回答by Surjeet

Wireless debugging is possible now with XCode 9.x and iOS 11.x. Check my answer herefor steps to connect device for wireless debugging.

现在可以使用 XCode 9.x 和 iOS 11.x 进行无线调试在此处查看我的答案,了解连接设备进行无线调试的步骤。

回答by Eddie K

This is now officially supported as a built-in feature in Xcode 9.

现在正式支持作为 Xcode 9 的内置功能。

How do you perform wireless debugging in Xcode 9 with iOS 11, Apple TV 4K, etc?

如何在 iOS 11、Apple TV 4K 等的 Xcode 9 中进行无线调试?