-
Notifications
You must be signed in to change notification settings - Fork 38
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
[Bug] Undefined symbol: _SWIG_csharp_string_size, _SWIG_csharp_string_str, _SWIG_csharp_string_to_c #1139
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Anybody? |
We have the same in Unity 2022.3.50f. Downgraded back to Firebase 12.2.1. |
Also seeing the same issue with an older version of Unity, so it's probably not a Unity version issue. We had to downgrade to 12.1.0 due to some issues with Sign In with Apple occurring in 12.2 that we were hoping would be fixed by 12.4 (but can't check due to this). |
Having the same issue with Unity 2022.3.52f1 and firebase 12.4.0 |
Same issue with Unity 6000.0.25f1 and Firebase 12.4.0 |
Anbody found any solution to this problem? Downgrading Firebase version worked for anyone? If yes, which version is more stable? |
You can try version 12.0.0 |
Hey folks, thanks for bringing this up to our attention. While we investigate this further, could you help me with the steps to reproduce this behavior? What I did was the following, however I didn't encounter any issues:
Am I missing anything? Does this issue only happen during archiving or does it also happen when building? I'm also testing with Unity |
@argzdev I am using Unity 2022.3.26f1 version and I believe others are also using same Unity 2022.3.x version |
I'm also getting the same errors while building.
Unity: 2021.3.17f1 |
Same for Unity(6000.0.26f1) unfortunately. |
Having same errors with Unity 6000.0.27f1 and Xcode 16.1. |
Hi all, While we haven't been able to reproduce the error ourselves, using disassembly tools I have spotted some additional symbols that are present in the C# libraries about SWIGStringWithLengthHelper, which seems to be the root cause of the issue. While I try to determine a proper fix for this, unfortunately the best idea I have is to use 12.3.0. Sorry for the inconvenience. |
same problem with Xcode 16.1. v12.3.0 works with Xcode 16.1 |
@hanilozmen where can we download 12.3.0 SDK? Can you paste the link here? |
If you click links inside descriptions, it will start downloading specified Firebase version as a single bundle. |
Alright, this should be resolved with the latest release https://github.com/firebase/firebase-unity-sdk/releases/tag/v12.4.1 I wasn't able to reproduce this error myself, but I confirmed with disassembly tools that the SWIGStringWithLengthHelper logic has been removed from the libraries, so hopefully it'll all be good to go. Thanks for bringing this to our attention. |
And thanks for your interest. As soon as I've seen regarding release I've tried to rebuild again.. and good news it's working. Thanks again.. |
Description
I've upgraded my Unity(6000.0.25f1) Projects's Firebase SDK to 11.4.0
When I try to Archieve to distribute it it gives me error:
When I searched for:
- _SWIG_csharp_string_size
- _SWIG_csharp_string_str
- _SWIG_csharp_string_to_c
they are all used by Firebase products:
What I've tried:
Reproducing the issue
No response
Firebase Unity SDK Version
12.4.0
Unity editor version
6000.0.25f1
Installation Method
.unitypackage
Problematic Firebase Component(s)
Analytics, Crashlytics, Messaging, Remote Config
Other Firebase Component(s) in use
No response
Additional SDKs you are using
AdMob
Targeted Platform(s)
Apple Platforms
Unity editor platform
Mac
Scripting Runtime
IL2CPP
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity
Relevant Log Output
If using CocoaPods for Apple platforms, the project's Podfile.lock
Expand
Podfile.lock
snippet👀 Replace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: