How do I fix "MessagingRemoteException: An error occurred on client Build1758030 while executing a reply for topic xvs/build/17.5.8030/execute-task/{AppName}/7281a93002fReadItemsFromFile" during iOS MAUI App bundle distribution?

Robert Heffernan 10 Reputation points
2024-09-20T03:47:38.8466667+00:00

Trying to publish my iOS application is giving me the following error no matter what I do, and I have already burned DAYS trying to resolve it.

I can build the project fine, it runs in the simulator no issues. and I have previously built a testflight release successfully.

Can anyone point me in the right direction please?

Begining distribution, 20/09/2024 1:37:34 PM
Channel: Ad Hoc
App Bundle Id: com.webmatrix.ropeaccess, Version: 1.51
Publishing to 'C:\Users\Robert Heffernan\AppData\Local\Xamarin\iOS\Archives\RopeAccess.ipa'
SetSelectedDeviceAsync BEST Remote Device
Build properties for E:\RopeAccess\RopeAccess.iOS\RopeAccess.iOS.csproj: VisualStudioProcessId: 57000, SolutionPath: E:\RopeAccess\RopeAccessMaui.sln, SolutionName: RopeAccessMaui, RunConfiguration: Default, ArchiveOnBuild: False, ArchivePath: , IsAppDistribution: False, DeviceSpecificBuild: false, TargetiOSDevice: , _iOSRuntimeIdentifier: ios-arm64, IsHotRestartBuild: False, MessagingVersion: 17.5.8030, _DotNetRootRemoteDirectory: /Users/webmatrix\Library\Caches\Xamarin\XMA\SDKs\dotnet/, DotNetRuntimePath: /Users/webmatrix/Library/Caches/Xamarin/XMA/Runtimes/dotnet/dotnet, ServerSshPort: 22, ServerTcpPort: 51044, ServerUser: webmatrix, ContinueOnDisconnected: False, ServerAddress: 10.1.0.85
Build properties for E:\RopeAccess\RopeAccess.iOS\RopeAccess.iOS.csproj: VisualStudioProcessId: 57000, SolutionPath: E:\RopeAccess\RopeAccessMaui.sln, SolutionName: RopeAccessMaui, RunConfiguration: Default, ArchiveOnBuild: False, ArchivePath: , IsAppDistribution: False, DeviceSpecificBuild: false, TargetiOSDevice: , _iOSRuntimeIdentifier: ios-arm64, IsHotRestartBuild: False, MessagingVersion: 17.5.8030, _DotNetRootRemoteDirectory: /Users/webmatrix\Library\Caches\Xamarin\XMA\SDKs\dotnet/, DotNetRuntimePath: /Users/webmatrix/Library/Caches/Xamarin/XMA/Runtimes/dotnet/dotnet, ServerSshPort: 22, ServerTcpPort: 51044, ServerUser: webmatrix, ContinueOnDisconnected: False, ServerAddress: 10.1.0.85
Could not create ipa file for distribution of the archive 'RopeAccess'
MessagingRemoteException: An error occurred on client Build1758030 while executing a reply for topic xvs/build/17.5.8030/execute-task/{AppName}/7281a93002fReadItemsFromFile
ArgumentNullException: Value cannot be null.
Parameter name: path2

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,514 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.