File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ endif()
234
234
235
235
# Includes platform which needs to be invoked first
236
236
add_subdirectory (app )
237
- set (TARGET_LINK_LIB_NAMES "firebase_app" "firebase_app_swig" "flatbuffers" )
237
+ set (TARGET_LINK_LIB_NAMES "firebase_app" "firebase_app_swig" )
238
238
set (PROJECT_LIST_HEADER "#define PROJECT_LIST(X)" )
239
239
list (APPEND PROJECT_LIST_HEADER " X(App)" )
240
240
@@ -301,7 +301,7 @@ endif()
301
301
302
302
if (FIREBASE_UNI_LIBRARY )
303
303
if (FIREBASE_IOS_BUILD )
304
- ios_pack (firebase_lib_uni libFirebaseCppApp DEPS "firebase_app" "firebase_app_swig" "flatbuffers" )
304
+ ios_pack (firebase_lib_uni libFirebaseCppApp DEPS "firebase_app" "firebase_app_swig" )
305
305
else ()
306
306
build_uni (
307
307
"${TARGET_LINK_LIB_NAMES} "
Original file line number Diff line number Diff line change @@ -79,6 +79,12 @@ function(build_firebase_shared LIBRARY_NAME ARTIFACT_NAME OUTPUT_NAME)
79
79
PREFIX "lib"
80
80
SUFFIX ".a"
81
81
)
82
+
83
+ # Enable Automatic Reference Counting (ARC) and Bitcode.
84
+ target_compile_options (${shared_target}
85
+ PUBLIC "-fobjc-arc" "-fembed-bitcode" )
86
+ target_link_libraries (${shared_target}
87
+ PUBLIC "-fembed-bitcode" )
82
88
elseif (ANDROID )
83
89
set_target_properties (${shared_target}
84
90
PROPERTIES
@@ -125,4 +131,4 @@ function(build_firebase_shared LIBRARY_NAME ARTIFACT_NAME OUTPUT_NAME)
125
131
)
126
132
endif ()
127
133
128
- endfunction ()
134
+ endfunction ()
Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ Release Notes
158
158
### Upcoming
159
159
- Changes
160
160
- General: Added a missing namespace to the Google.MiniJson.dll.
161
+ - General (iOS): Fix an issue with bitcode not being enabled correctly.
161
162
- Functions: Add a new method ` GetHttpsCallableFromURL ` , to create callables
162
163
with URLs other than cloudfunctions.net.
163
164
- Analytics (iOS): Added InitiateOnDeviceConversionMeasurementWithEmail function to facilitate the
You can’t perform that action at this time.
0 commit comments