Skip to content

Commit 51fca74

Browse files
authored
Disable new SWIG string helper functions (#1145)
1 parent 44cd79b commit 51fca74

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

cmake/firebase_swig.cmake

+4
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ macro(firebase_swig_add_library name)
154154
# https://github.com/swig/swig/issues/672#issuecomment-400577864
155155
final=
156156
USE_EXPORT_FIX
157+
# SWIG 4.3 added a C# class, SWIGStringWithLengthHelper, but is missing
158+
# the corresponding C++ symbols, which can cause issues. We don't
159+
# rely on this class anyway, so just disable it.
160+
SWIG_CSHARP_NO_STRING_WITH_LENGTH_HELPER
157161
)
158162

159163
set_property(TARGET ${name} PROPERTY SWIG_GENERATED_COMPILE_DEFINITIONS

docs/readme.md

+5
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ Support
7171

7272
Release Notes
7373
-------------
74+
### Upcoming
75+
- Changes
76+
- General: Remove unresolved SWIG string symbols.
77+
([#1139](https://github.com/firebase/firebase-unity-sdk/issues/1139)).
78+
7479
### 12.4.0
7580
- Changes
7681
- General: Update to Firebase C++ SDK version 12.4.0.

0 commit comments

Comments
 (0)