error with auth implementation with unity3d and firebase - firebase

I'm having a little problem. When I try to deploy an unity3d app with the auth sample project from firebase I'm getting this error "error building Player: iOS framework addition failed due to a CocoaPods installation failure" but I have installed cocoapods correctly, I even uninstalled it and reinstalled it. I only get this error with the auth project, not with the database. I tried adding the cocoapods to the project with the terminal using pod init instead of having unity do it but nothing seems to work

From https://github.com/firebase/firebase-ios-sdk/issues/1845#issuecomment-425184012:
We're working on patching the Firebase C++ and Unity releases to migrate them to the 5.9.0 iOS SDK. In the meantime, under Assets/Firebase/Editor/ there are a set of files matching *Dependencies.xml files (e.g AnalyticsDependencies.xml) that reference the iOS SDK version. You'll need to modify the section of each file to reference iOS SDK 5.9.0 rather than 5.6.0.
More details at https://github.com/firebase/firebase-ios-sdk/issues/1845#issuecomment-425184012

Related

Unity macos xcode with app sandbox problem

Unity editor version: 2021.3.17f1 and 2021.3.15f1
Firebase Unity SDK version: 10.4.0
Source you installed the SDK: .unitypackage
Problematic Firebase Component: Auth
Other Firebase Components in use: Firestore
Additional SDKs you are using: -
Platform you are using the Unity editor on: Mac (for mac build) and Windows (for win build)
Platform you are targeting: Macos and Windows (iOS, Android, and/or desktop)
Scripting Runtime: Mono (Mono, and/or IL2CPP)
Pre-built SDK from the website or open-source from this repo: website
I built my Unity project with Firebase for both MacOS and Windows platforms. Both sides are working without any problems, but I want to sign my project on MacOS, so I need to add an app sandbox. After adding the app sandbox, my project crashes at the following line:
Image
source file of this crash is "google-services-desktop.json and google-services.json" if i remove this file by xcode it doesn't crash but firebase is not working.
Image
Image
Image
I moved the "google-services.json" and "google-services-desktop.json" files from within xcode to get them out of appsandbox. This saved my game from crashing but I couldn't access firebase.
i tried with latest xcode version
I didn't intend to upload it to the App Store, which made the app sandbox optional for me. I found that the application can be signed without the app sandbox by using the DeveloperID. I solved the problem by turning off the app sandbox.

How to downgrade firebase in a react-native project

Somehow I updated my firebase version. I think I was using firebase 8 and now its 10.1.0. Since then I started having problems. How can I downgrade firebase in a react native project? From where is thee version 10.1.0 selected? I do not see it in package.json.

How to integrate firebase crashlytics to React Native Project?

I have integrated firebase crashlytics in my react native project. I followed the link https://rnfirebase.io/crashlytics/usage
#react-native-firebase/app was already there in project. I enabled crashlytics from firebase console and updated GoogleService-Info.plist in my project. I installed the crashlytics using
npm i #react-native-firebase/crashlytics
cd ios/ && pod install
I have latest version installed in my project https://www.npmjs.com/package/#react-native-firebase/crashlytics
Firebase crashlytics is not working at all, anyone please let me know the if i am missing something?
Few things to check:
whether your app is connecting properly to firebase, otherwise firebase will not accept GoogleService-Info.plist.
Check GoogleService-Info.plist is correctly configured in Xcode as mentioned on the plugin page.
Remove node_modules folder and reinstall using npm or using yarn

Xamarin Firebase iOS Analytics throwing AOT MTOUCH ERROR MT3001 - Firebase.Analytics.dll

I'm trying to integrate Firebase Analytics to my xamarin forms application. For Xamarin.IOS I'm using Xamarin.Firebase.iOS.Analytics version 5.0.1
And getting the below error while building.
./iOS/MTOUCH: Error MT3001: Could not AOT the assembly '/iOS/obj/iPhone/Debug/mtouch-cache/Build/Firebase.Analytics.dll' (MT3001)
Not able to understand what could go wrong. Is there any configuration changed I have to do.?
Firstly ,make sure that your VS and Xcode are up-to-date. If the issue continue, you can right
click your project ->options->iOS build ->Linker Behavior
set the value as Don’t Link. In addition, delete the folder obj and bin and rebuild your project again.

How to disable iOS part of FCM unity sdk?

Im using the android part of FCM unity SDK for my game, and a standard APNs integrate for iOS platform.
So I want disable the iOS part of FCM unity sdk completely, I removed all the plugins in iOS folder, disabled cocoapod settings, but still got this error
No GoogleService-Info.plist files found in your project.
Finally I just follow the SDK guide download a GoogleService-Info.plist file from firebase console, mute the build error.
I think this is the only way to disable the iOS part currently.

Resources