Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Xamarin UITest ios :App launches & show Unable to contact test backend" Calabash not properly linked

ReshmaReshma Member ✭✭
edited September 2019 in Xamarin.iOS

On running ui test, app launches and throws exception:

return ConfigureApp
.iOS
.InstalledApp("com..")
.StartApp();

System.Exception has been thrown
Unable to contact test backend running in app. A common cause is that the app is not properly linked with Calabash. Please verify that it includes the Calabash component.

visual studio version: 8.3
mac version: 10.14.6
xamarin ui test: 3.0.4-dev1
ios device version: 12.4
(test-cloud.exe is included in xamarin ui test)

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    Have you added the UITest Nuget in your iOS project?
    Secondly, Have you called Xamarin.Calabash.Start(); in the iOS project:
    https://docs.microsoft.com/en-us/appcenter/test-cloud/uitest/get-started-xamarin-forms#ios-application-project

  • Imran_619Imran_619 Member ✭✭✭

    Having this same issue. Able to launch the simulator manually with no issues in VS for Mac but when launching a UITest VS displays the following:
    SetUp : System.Exception : Unable to determine simulator version for 'X'

    Visual Studio Enterprise 2019 for Mac
    Version 8.0 (build 3001)
    Xamarin.iOS
    Version: 12.6.0.25 (Visual Studio Enterprise)
    Operating System
    Mac OS X 10.14.4
    Xcode
    Version 10.2 (10E125)

    For more information on mobile app development you can visit ArStudioz

Sign In or Register to comment.