Skip to content

Commit

Permalink
Revert "Zip FlutterMacOS.framework. (#35623)" (#35680)
Browse files Browse the repository at this point in the history
This reverts commit fa86e2d.
  • Loading branch information
zanderso authored Aug 24, 2022
1 parent 7417091 commit 1c5c705
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions sky/tools/create_macos_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ def process_framework(dst, args, fat_framework, fat_framework_binary):
dsym_out = os.path.splitext(fat_framework)[0] + '.dSYM'
subprocess.check_call([DSYMUTIL, '-o', dsym_out, fat_framework_binary])
subprocess.check_call([
'zip', '-r', 'FlutterMacOS.dSYM.zip', 'FlutterMacOS.dSYM'
],
cwd=dst)
'zip', '-r',
'%s/FlutterMacOS.dSYM.zip' % dst,
'%s/FlutterMacOS.dSYM/Contents' % dst
])

if args.strip:
# copy unstripped
Expand All @@ -113,12 +114,6 @@ def process_framework(dst, args, fat_framework, fat_framework_binary):

subprocess.check_call(["strip", "-x", "-S", fat_framework_binary])

# Zip FlutterMacOS.framework.
subprocess.check_call([
'zip', '-r', 'FlutterMacOS.framework.zip', 'FlutterMacOS.framework'
],
cwd=dst)


if __name__ == '__main__':
sys.exit(main())

0 comments on commit 1c5c705

Please sign in to comment.