Skip to content

Commit a230d22

Browse files
committed
using new merged plist file
1 parent d1bb204 commit a230d22

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/gha/build_ios_tvos.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,9 @@ def build_xcframeworks(frameworks_path, xcframeworks_path, template_info_plist):
392392
target_xcframeworks_path = os.path.join(xcframeworks_path,
393393
'{0}.xcframework'.format(target))
394394
# Create Info.plist for xcframework
395+
dest_path = os.path.join(target_xcframeworks_path, 'Info.plist')
395396
logging.info('Copying template {0}'.format(template_info_plist))
396-
dest_path = shutil.copy(template_info_plist, target_xcframeworks_path)
397+
shutil.copy(template_info_plist, target_xcframeworks_path)
397398
contents = None
398399
# Replace token LIBRARY_PATH with current target framework.
399400
with open(dest_path, 'r') as info_plist_file:
@@ -518,7 +519,8 @@ def main():
518519

519520
# Build xcframeworks
520521
xcframeworks_path = os.path.join(args.build_dir, 'xcframeworks')
521-
template_info_plist_path = os.path.join(args.source_dir, 'build_scripts', 'ios', 'Info.plist')
522+
template_info_plist_path = os.path.join(args.source_dir, 'build_scripts',
523+
'tvos', 'Info_ios_and_tvos.plist')
522524
build_xcframeworks(frameworks_path, xcframeworks_path, template_info_plist_path)
523525

524526

0 commit comments

Comments
 (0)