-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DllNotFoundException on MacOS #1308
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
Hi @letuantam96, Thanks for reporting this. Are you facing an alert saying that Firebase cannot be verified when playing the scene? If so, I'd like you to try going to your Mac’s System Preferences > Security & Privacy then Click Allow Anyway corresponding to Firebase. Let me know if this solution made a difference. |
Hi @paulinon,
|
Update: I fixed it. This is what I did:
|
Good to hear that you've resolved the issue, @letuantam96. That being said, I'll be closing this for now. Let me know if any issue arises. |
Unity editor version: 2020.3.25f1
Firebase Unity SDK version: 9.5.0
Source you installed the SDK:
Problematic Firebase Component:
Platform you are using the Unity editor on: MacOS Big Sur version 11.6
Platform you are targeting: iOS
Scripting Runtime: IL2CPP
Hi, my project works well on Window when built for Android. But when I clone it to Mac and open in Editor, it show the bellow error whenever I hit Run:
DllNotFoundException: FirebaseCppApp-9_5_0 Firebase.AppUtilPINVOKE SWIGExceptionHelper..cctor () (at <e689ebc7a3ba409eb3646ba40edd9f94>:0) Rethrow as TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. Firebase.AppUtilPINVOKE..cctor () (at <e689ebc7a3ba409eb3646ba40edd9f94>:0) Rethrow as TypeInitializationException: The type initializer for 'Firebase.AppUtilPINVOKE' threw an exception. Firebase.AppUtil.SetLogFunction (Firebase.LogUtil LogMessageDelegate arg0) (at <e689ebc7a3ba409eb3646ba40edd9f94>:0) Firebase.LogUtil..ctor () (at <e689ebc7a3ba409eb3646ba40edd9f94>:0) Firebase.LogUtil..cctor () (at <e689ebc7a3ba409eb3646ba40edd9f94>:0) Rethrow as TypeInitializationException: The type initializer for 'Firebase.LogUtil' threw an exception. Firebase.FirebaseApp..cctor () (at <e689ebc7a3ba409eb3646ba40edd9f94>:0) Rethrow as TypeInitializationException: The type initializer for 'Firebase.FirebaseApp' threw an exception. FirebaseManager.Setup () (at Assets/Scripts/FirebaseManager.cs:15) TrackingManager.Setup () (at Assets/Scripts/TrackingManager.cs:14) GameManager <Start>d__18.MoveNext () (at Assets/Scripts/Core/GameManager.cs:31) UnityEngine.Debug:LogException(Exception) Cysharp.Threading.Tasks.UniTaskScheduler:PublishUnobservedTaskException(Exception) (at Assets/Third Party Packages/UniTask/Runtime/UniTaskScheduler.cs:90) Cysharp.Threading.Tasks.ExceptionResultSource:Finalize() (at Assets/Third Party Packages/UniTask/Runtime/UniTask.Factory.cs:233)
The code that fire that error:
Firebase.FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(task => { });
Please help fix this. Thank you!!
The text was updated successfully, but these errors were encountered: