GoogleApisForiOSComponents icon indicating copy to clipboard operation
GoogleApisForiOSComponents copied to clipboard

[Urgent] Xamarin Firebase iOS CloudMessaging throws AndroidFixManifests, XamarinDownloadArchives, Could not find 7zip.exe Error while Building Sln

Open sweekar7 opened this issue 2 years ago • 1 comments

Xamarin Firebase iOS CloudMessaging has a minimum dependency on package Xamarin.Build.Download (>= 0.11.0) Xamarin.Build.Download v0.11.0 has issues with AndroidFixManifests, XamarinDownloadArchives, 7zip.exe and while building the Xamarin.Forms project, throws following errors

..\packages\xamarin.build.download*0.11.0*\buildTransitive\Xamarin.Build.Download.targets(52,3): error : Could not find 7zip.exe in Xamarin installation [MyProject.iOS.csproj]

../packages/xamarin.build.download/0.11.0/buildTransitive/Xamarin.Build.Download.targets(60,4): error MSB4064: The "AndroidFixManifests" parameter is not supported by the "XamarinDownloadArchives" task loaded from assembly: Xamarin.Build.Download, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from the path: ../packages/xamarin.build.download/0.11.3/buildTransitive/Xamarin.Build.Download.dll. Verify that the parameter exists on the task, the <UsingTask> points to the correct assembly, and it is a settable public instance property. [MyProject.iOS.csproj]

../packages/xamarin.build.download/0.11.0/buildTransitive/Xamarin.Build.Download.targets(52,3): error MSB4063: The "XamarinDownloadArchives" task could not be initialized with its input parameters. [Myproject.iOS.csproj]

If minimum dependency of Xamarin.Build.Download package is upgraded to v0.11.3 these issues will be resolved

sweekar7 avatar Dec 06 '22 07:12 sweekar7

Same issue here. Pretty sure it throws on PCL project, as I get this error after installing Firebase.CloudMessaging on android project, before installing iOS package. Confirming the solution. It also worked in my case

Perry89 avatar Dec 11 '22 17:12 Perry89