You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on May 1, 2024. It is now read-only.
Could not copy ...\xamarin.firebase.ios.installations\... #639
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:
Reacted by vannomad, Leclercq David, Ieuan Walker, coop-tim, LeRoy Gumede, Johannes Riedmann, Connex-CoPilot-2, Akram AlQaifi, Arnau, Quaybe and 2 more
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.
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.
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 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 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.
Activity
IeuanWalker commentedon Dec 13, 2023
+1 also experiencing this
johnhydemtm365 commentedon Dec 21, 2023
+1 Experiencing this
ericgrantholland commentedon Jan 8, 2024
+1 Experiencing this
coop-tim commentedon Jan 11, 2024
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.
rjhind commentedon Jan 11, 2024
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.
coop-tim commentedon Jan 11, 2024
I haven't tried, sorry
Quaybe commentedon Feb 27, 2024
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.
DerSeegler commentedon Mar 20, 2024
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 nameNUGET_PACKAGES.Quaybe commentedon Mar 20, 2024
I've done this. My nuget path is C:\n. Still, the names are too long for some of the packages.
williambuchanan2 commentedon Mar 20, 2024
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.
mizuhs commentedon Mar 23, 2024
+1 experiencing this
I wish you gentlemen good luck