Unable to archive Xamarin iOS app via remote Mac - Unable to install the Agent 'Build 16.9.000.273'

bjones787 1 Reputation point
2021-05-06T15:32:06.477+00:00

Hi,

I've started having an issue in the last few days that's preventing us being able to create an iOS archive for deployment. We use VS2019 on windows and use a macincloud server for our building.

Below is what the Xamarin output shows,

Checking host configuration for connecting to '##'...
Checking SSH configuration...
Initializing environment...
Checking available disk space...
Checking Mono installation...
Checking Xamarin iOS installation...
Checking host configuration for connecting to '####'...
Host '##' is configured correctly
Starting connection to '####'...
Checking Broker 16.9.000.273 installation...
Starting Broker 16.9.000.273 in port 57722...
Broker 16.9.000.273 started successfully
Starting connection to '####'...
SSH connection to '##' has been established...
Starting registered Agents: IDB 16.9.000.273...
Starting IDB 16.9.000.273...
Checking IDB 16.9.000.273 installation...
Starting IDB 16.9.000.273 in port 57722...
IDB 16.9.000.273 started successfully
IDB 16.9.000.273 started
Starting registered Agents: ...
The Agents have been started successfully
Performing server validations against '##'...
Initializing IDB environment...
Validating Mac operating system version compatibility...
Checking Xcode version compatibility...
Validating Xcode license state...
Verifying installed Xcode tools...
Checking Xcode tool package 'MobileDeviceDevelopment.pkg' installation...
Updating Xcode tool package 'MobileDeviceDevelopment.pkg'...
Could not update Xcode tool package 'MobileDeviceDevelopment.pkg'
Checking Xcode tool package 'CoreTypes.pkg' installation...
Xcode tool package 'CoreTypes.pkg' is up to date
Checking Xcode tool package 'MobileDevice.pkg' installation...
Xcode tool package 'MobileDevice.pkg' is up to date
Checking Xcode tool package 'XcodeSystemResources.pkg' installation...
Xcode tool package 'XcodeSystemResources.pkg' is up to date
Checking provisioning information...
Performing server validations against '##'...
Connection to '##' completed successfully
Archiving App Bundle '##'...
Checking Build 16.9.000.273 installation...
Installing Build 16.9.000.273...
Unable to install the Agent 'Build 16.9.000.273'
Checking Build 16.9.000.273 installation...
Installing Build 16.9.000.273...
Unable to install the Agent 'Build 16.9.000.273'
Checking Build 16.9.000.273 installation...
Installing Build 16.9.000.273...
Unable to install the Agent 'Build 16.9.000.273'
Checking Build 16.9.000.273 installation...
Installing Build 16.9.000.273...
Cannot create an IOS archive '##'. Process cannot be executed on XMA server.
Unable to connect to Mac Server with Address='##' and User='##'. The build can't continue without a connection

Failed to create App archive '##'.
Unable to install the Agent 'Build 16.9.000.273'

At this point VS is connected to the Mac, and we can perform builds successfully, it's just the archiving process that seemingly can't establish a connection.

Has anyone any ideas?

Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,237 questions
{count} votes