简体   繁体   English

使用Xamarin.iOS使用Wifi进行调试

[英]Debugs using Wifi using Xamarin.iOS

I'm using an external IPC device for barcode scanning in my application. 我在应用程序中使用外部IPC设备进行条形码扫描。

So I need a way to debug the application using the Wi-Fi/Bluetooth. 因此,我需要一种使用Wi-Fi /蓝牙调试应用程序的方法。

Visual Studio has an option to Debug over Wi-Fi but I can't any option to connect to device or debug using Wi-Fi. Visual Studio可以选择通过Wi-Fi进行调试,但是我无法选择使用Wi-Fi连接到设备或进行调试。

Any one has any idea how to do that? 任何人都知道该怎么做吗?

For first time connect device using data cable and follow following step 首次使用数据线连接设备,然后执行以下步骤

XCode -> Window > Devices and Simulators -> Connect via network checkbox make enable XCode->窗口>设备和模拟器->通过网络连接复选框使能

Remove Data cable and check device name in project and project run again 拔下数据线并检查项目中的设备名称,然后再次运行项目

Note : Make sure device and mac both are connect with same wifi 注意 :确保设备和Mac都使用相同的wifi连接

For reference check https://docs.microsoft.com/en-gb/xamarin/ios/deploy-test/wireless-deployment?tabs=vsmac 作为参考,请检查https://docs.microsoft.com/en-gb/xamarin/ios/deploy-test/wireless-deployment?tabs=vsmac

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM