If Xcode does show the device as connected, try restarting Visual Studio and your device. If Xcode does not show your device as connected, try to pair your device again. If the device does not show in Visual Studio, check Xcode's Devices and Simulators window. TroubleshootingĪlways ensure that your iOS device or Apple TV are connected to the same network as your Mac. Wireless debugging is automatically enabled after wireless deployment, so you can use previously set breakpoints and continue your debugging workflow as you've always done. Once the device is unlocked, your app is deployed to the device. If your device is locked, you'll be prompted to unlock your device. Select your device from the target device list and run the application. To deploy to an iOS or tvOS device, use the following steps:Įnsure that your deployment machine and target device are on the same wireless network. Make sure to do this before attempting to deploy to a device. To test on a physical device, the device must be provisioned. When a device is connected wirelessly and ready to be used for deployment, it shows up in the device target list, as if the device were connected through USB. When it's successfully paired, a network connection icon appears beside the Apple TV. Select the Apple TV in the Discovered area in Xcode and enter the verification code displayed on the Apple TV.Ĭlick the Connect button. On the Apple TV, go to Settings > Remotes and Devices > Remote App and Devices. Open Xcode and go to Window > Devices and Simulators. Select your device and then select the Connect via network checkbox to pair your device:Įnsure your Mac and Apple TV are connected to the same network.You may need to select to Trust This Computer on your device. Plug your iOS device into your Mac using a lightning cable.Open Xcode and go to Window > Devices and Simulators.Xcode will retain the connection settings. The following pairing process should only need to happen once per device. Once paired, you can select it from the device target list in Visual Studio. In order to deploy and debug wirelessly on your device, you must pair your iOS device or Apple TV with Xcode on your Mac. On your Mac build host, the following components should be installed: A device with iOS 11.0 or tvOS 11.0 and later.The latest version of Visual Studio for Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |