Wireless debugging icon not showing in my Xcode 9

让人想犯罪 __ 提交于 2020-05-09 03:05:07

问题


I just download Xcode 9 and was going through wireless debugging tutorials . I went through this link Wireless debugging but could not make out why my wireless debugging icon is not showing. My device is iPhone 6s updated to iOS 11. and the debugging icon is missing . Snaphot . The icon is missing.
What I got from others tutorial, is the icon they are getting, which I am not getting. Like this in apple documents. .


回答1:


Network icon is not showing because your device is not paired up to the MAC you are using. If it's not working by connecting to the same WiFi network. you can connect to same network via Bluetooth.

  1. Turn on Bluetooth of your device.
  2. Turn on Bluetooth of your MAC.
  3. Pair up the MAC to the device Bluetooth.

You can see the network icon next to the device name in Xcode -> window -> Devices & Simulator -> select the device.

This worked for me. Hope this helps!




回答2:


After pairing the iPad with my mac over bluetooth I didn't got that network icon on the iPad on the device list. Then I start to check for install provisioning profile. And immediately Xcode automatically sync the profile and seems all good for me.

The iPad was new, and it didn't have the provisioning profile install on it.

To check the provisioning profile. Press command + shift + 2 to open the Devices and Simulators. Select the Device category. Under Device category there is the list of connected device. Just press the right button of the mouse or two finger tap on the device.




回答3:


The following steps worked for me:

  1. Connect the iPhone to your mac book
  2. Wait until the device setup is completed
  3. Make sure the mac book and your iPhone are connected to the same Wifi network
  4. In Xcode, Open Window -> Devices and Simulators and see the device appearing under the list of Connected devices.
  5. Select your device and check the "Connect via network" box

  1. Disconnect the device from your mac.
  2. The device will appear under the list of disconnected devices in the same window.
  3. Right click on your device and select "Connect via IP Address"

  1. Enter the IP address of your phone and click connect.

To get the IP address of your iPhone:

  1. On your iPhone, go to Settings -> Wi-FI and tap on the connected wifi network.

  2. You will be able to see the your iPhone's current IP address for the selected Wi-Fi network.

This is working for me without any issues. Hope it helps you too



来源:https://stackoverflow.com/questions/46379321/wireless-debugging-icon-not-showing-in-my-xcode-9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!