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.
<BundleResource Include="Platforms\iOS\GoogleService-Info.Dev.plist" Condition=" '$(Configuration)' == 'Dev' ">
<Link>GoogleService-Info.plist</Link>
</BundleResource>
my temporary workaround was ↓, any fix required for the maui project?
set '$(MSBuildProjectDirectory)\GoogleService-Info.plist' to '$(MSBuildProjectDirectory)\Platforms\iOS\GoogleService-Info.plist'
|
<Exec Command="'$(_FirebaseCrashlyticsSDKBaseFolder)$(_FirebaseScriptName)' -gsp '$(MSBuildProjectDirectory)\GoogleService-Info.plist' -p ios '$(MSBuildProjectDirectory)\$(DeviceSpecificOutputPath)$(AssemblyName).app.dSYM'" |
|
ContinueOnError="$(_FirebaseCrashlyticsUploadSymbolsContinueOnError)" /> |
Error:
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-arm64then 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'GoogleApisForiOSComponents/source/Firebase/Crashlytics/Crashlytics.targets
Lines 41 to 42 in c7ae591
Error: