Open williambuchanan2 opened 11 months ago
+1 also experiencing this
+1 Experiencing this
+1 Experiencing this
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.
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.
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
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 nameNUGET_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 nameNUGET_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.
+1 experiencing this
I wish you gentlemen good luck
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: