Skip to content

Commit 44eed81

Browse files
committed
complete set of targets for xcframeworks
1 parent 1bc858d commit 44eed81

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/gha/build_ios_tvos.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,17 +559,18 @@ def main():
559559

560560
# Since we renamed firebase_app.framework to firebase.framework we add that
561561
# to our list of targets.
562-
supported_targets.add('firebase')
562+
targets = set(args.target)
563+
targets.add('firebase')
563564

564565
# if we built for all architectures build universal framework as well.
565-
build_universal_framework(frameworks_path, supported_targets)
566+
build_universal_framework(frameworks_path, targets)
566567

567568
# Build xcframeworks
568569
xcframeworks_path = os.path.join(args.build_dir, 'xcframeworks')
569570
template_info_plist_path = os.path.join(args.source_dir, 'build_scripts',
570571
'tvos', 'Info_ios_and_tvos.plist')
571572
build_xcframeworks(frameworks_path, xcframeworks_path,
572-
template_info_plist_path, supported_targets)
573+
template_info_plist_path, targets)
573574

574575

575576
def parse_cmdline_args():

0 commit comments

Comments
 (0)