Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] PrivacyInfo.xcprivacy not found #92

Closed
Roccosco opened this issue Nov 19, 2024 · 6 comments
Closed

[Bug] PrivacyInfo.xcprivacy not found #92

Roccosco opened this issue Nov 19, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@Roccosco
Copy link

Roccosco commented Nov 19, 2024

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

  • Version with issue: 3.0.17
  • Last known good version: 2.4.22

Screenshots, Attachments, Links

@Roccosco Roccosco added the bug Something isn't working label Nov 19, 2024
@thomasgalliker
Copy link
Owner

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

@Roccosco
Copy link
Author

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

@coderdeluxe21
Copy link

I have the same issue.

Similar setup.

Thanks,
Moz

@thomasgalliker
Copy link
Owner

thomasgalliker commented Nov 21, 2024

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
Copy link
Author

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
Copy link
Author

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 ;(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants