gpt4 book ai didi

Xamarin.UITestDeviceAgentException : Failed to install DeviceAgent

转载 作者:行者123 更新时间:2023-12-02 16:16:26 25 4
gpt4 key购买 nike

如何解决在 iOS 设备上运行 Xamarin.UITest 时出现的此错误?

它会发生在 iOS 模拟器和物理 iOS 设备上。

SetUp : Calabash.XDB.Core.Exceptions.DeviceAgentException : Failed to install DeviceAgent: ApplicationName='/var/folders/5m/3712cp7j2k928k6z3fgszfyw0000gp/T/xdb/DeviceAgent.iOS.Dependencies/93c12f73043a2d14eea9d417ab080eb4/bin/iOSDeviceManager', CommandLine='install -d fcbb5006c892e39f1f675a3f6804ce3688c3b8d1 -a /var/folders/5m/3712cp7j2k928k6z3fgszfyw0000gp/T/xdb/DeviceAgent.iOS.Dependencies/93c12f73043a2d14eea9d417ab080eb4/ipa/DeviceAgent-Runner.app', CurrentDirectory='', Native error= Cannot find the specified file

----> System.ComponentModel.Win32Exception : ApplicationName='/var/folders/5m/3712cp7j2k928k6z3fgszfyw0000gp/T/xdb/DeviceAgent.iOS.Dependencies/93c12f73043a2d14eea9d417ab080eb4/bin/iOSDeviceManager', CommandLine='install -d fcbb5006c892e39f1f675a3f6804ce3688c3b8d1 -a /var/folders/5m/3712cp7j2k928k6z3fgszfyw0000gp/T/xdb/DeviceAgent.iOS.Dependencies/93c12f73043a2d14eea9d417ab080eb4/ipa/DeviceAgent-Runner.app', CurrentDirectory='', Native error= Cannot find the specified file

最佳答案

我以前也遇到过这个问题,这是由该文件夹中的损坏文件引起的。导航到该目录:'/var/folders/5m/3712cp7j2k928k6z3fgszfyw0000gp/T/'并删除文件夹“xdb”。这应该可以解决问题。

仅供引用:UITest 团队已经意识到这一点,他们在 2.0.1 版本中进行了修复。

关于Xamarin.UITestDeviceAgentException : Failed to install DeviceAgent,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40537550/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com