AdamEssenmacher / GoogleApisForiOSComponents

A community-supported fork of the abandoned Xamarin.iOS.* binding libraries from Microsoft
MIT License
40 stars 7 forks source link

[Collaboration and Question] About the updated Firebase iOS Bindings #5

Closed vhugogarcia closed 2 months ago

vhugogarcia commented 2 months ago

Hello @AdamEssenmacher , first, I would like to thank you for your effort to help us with the Firebase Bindings, really appreciate it.

I would like also to collaborate by updating the Plugin.Firebase from our friend Tobias, in fact I went ahead and updated the projects to use the latest version from your packages. You can find the updates here: https://github.com/vhugogarcia/Plugin.Firebase/tree/feature/packages-ios-upgrade

However, when trying to run a sample app to run some tests, I found that when building the iOS project, it returns the following error and warnings:

image

I have set the mtouch arguments as you mentioned it on the README.

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-ios|AnyCPU'">
      <MtouchLink>None</MtouchLink>
      <CreatePackage>false</CreatePackage>
      <MtouchExtraArgs>--gcc_flags -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/</MtouchExtraArgs>
    </PropertyGroup>

    <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-ios|AnyCPU'">
      <CreatePackage>false</CreatePackage>
      <RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
      <CodesignProvision>App Distribution</CodesignProvision>
      <CodesignKey>iPhone Distribution</CodesignKey>
      <CodesignEntitlements>Platforms\iOS\Entitlements.plist</CodesignEntitlements>
      <MtouchLink>SdkOnly</MtouchLink>
      <MtouchUseLlvm>true</MtouchUseLlvm>
      <MtouchExtraArgs>--gcc_flags -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos</MtouchExtraArgs>
    </PropertyGroup>

do you know if I'm missing something on my side?

Thanks in advance

AdamEssenmacher commented 2 months ago

Wow, thanks for being proactive!

I'm a collaborator over at Plugin.Firebase, and Tobias and I already have this planned. I'm working on it now.

That said, I'm focusing on the features that I personally rely on, as I can validate the updates naturally without going too far out of my way. At the moment, notable exclusions are:

If you're using any of these, I could use help testing them out.

I can also use help validating / testing these packages generally too :-)