How to solve remoting error 409 xamarin iOS - ios

Setup: MacBook Pro with VMWare running Win8. Using Visual Studio 2012.
Coming back to iOS development, I tried to just get a basic template test app (click me app) running to make sure everything is working, but during the deployment process (either simulator or device), I receive the following error in the output window:
Saying hello to the remote server at http ://172.16.58.1:50754/
C:\Program Files
(x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(139,3):
error : The remote server returned an error: (409) Conflict.
[C:\Users\Ramsay\Documents\Visual Studio
2012\Projects\HelloWorld_App3\HelloWorld_App3\HelloWorld_App3.csproj]
C:\Program Files
(x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(139,3):
error : Failed to retrieve info from the build server
[C:\Users\Ramsay\Documents\Visual Studio
2012\Projects\HelloWorld_App3\HelloWorld_App3\HelloWorld_App3.csproj]
C:\Program Files
(x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(139,3):
error : [C:\Users\Ramsay\Documents\Visual Studio
2012\Projects\HelloWorld_App3\HelloWorld_App3\HelloWorld_App3.csproj]
C:\Program Files
(x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(139,3):
error : Remote build step failed. [C:\Users\Ramsay\Documents\Visual
Studio
2012\Projects\HelloWorld_App3\HelloWorld_App3\HelloWorld_App3.csproj]
Done Building Project "C:\Users\Ramsay\Documents\Visual Studio
2012\Projects\HelloWorld_App3\HelloWorld_App3\HelloWorld_App3.csproj"
(_RemoteBuild target(s)) -- FAILED.
Build FAILED.
Could not find any more information about this problem. I would appreciate any assistance on this matter.

Related

Error running hotrestart: 'An unexpected error occurred and the process has been terminated'

HotRestart has been working fine but it has been awhile since I tried it. I have upgraded Visual Studio 2019 to 16.7.3 latest version. Since it is running the signing command, I would think there is an issue with signing the iOS application and deploying to my iPad device which has worked fine in the past. How do I determine exactly what is failing and how to fix the issue?
Error running hotrestart: 'An unexpected error occurred and the process has been terminated'.
Command: 'sign
-i="C:\Users\orgbr\AppData\Local\Temp\Xamarin\HotRestart\Bundles\16.7.000.440\fcf6121cf34b44a6384edbf0e75e37ea\HealthManager.iOS.app"
-p="C:\Users\orgbr\AppData\Local\Xamarin\iOS\Provisioning\Profiles\a522c89e-17b8-4139-82de-b73df3481e99.mobileprovision"
-c="C:\Users\orgbr\AppData\Local\Xamarin\iOS\Provisioning\Certificates\3328C25D55251B30.p12"
-pk="CFBundleIdentifier" -pv="com.orgbrat.HealthManager" -w="43535a82-2b8a-4726-9445-41ca58f4e1ce"'
HealthManager.iOS
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Local.targets 300

Error HE0046. Rider fails to install iOS app

When trying to debug an iOS application in Rider (macOS) I get this error message in the run window.
error HE0046: Failed to install the app 'com.company.name' on the device 'iOS 13.5 (17F61) - iPhone 8': Failed to install the requested application
If I switch to Visual Studio it works fine. I am unable to find any more information regarding this error or why it is occuring. Anyone know why this might be happening?
One of possible ways to understand what is going on during deploy - read msbuild logs.
Go to Rider Preferences: Preferences | Build, Execution, Deployment | Toolset and Build and enable this logs there:
Then deploy the app and go to this folder and read msbuild logs. Probably there is a specific error there.
Also you can compare these logs to visual studio log. Anyway anytime you can fire an issue in Rider issue tracker:
https://youtrack.jetbrains.com/newIssue?project=Rider
I fixed my issue by re cloning my repo.

cordova visual studio ios build

Hello I am trying to build my app on Mac but always get same error.
Error: An error occurred uploading to the build server
https://xxx.xxx.x.x:3000/cordova: Error: certificate is not yet
valid myAppp 1 Build
I wrote remotebuild start to command line on mac ant it is listening port 3000, What can I do to solve problem ?

DEP6701 : Bootstrapping failed with unexpected error: 'DEP6960

I am working on UWP app, while deploying coming error : DEP6701 : Bootstrapping failed with unexpected error: 'DEP6960 : Source file does not exist:
C:\Program Files (x86)\Common Files\Microsoft Shared\Phone Tools\14.0\Debugger\target\armv4i\msvsmon.exe'
I am using Visual studio 2015, Raspberry pi 3, Windows 10 core installed in Raspberry pi.
It seems related compatibility issues.
Visual Studio 2015(Enterprise, Professional, Community) is supported "Build only" on Windows 7 for UWP development.
You can check Visual Studio 2015 Platform Targeting and Compatibility.

Visual Studio Cordova, building iOS package via remote agent issues

We've been building a mobile application in Visual Studid Community 2015 using the Cordova platform with the aim to publish to Android and iOS.
Android we have no issues with but want to submit the app to Apple. The problem is that we tried setting up a remote agent the last couple of days but have ran into a brick wall.
On our Macbook Pro we've installed node latest version as we are running Cordova CLI 5.4.1. Also we've installed xCode latest version. Signed up for Apple's developer program, created a distribution profile, got our certificate etc. In other words we've ticked all the boxes.
Now the issue is once we try running the remote agent and trying to connect remotely via Visual Studio to our Mac to submit to the Apple store. If we use remote agent we get the follwoing 404 error in Mac's terminal:
GET /certs/{pin number} 200 12ms - 3.49kb
GET /modules/taco-remote 404 3ms
And in Visual Studio the following pop up:
Unable to connect to remote iOS build server. Underlying exception:
The remote server returned an error: (404) not found.
If we try to use remotebuild we get an error "error parsing JSON remotebuild.config".
We've tried finding documentation or information on either of these but everything just points back to: http://taco.visualstudio.com/en-us/docs/ios-guide/ for remote build or Visual Studio's pages on how to install and run remote agent.
We've followed those steps 10 times but just keep on getting the same error. If we try from another computer's Visual Studio we get an error "Could not resolve host" though the host name is definitely correct.
We are using Visual Studio Community 2015.
Any ideas?

Resources