Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin iOS: The post for client build... has been cancelled

I am unable to launch my Xamarin App from visual studio on my PC to the iOS Simulator on a networked Mac.

I am getting the following error:

C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(543,3): warning : The post for client build7148techn on topic xvs/Build/4.2.0.680/execute-task/RFTIOS/5434a49%2FDetectSdkLocations has been cancelled 1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(543,3): warning : The operation was canceled. 1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(543,3): warning : at System.Threading.CancellationToken.ThrowOperationCanceledException() 1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(543,3): warning : at System.Threading.CancellationToken.ThrowIfCancellationRequested() 1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(543,3): warning : at Xamarin.Messaging.Client.MessagingClient.d__23`2.MoveNext() in C:\data\lanes\3513\c4382f51\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 135 1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(543,3): error : The post for client build7148techn on topic xvs/Build/4.2.0.680/execute-task/RFTIOS/5434a49%2FDetectSdkLocations has been cancelled

Does anyone know how I can resolve this error?

like image 570
Rahul Chauhan Avatar asked Oct 05 '16 10:10

Rahul Chauhan


3 Answers

@boulev and tie: I had the same issue today and I can confirm that you only have to restart Visual Studio. That's enough.

like image 144
M. Hartner Avatar answered Nov 13 '22 17:11

M. Hartner


Your "question" is not very descriptive but nevertheless Google got me here. I just got a similar error today. This is what worked for me (not sure if all steps are necessary to fix the issue)

  1. Restart MAC
  2. Restart PC
  3. Remove bin and obj folder under the project folder
  4. Clean the project (in Visual Studio)
  5. Rebuild
like image 14
boulev Avatar answered Nov 13 '22 16:11

boulev


I kept getting this error and it turns out that on the mac I was paired to was asking if i would like to allow something. I simply had to say yes and type in my mac password.

like image 1
Josiah Lauby Avatar answered Nov 13 '22 16:11

Josiah Lauby