Deployment WinAppDeployCmd-即使使用PIN也拒绝访问

Deployment WinAppDeployCmd-即使使用PIN也拒绝访问,deployment,windows-10-mobile,Deployment,Windows 10 Mobile,我正在尝试使用将应用部署到运行Windows 10 Mobile(build 10.0.10586.164)的手机。我已经拉上窗口,将设备与PIN配对,但输入该PIN不起作用。例如,以下命令给出了一个错误 C:\Users\Hodor\>WinAppDeployCmd.exe install -file app_1.0.0.0_arm.appxbundle -ip 192.168.1.132 -pin L8J4d2 Windows App Deployment Tool Version

我正在尝试使用将应用部署到运行Windows 10 Mobile(build 10.0.10586.164)的手机。我已经拉上窗口,将设备与PIN配对,但输入该PIN不起作用。例如,以下命令给出了一个错误

C:\Users\Hodor\>WinAppDeployCmd.exe install -file app_1.0.0.0_arm.appxbundle -ip 192.168.1.132 -pin L8J4d2

Windows App Deployment Tool
Version 10.0.0.0
Copyright (c) Microsoft Corporation. All rights reserved.

Opening connection to device at '192.168.1.132'.

Access denied while connecting to the remote device.
Please retry the command with the "-pin" option and a valid pin as shown in the device settings.
The pin is a one time requirement to establish a pairing relationship with the device.
我可以ping电话,没有问题。我能够通过USB部署应用程序,但我正在尝试设置CI解决方案,以便在成功构建后自动部署到多部手机


有没有我错过的一步?去年夏天,我成功地使用了WinAppDeployCmd,没有出现任何问题。

我遇到了类似的问题,对我有效的方法是使用
-guid
参数而不是
-ip
参数来指定目标

使用
WinAppDeployCmd devices
命令查找要定位的设备的guid

然后,仅使用
-guid
而不是
-ip
运行
WinAppDeployCmd

C:\Users\Hodor\>WinAppDeployCmd.exe安装-文件app_1.0.0.0_arm.appxbundle-guid-插脚L8J4d