Closed rezamohamed closed 5 months ago
You're attempting to follow the steps necessary to build and package the AdamE.Firebase.iOS.* packages on which version 3.0.0 of this plugin references as dependencies.
To use this plugin, you should simply reference the nuget packages for the features you need and follow the setup instructions in this project's README.
I did follow the steps here, in this projects README, it says to refer your README:
That being said, when I just add the three nugets I need, Auth, Firestore and Storage v3, and Build/Run on iOS Simulator on a Mac machine, the build fails with the following error message (also in the initial post)
The instructions you should follow are currently within the "Fork notes" section of the readme.
The Building section is unchanged from the state Microsoft left it in and contains the instructions for building the binding packages.
Please try installing the Installations package.
Thank you for this, I had to run 'dotnet add package AdamE.Firebase.iOS.Installations --version 10.24.0' after I installed the plugins (auth, firestore, storage). This was not documented on the usage instructions here so I had missed that.
During the build/run I get the following message in the build output. Is this something I need to be concerned about?
10.24.0 - [FirebaseSessions][I-SES000000] Sessions SDK did not have any dependent SDKs register as dependencies. Events will not be sent.
During the build/run I get the following message in the build output. Is this something I need to be concerned about?
I don't think so.
I went ahead and removed the older versions of the plugins and moved to the 3.0 version. I am not following the setup requirements from Adam's Repo.
(1) I removed the older plugins, removed Xamarin.Firebase.ios.core (2) updated Nuget to the 3.0 version, specifically Auth, Firestore, and Storage (these are the only three I am using) (3) From Adam's Repo, I installed Home Brew, then executed this command 'dotnet tool install -g cake.tool --version 0.38.5' (4) Ignored the Analytics and Crashlytics pieces cause I am not using them (5) Added dotnet tools to $PATH in the Mac (6) Ran the 'brew install cocoapods'
And this is where I am unsure of the next step since I don't have a build.cake file to run 'dotnet cake' in my project.
Could you provide some clarity on the usage requirements for 3.0 in a Mac, and also in Windows please?
The build error I am getting in Mac is: "dyld[77415]: Library not loaded: @rpath/FirebaseInstallations.framework/FirebaseInstallations"
Further, I tried just downloading the code here and follow the steps. I had to update global.json .net version to 8.0.300 since that's what I was using. However, when executing 'dotnet cake' I get the following error after Externals:
[!] CocoaPods could not find compatible versions for pod "FirebaseCore": In Podfile: Firebase/Performance (= 8.10.0) was resolved to 8.10.0, which depends on Firebase/CoreOnly (= 8.10.0) was resolved to 8.10.0, which depends on FirebaseCore (= 8.10.0)