Open svaldetero opened 1 year ago
Hello, same issue here, 100% the same. Hope to get an idea how to fix it.
Same or similar issue here, I'm building a MAUI for iOS with Firebase Crashlytics. I'm remote building from VS2022 on PC to a mac mini, but the error 13 is the same.
It seems to be looking for the "GoogleService-Info.plist" file in the wrong place (certainly for a MAUI project). And a quick check in the .targets file confirms this.
On the mac, the root build for my project is here:
"/Users/mark/Library/Caches/Xamarin/mtbs/builds/MauiTest/
And this is where it is looking for the plist,
The actual place where the plist is for MAUI appears to be here:
"/Users/mark/Library/Caches/Xamarin/mtbs/builds/MauiTest/
Maybe this is another one of those things that works properly for a standard Xamarin project, but not for MAUI.
As a poor work-around I've duplicated my plist into the root of the project with "MauiAsset" build type and this "fixes" the problem but obviously isn't a great solution.
Same issue.
Hi is there any resolution to this issue ?
Hi is there any resolution to this issue ?
Easiest workaround is just putting it at the root of the project. I've been doing that with all my met net6, net7, and net8 projects.
<ItemGroup Condition="$(TargetFramework.Contains('-ios'))">
<BundleResource Include="GoogleService-Info.plist" Link="GoogleService-Info.plist" />
</ItemGroup>
I have a
net6.0-ios
MAUI application. I have added Crashlytics like this at the bottom of my csproj:However when I do my build in Azure Devops, I get this issue:
That seems to be because of this line: https://github.com/xamarin/GoogleApisForiOSComponents/blob/241842edea9142a5fe86a20f81caedda05dde2e6/source/Firebase/Crashlytics/Crashlytics.targets#L41
How can I specify where the plist is to MSBuild or does it have to be at the root of the MAUI project?