CrossGeeks / FacebookClientPlugin

Facebook Client Plugin for Xamarin iOS and Android
MIT License
106 stars 32 forks source link

Cannot create an IOS archive... The specified path, file name, or both are too long. #105

Open DavidLBrandt opened 2 years ago

DavidLBrandt commented 2 years ago

I am working on an update to a Xamarin.Forms app In Visual Studio Community 2022 on a Windows 11 Pro machine.

I receive the following error when I try to archive the iOS project for distribution:

Cannot create an IOS archive 'XXXXXXXX.iOS'. Process cannot be executed on XMA server.
There was an error unzipping the file C:\VSArchives\2022-04-13\31a2aedc.zip: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

I have been working on this for almost a week and need a new vector of attack. Please share if you have any suggestions.

Things I have tried already (separately and combined):

The archiving error began when I implemented Facebook Login using the Plugin.FacebookClient, which btw worked great except for this. When I remove this NuGet package and rem out the dependent code my solution archives again.

A zip file is being created in my archives folder on my local machine (which I can unzip without issue), and the error message say the problem is unzipping on the XMA server. Does this suggest another way to address the issue?

Thank you!