55
55
'firebase_installations' , 'firebase_messaging' ,
56
56
'firebase_remote_config' , 'firebase_storage' ),
57
57
'device' : {
58
- 'architectures' : ('arm64' , 'armv7' ),
58
+ 'architectures' : ('arm64' ),
59
59
'toolchain' : 'cmake/toolchains/ios.cmake' ,
60
60
},
61
61
'simulator' : {
@@ -127,7 +127,7 @@ def arrange_frameworks(archive_output_path):
127
127
def build_universal_framework (frameworks_path , targets ):
128
128
"""Create universal frameworks if possible.
129
129
130
- If all architectures (eg: arm64, armv7 etc) and platforms (device, simulator)
130
+ If all architectures (eg: arm64, etc) and platforms (device, simulator)
131
131
were built, combine all of the libraries into a single universal framework.
132
132
Args:
133
133
frameworks_path (str): Root path containing subdirectories for each
@@ -178,7 +178,7 @@ def build_universal_framework(frameworks_path, targets):
178
178
framework_os_path = os .path .join (frameworks_path , apple_os )
179
179
# Extract list of all built platform-architecture combinations into a map.
180
180
# Map looks like this,
181
- # {'device': ['arm64', 'armv7 '], 'simulator': ['x86_64']}
181
+ # {'device': ['arm64''], 'simulator': ['x86_64']}
182
182
platform_variant_architecture_dirs = os .listdir (framework_os_path )
183
183
platform_variant_arch_map = defaultdict (list )
184
184
for variant_architecture in platform_variant_architecture_dirs :
@@ -273,7 +273,7 @@ def build_xcframeworks(frameworks_path, xcframeworks_path, template_info_plist,
273
273
"""Build xcframeworks combining libraries for different operating systems.
274
274
275
275
Combine frameworks for different operating systems (ios, tvos), architectures
276
- (arm64, armv7, x86_64 etc) per platform variant (device, simulator).
276
+ (arm64, x86_64 etc) per platform variant (device, simulator).
277
277
This makes it super convenient for developers to use a single deliverable in
278
278
XCode and develop for multiple platforms/operating systems in one project.
279
279
@@ -304,7 +304,7 @@ def build_xcframeworks(frameworks_path, xcframeworks_path, template_info_plist,
304
304
Output: <build_dir>/xcframeworks <----------- <xcframeworks_path>
305
305
- firebase.xcframework
306
306
- Info.plist <----------- <Info.plist file>
307
- - ios-arm64_armv7 <-- <all_libraries_for_ios_device>
307
+ - ios-arm64 <-- <all_libraries_for_ios_device>
308
308
- firebase.framework
309
309
- firebase <---- <library>
310
310
- Headers <---- <all_include_headers>
@@ -320,7 +320,7 @@ def build_xcframeworks(frameworks_path, xcframeworks_path, template_info_plist,
320
320
...
321
321
- firebase_auth.xcframework <-- <firebase_auth target>
322
322
- Info.plist
323
- - ios-arm64_armv7
323
+ - ios-arm64
324
324
- firebase_auth.framework
325
325
- firebase_auth
326
326
- ios-arm64_x86_64-simulator
@@ -340,7 +340,7 @@ def build_xcframeworks(frameworks_path, xcframeworks_path, template_info_plist,
340
340
platform_variant_architecture_dirs = os .listdir (framework_os_path )
341
341
# Extract list of all built platform-architecture combinations into a map.
342
342
# Map looks like this,
343
- # {'device': ['arm64', 'armv7' ], 'simulator': ['x86_64']}
343
+ # {'device': ['arm64'], 'simulator': ['x86_64']}
344
344
platform_variant_arch_map = defaultdict (list )
345
345
for variant_architecture in platform_variant_architecture_dirs :
346
346
# Skip directories not of the format platform-arch (eg: universal)
@@ -385,7 +385,7 @@ def build_xcframeworks(frameworks_path, xcframeworks_path, template_info_plist,
385
385
# device is treated as default platform variant and we do not add any
386
386
# suffix at the end. For all other variants, add them as suffix.
387
387
xcframework_key_parts .append (platform_variant )
388
- # Eg: ios-arm64_armv7 , tvos-x86_64-simulator
388
+ # Eg: ios-arm64 , tvos-x86_64-simulator
389
389
xcframework_key = '-' .join (xcframework_key_parts )
390
390
391
391
# <build_dir>/xcframeworks/<target>.xcframework/<os>-<list_of_archs>/
@@ -584,7 +584,7 @@ def parse_cmdline_args():
584
584
default = ('device' , 'simulator' ),
585
585
help = 'List of platforms to build for.' )
586
586
parser .add_argument ('-a' , '--architecture' , nargs = '+' ,
587
- default = ('arm64' , 'armv7' , ' x86_64' ),
587
+ default = ('arm64' , 'x86_64' ),
588
588
help = 'List of architectures to build for.' )
589
589
parser .add_argument ('-t' , '--target' , nargs = '+' ,
590
590
default = ( 'firebase_analytics' , 'firebase_app_check' ,
0 commit comments