xamarin.ios - Xamarin.UITest DeviceAgentException: Failed to install DeviceAgent -
how solve error occurs when running xamarin.uitest on ios device.
it happens on both ios simulator , physical ios device.
setup : calabash.xdb.core.exceptions.deviceagentexception : failed 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 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 specified file
i had issue happen me before well, caused corrupt file in folder. navigate directory: '/var/folders/5m/3712cp7j2k928k6z3fgszfyw0000gp/t/' , delete folder 'xdb'. should resolve issue.
fyi: uitest team aware of , have fix in version 2.0.1.
Comments
Post a Comment