I am developing a .NET MAUI application for iOS that requires push notifications. As far as I can tell, Firebase Cloud Messaging is the standard way to accomplish this. All of the NuGet packages I have tried to install for Cloud Messaging have given me the following error message:
Could not find a part of the path C:\Users\user.nuget\packages\xamarin.firebase.ios.installations\22.214.171.124\lib\net6.0-ios15.4\Firebase.Installations.resources\FirebaseInstallations.xcframework\ios-arm64_x86_64-simulator\FirebaseInstallations.framework\Headers\FirebaseInstallations-umbrella.h'.
As far as I can tell, this is the result of a file path longer than NuGet's 260 character limit. How can I circumvent this limitation? Has anyone successfully implemented a push notification solution in MAUI on iOS?
I have tried increasing the maximum path length as described here. No change. As far as I can tell, Visual Studio uses its own version of NuGet that ignores this.
I have tried using
dotnet add package in the project directory using PowerShell. This appears to install the package, but Visual studio does not appear to recognize that the package is installed when I attempt to build.