ERROR
Cannot create IOS archive 'MyIosProject'. Process cannot be executed on XMA server. There was an error unzipping the file C:\Users\myusername\AppData\Local\Xamarin\iOS\Archives\2020-04-08\ac002825.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.
WHAT I HAVE TRIED SO FAR
- Enable long file name support in Windows 10 Start the registry editor (regedit.exe) Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem. Double click LongPathsEnabled. Set to 1 and click OK. Reboot.
- Hit the Windows key, type gpedit.msc and press Enter. Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem > NTFS. Double click the Enable NTFS long paths option and enable it. If you're using a version of Windows that does not provide access to Group Policy, you can edit the registry instead. Reboot.
- Add this to your .csproj file:
<PropertyGroup><UseShortFileNames>True</UseShortFileNames></PropertyGroup>
None of the above solved my issue.
