I use ↓,to bundle GoogleService-Info.plist under Platforms\iOS\,
But when doing this,
dotnet publish -f net8.0-ios -c Dev -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64
then Xamarin.Firebase.iOS.Crashlytics.targets`s _FirebaseCrashlyticsUploadDSymToFirebaseOnMac will shows that the path of GoogleService-Info.plist was not correctly.
error: Unable to read Google Service plist at path /XXX/GoogleService-Info.plist
/Users/username/.nuget/packages/xamarin.firebase.ios.crashlytics/8.10.0.3/buildTransitive/Xamarin.Firebase.iOS.Crashlytics.targets(41,5): warning MSB3073: 命令“'/Users/username/Library/Caches/XamarinBuildDownload/FCrshlytcs-8.9.1/upload-symbols.sh' -gsp '/XXX/GoogleService-Info.plist' -p ios '/XXX/bin/Dev/net8.0-ios/ios-arm64/AssemblyName.app.dSYM'”已退出,代码为 13。
I use ↓,to bundle GoogleService-Info.plist under Platforms\iOS\, But when doing this,
dotnet publish -f net8.0-ios -c Dev -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64
then Xamarin.Firebase.iOS.Crashlytics.targets`s _FirebaseCrashlyticsUploadDSymToFirebaseOnMac will shows that the path of GoogleService-Info.plist was not correctly.my temporary workaround was ↓, any fix required for the maui project?
set
'$(MSBuildProjectDirectory)\GoogleService-Info.plist'
to'$(MSBuildProjectDirectory)\Platforms\iOS\GoogleService-Info.plist'
https://github.com/xamarin/GoogleApisForiOSComponents/blob/c7ae591364f73a4e61d47d765a1e537bb509422e/source/Firebase/Crashlytics/Crashlytics.targets#L41-L42
Error: