thomasgalliker / Plugin.FirebasePushNotifications

Receive and handle firebase push notifications in .NET MAUI apps
MIT License
66 stars 5 forks source link

[Bug] PrivacyInfo.xcprivacy not found #92

Open Roccosco opened 1 week ago

Roccosco commented 1 week ago

Description

I'm not able to install the package beacuse of the file PrivacyInfo.xcprivacy cannot be found.

Steps to Reproduc

  1. Create a new .NET 8 MAUI project
  2. Open the PM terminal and type "Install-Package Plugin.FirebasePushNotifications"

Expected Behavior

The plugin should be successfully installed

Actual Behavior

The installation process raises an error: Could not find part of path 'C:\Users\rocch.nuget\packages\adame.firebase.ios.installations\10.29.0.1\lib\net6.0-ios16.1\Firebase.Installations.resources\FirebaseInstallations. xcframework\ios-arm64\FirebaseInstallations.framework\FirebaseInstallations_Privacy.bundle\PrivacyInfo.xcprivacy'.

Basic Information

Screenshots, Attachments, Links

thomasgalliker commented 1 week ago

Thanks for reporting this. What version of Windows (10 or 11) and what version of Visual Studio 2022 do you use?

Roccosco commented 1 week ago

Thank you for your prompt response. Windows 11: 10.0.22631 build 22631 Visual Studio 2022: 17.9.3

coderdeluxe21 commented 1 week ago

I have the same issue.

Similar setup.

Thanks, Moz

thomasgalliker commented 1 week ago

What if you "update" the version directly in the csproj PackageReference and do a dotnet restore outside Visual Studio? I heard of people who got it installed this way. I'm sorry for the troubles. The problem comes from the updated Firebase ios bindings. Maybe you find similar issues here: https://github.com/AdamEssenmacher/GoogleApisForiOSComponents/issues

I'll try to install the nuget on my Windows 10 laptop the next days. Unfortunately (or luckily?) I did not update to Windows 11. I'm working with Rider on macos.

Roccosco commented 6 days ago

I can assume this issue is related to the long path problem in Windows and Visual Studio. I changed the location of the NuGet Package folder, but a new error occured with a even longer path. (more than 256 without the NuGet package folder subpath) ;(

Roccosco commented 6 days ago

What if you "update" the version directly in the csproj PackageReference and do a dotnet restore outside Visual Studio? I heard of people who got it installed this way. I'm sorry for the troubles. The problem comes from the updated Firebase ios bindings. Maybe you find similar issues here: https://github.com/AdamEssenmacher/GoogleApisForiOSComponents/issues

I'll try to install the nuget on my Windows 10 laptop the next days. Unfortunately (or luckily?) I did not update to Windows 11. I'm working with Rider on macos.

Thank you, it worked for me, but I'm not sure it will not raise an error during the archiviation process ;(