Xamarin UI Test connection reset by peer - xamarin

I've been having lots of trouble running Xamarin UITest on iOS 11+ devices.
...
return ConfigureApp
.iOS
.Debug()
.InstalledApp("com.my.packageidentifier")
.StartApp(AppDataMode.Clear);
...
gives the error...
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.IO.IOException : Unable to read data from the transport connection: Connection reset by peer.
----> System.Net.Sockets.SocketException : Connection reset by peer
and......
System.Exception : IDE failed to deploy app: Build failed
My dev environment is pretty up to date...
Xamarin.UITest (3.0.2)
Xamarin.iOS (12.14.0.110)
Visual Studio 2019 (Mac)
Has anyone run into these errors for iOS 11.x devices and know how to resolve them?
Here is the stacktrace from the first error, which is more common....

Updating xamarin UI test package after updating your visual studio might resolve your problem.
see https://www.nuget.org/packages/Xamarin.UITest/

Related

Deploying from Visual Studio to Hololens 2 Emulator works fine, but I can't deploy to the device itself via USB

When I try to deploy my Unity project to my HoloLens 2, deployment fails with the following message: "DEP6957: Failed to connect to device '127.0.0.1' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. COMException - No connection could be made because the target machine actively refused it. (Exception from HRESULT: 0x8007274D) [0x8007274D]"
It looks like something is wrong in the project properties because the properties window is showing
Windows 10 as target platform. I've tried deploying using Release, Master, and Debug in all combinations with x64 and ARM 64. This is a Unity project which is being built with the following settings for Build Settings under Universal Windows Platform:
Target Device: HoloLens
Architecture: x64
Build Type: D3D Project
Build and Run on: USB Device
Build configuration: Release
Thank you!

Emulator: emulator: WARNING: UpdateCheck: Failure: Error on android studio

I am facing the "Emulator: emulator: WARNING: UpdateCheck: Failure: Error" when run the emulator after updating my android studio 3.0.1 but it was working fine with previous version.Also I observed that it is working now with low API level(kitakt:19).
For the future record, I had a similar issue right after I updated the SDK constraints. I just deleted all of my emulators and created a new one.

Getting Unknown Build error in Visual Studio for Mac

While trying to build a Xamarin.ios project, it gives me Unknown Build Error, for iPhone Device.
While Building for Simulator it builds fine.
The Error i get is somrthing like below.
Error: /Users/admin/Documents/projectdirectory/AppName.app: unknown error -1=ffffffffffffffff
I am using latest Xamarin and Xcode, and MVVM crosslight.
Please help in resolving.
The issue was with certificate. The app was not able to build properly as it wasn't able to find the certificate.
the issue got resolved by just restarting the machine.

Debug iOS Apps - Kony Studio - failed to get tabs for debugging connection refused kony

trying to debug iOS Kony projects using Kony studio, have created a new cofiguration according to the tutorial from Kony bootcamp, I am not able to run the project in debug mode, I am getting the below error messages. Attached is the screen shots for reference.
error message :- Failed to get tabs for debugging connection refused
Thanks
Do the below,
first build the project.
Then open the iOS emulator from the studio, by double click on iPhone, this will fire up the xCode project ( make sure xcode is installed )
Run the project from xCode by choosing debug option from the drop down in xCode, using any simulator like iPhone, this will launch the app in the simulator with alert showing to enter the debugger host port. ( i gave the port as 9222 )
click on start and then you will see message as waiting for Kony studio to connect.
Now go back to your Kony studio and right click on the project and debug as iOS application, ( make sure you have configure a configuration in studio and ip address and port matches the same with iOS simulator details ) doing this will launch in debug mode and you will be able to add break points wherever required.

Xamarin Tasky sample deployment failed

I am trying to run Tasky sample from Xamarin for Android emulator, using VS2013.
It gives the deployment failed error at the end. How to know what caused it?
Try these suggestions
Unable to run Android Emulator
Check out the logs section to see what the actual error is.

Resources