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 15 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,541 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,976 Reputation points Microsoft Vendor
    2024-10-15T02:21:20.5333333+00:00

    Hello,

    For this issue, you could report a problem with the Visual Studio product.

    As a workaround, you could open Xcode, go to Xcode->Window->Organizer->select the app->Archives, then you can distribute the app or export an ipa file.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

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.