Wireless debugging icon not showing in my Xcode 9 - debugging

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. .

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.
Turn on Bluetooth of your device.
Turn on Bluetooth of your MAC.
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!

The following steps worked for me:
Connect the iPhone to your mac book
Wait until the device setup is completed
Make sure the mac book and your iPhone are connected to the same Wifi network
In Xcode, Open Window -> Devices and Simulators and see the device appearing under the list of Connected devices.
Select your device and check the "Connect via network" box
Disconnect the device from your mac.
The device will appear under the list of disconnected devices in the same window.
Right click on your device and select "Connect via IP Address"
Enter the IP address of your phone and click connect.
To get the IP address of your iPhone:
On your iPhone, go to Settings -> Wi-FI and tap on the connected wifi network.
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

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.

What worked for me was to un-pair the device, and then I tapped "Trust computer" on the iPhone and then the network globe reappeared.

Related

How to run iOS app over Wi-Fi in xcode without connecting the device to the Macbook using USB cable?

How do I wirelessly connect my iPad to Xcode? It is required of me to connect my device to my Macbook using USB cable first, but my USB port is not working at all and it is impossible for me to do so. I looked everywhere on the web but cannot seem to get it working.
in Xcode while the device is connected via cable if you open Window -> Devices and Simulators or shift + cmd + ⬆ there is a checkbox to connect via network

Get UDID of the device connected to Mac Machine

I have a cocoa application. I need to retrieve the UDID of the iPhone connected to machine using cable. Is there any way to programatically discover iOS devices connected to Mac OS X machine in cocoa application?
It isn't possible to get UDID programatically. Since iOS 5 Apple has removed access to UDID.
Kindly refer to the following where this has already been discussed.
Get UDID of IOS device programmatically?
UIDevice uniqueIdentifier Deprecated - What To Do Now?
In case you want it without programmatically,
Connect the iPhone to the Mac, open the iTunes, click this button marked with red
After that in the screen you're getting, click on the serial number in the area marked with red here, you'll get the UDID
Connect your device to Mac and open iTunes. Then click on the symbol of the device. It will show the UDID of the device.
And if you want to get UDID programmatically please refer this link.
How to get a unique device ID in Swift?

How to record/inspect bluetooth traffic of a macOS app

I'm running a certain app on macOS 10.13, that communicates with a bluetooth device. I want to inspect the packets that are being exchanged. How can I do that?
Note: I found references to a "Bluetooth logging" option under the bluetooth menu that would appear under the debug sub-menu when option-shift clicking the menu, but it seems that this option is no longer there as of 10.13
Download the Additional Tools for Xcode 9 from https://developer.apple.com/download/more/. In the Hardware folder there's an app called PacketLogger which is a Bluetooth packet logger.

Issue setting up the development environment for ProjectTango developemnt Device

I have a Project Tango development Kit. I am interested in working on the depth data from the sensors.
I have ADB setup on my machine. But the Eclipse android emulator doesn't detect the Tango Development tablet.
Can anyone suggest me how to set things up for the device!.
Thank you in advance.
Please ensure that USB debugging is enabled in order to enter ADB, go to Settings > About tablet > Build number and then press Build number seven times. Then press back and go to Developer options > USB debugging.
Go to your device manager (if on Windows) and look for Android Composite ADB Interface (under Android Device).
I found the driver for this at http://developer.android.com/sdk/win-usb.html
Right click Android Composite ADB Interface, go to the driver tab, and click update driver. Then select Browse my computer for driver software and point it to the location where you extracted the usb driver package.
After doing this confirm that ADB can see your device by opening a command prompt, navigate your android sdk folder, and then go into a folder called platform-tools. Then run the command "adb.exe devices". If the tango is listed there then your drivers are correctly installed and adb can see the Tango.
I had the same issue on Windows 7 and it only saw the Tablet as a storage device. I had enabled developer options in the tablet as described above, but I had missed the step on turning on USB debugging. The moment I did that it appeared as a ADB device and I installed the Google USB driver and then I could see it and deploy onto it from Android Studio.
I previously had issues with the Peanut but if you followed the instructions for that EXACTLY it would work You have to specify the device driver file exactly,
not let windows chose one for you or let it tell you that its driver is better :-)
You need to update the driver in your device manager.
Click start
Right-click "Computer"
Select "Manage"
Select "Device Manager"
Find your device
Right-click "Update Driver Software"
Choose "Browse my computer"
Now search for the Android SDK you installed (on mine it is in c:\users\MyName\AppData\Local\Android\SDK) and select the sub folder Extras\Google\USBDriver

How do I add a device to Xcode devices?

I have an iPad and an iPhone. My iPhone is listed under devices in Xcode, and I'm trying to add my iPad.
Q: How do I add a device in Xcode?
Sometimes plugging in the device does not bring up the window.
In this case, from the Xcode menu, select Window and then Organizer.
Connect your device to your Mac with cable.
Open XCode
Window -> Devices & Simulators
Tap on your device
Tap to check on "Show as run destination"
Tap to check on "Connect via network"
Open Xcode. Plug in the device. Follow the prompts.
Open Xcode
Window -> Devices & Simulators
On the bottom left of the Devices window is a "+" Sign, Click on it.
Choose a connected device from the list to setup
click "Next"
when complete Click "Done"
Disconnect and Reconnect the Device
Plug your device directly into your mac, don't go through a USB hub as in my case. As soon as I went directly from iPhone to mac, it showed up.
open xcode and in the above option => "Window" click and select " Devices and simulators ". In the opened window you can see bottom left side "+" button .
click and add your device
I added my iPhone,which had the same issue, by changing my deployment target to match the OS on my phone, selecting my phone in the simulation bar (by the play stop links) and clicking the fix issue link.
Connect the device -> Open Xcode -> Click the top runner bar, select the connected device (you may need to scroll up).

Resources