Problem building iOS IPA file

Daniel Manchester 86 Reputation points
2023-06-26T01:17:29.5733333+00:00

After upgrading my Xcode to 14.3.1 I am now unable to build my IPA from windows. Using VS 17.6.4 I get the following error when from building with CLI.

C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk\16.4.7067\tools\msbuild\iOS\Xamarin.iOS.Common.After.targets(321,3): error : MessagingRemoteException: An

error occurred on client Build190102 while executing a reply for topic xvs/build/1.9.0.102/execute-task/ChronicleMobileApp/cf2f0fc002fFindILLink [C:\Users\Danie\D

ocuments\GitHub VS\MAUI\Mobile\ChronicleMobile\ChronicleMobileApp\ChronicleMobileApp.csproj::TargetFramework=net7.0-iOS]

C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk\16.4.7067\tools\msbuild\iOS\Xamarin.iOS.Common.After.targets(321,3): error : ArgumentException: Task not f

ound for 'Xamarin.MacDev.Tasks.FindILLink' (Parameter 'taskName') [C:\Users\Danie\Documents\GitHub VS\MAUI\Mobile\ChronicleMobile\ChronicleMobileApp\ChronicleMobi

leApp.csproj::TargetFramework=net7.0-iOS]

Thanks for your help

Developer technologies .NET .NET MAUI
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2023-06-27T01:26:01.6233333+00:00

    Hello,

    Please clean the bin/obj folder and remove the build cache on both your Windows machine and Mac.

    Detailed steps: You could try to clean the XMA and mtbs folder. And you should pair to mac again after you remove the XMA folder. Please see Clearing the Broker, IDB, Build, and Designer Agents on the Mac (This doc is about Xamarin, it applies for MAUI)

    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

0 additional answers

Sort by: Most helpful

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.