MiddleD.
MiddleD.

Reputation: 393

Xamarin automation tests ios. Failed to launch DeviceAgent ExitCode: 65

can't launch UI auto tests on my ipad.

Error - Xamarin.UITest.XDB.Exceptions.DeviceAgentException : Failed to launch DeviceAgent ExitCode: 65

App is installed on device. DeviseAgent installed while trying to run any test.

ios version of ipad 10.3.3 xcode 8.3.3

Packages in appProject:

Xamarin.TestCloud.Agent v 0.20.7

in testProject:

NUnit v 2.6.3

Xamarin.UITest v 2.0.10

Test setup:

app = ConfigureApp
      .iOS
      .InstalledApp(somebundle)
      .StartApp();

About profiles also looks like everything is ok.

The thing is - test are running on another device (ipad with ios 9.2) and some time ago were running on current device (from time to time). So that should not be problem with ios version compatibility.

Also tryed to delete folder 'xdb';

Any ideas?

Upvotes: 4

Views: 2439

Answers (2)

Ajay Kopperla
Ajay Kopperla

Reputation: 459

if you have upgraded to latest xcode version 12.0 for ioS 14.0 support then you need to upgrade your xamarin.uitest version also to more than 3.0.10 ( better latest version). Xamarin.UITest prior versions (3.0.5) does not have support to iOS14.

Upvotes: 1

TB14
TB14

Reputation: 307

To get round this I have to navigate to /Var/Folders/ in here one of the sub folders will contain an xdb folder. Delete this and run tests again and it will work.

Upvotes: 6

Related Questions