Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

Could not copy ...\xamarin.firebase.ios.installations\... #639

Open

Description

Just wondering if it's on the radar to fix this long running problem sometime? It's causing absolute havoc. Need to shorten those names!

Happens as soon as you bring this into a Visual Studio Maui project.

Could not copy "C:\Ws_ng\xamarin.firebase.ios.installations\8.10.0.3\lib\net6.0-ios15.4\Firebase.Installations.resources\FirebaseInstallations.xcframework\ios-arm64_x86_64-simulator\FirebaseInstallations.framework\Headers\FIRInstallationsAuthTokenResult.h" to "C:\Users\WILLIA~1.BUC\AppData\Local\Temp\Xamarin\HotRestart\Signing\PDS.App.PDSX.app\out\PDS.App.PDSX.content\Firebase.Installations.resources\FirebaseInstallations.xcframework\ios-arm64_x86_64-simulator\FirebaseInstallations.framework\Headers\FIRInstallationsAuthTokenResult.h". Exceeded retry count of 10. Failed.
13>C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk\16.4.7125\tools\msbuild\iOS\Xamarin.iOS.HotRestart.targets(264,3): error MSB3021:

Activity

  1. IeuanWalker commented on Dec 13, 2023

    @IeuanWalker

    +1 also experiencing this

  2. johnhydemtm365 commented on Dec 21, 2023

    @johnhydemtm365

    +1 Experiencing this

  3. ericgrantholland commented on Jan 8, 2024

    @ericgrantholland

    +1 Experiencing this

  4. coop-tim commented on Jan 11, 2024

    @coop-tim

    After struggling with this myself for multiple days and slogging through misleading errors, fiddly/brittle config and red herring warnings, I thought it best to give back a working solution to the community.

    This repo contains a fairly minimal working .NET 8 project targeting iOS and Android with Firebase Cloud Messaging, Analytics and the relevant build pipelines to get them built and pushed into App Center.

    https://github.com/coop-tim/maui-sample

    Hoping this helps whilst the root issues are worked on.

  5. rjhind commented on Jan 11, 2024

    @rjhind

    Have you had any luck with Crashlytics? Since .Net 8, I'm not seeing any reports from iOS. Android working fine and iOS will report to AppCenter.

  6. coop-tim commented on Jan 11, 2024

    @coop-tim

    Have you had any luck with Crashlytics? Since .Net 8, I'm not seeing any reports from iOS. Android working fine and iOS will report to AppCenter.

    I haven't tried, sorry

  7. Quaybe commented on Feb 27, 2024

    @Quaybe

    It's unreal that this is even an issue. I'm experiencing this issue right now. Windows 10, latest version of .NET 8, Visual Studio, etc etc. Extremely frustrated. Nothing has helped.

  8. DerSeegler commented on Mar 20, 2024

    @DerSeegler

    I had this issue, and it seems to have to do with the windows max path length.
    So was able to fix this by moving the Nuget directory to C:/nuget. To do this add this path as a system environment variable under the name NUGET_PACKAGES.

  9. Quaybe commented on Mar 20, 2024

    @Quaybe

    I had this issue, and it seems to have to do with the windows max path length. So was able to fix this by moving the Nuget directory to C:/nuget. To do this add this path as a system environment variable under the name NUGET_PACKAGES.

    I've done this. My nuget path is C:\n. Still, the names are too long for some of the packages.

  10. williambuchanan2 commented on Mar 20, 2024

    @williambuchanan2
    Author

    I had this issue, and it seems to have to do with the windows max path length. So was able to fix this by moving the Nuget directory to C:/nuget. To do this add this path as a system environment variable under the name NUGET_PACKAGES.

    I've done this. My nuget path is C:\n. Still, the names are too long for some of the packages.

    I did the same and have the same problem. It works when deploying to Android but if I try to do an iOS build this problem comes back. I guess the paths for iOS build must be longer.

    I have also turned on the 'long paths' setting in Windows but still happens.

  11. mizuhs commented on Mar 23, 2024

    @mizuhs

    +1 experiencing this

    I wish you gentlemen good luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions