[iOS] Eliminate framework bitcode stripping flag (flutter/engine#36628)

Eliminates the `--strip-bitcode` flag from the `create_ios_framework.py`
and `create_full_ios_framework.py` scripts.

Issue: https://github.com/flutter/flutter/issues/107884
This commit is contained in:
Chris Bracken
2022-10-06 20:35:02 +01:00
committed by GitHub
parent 0fd45d69a8
commit da87c7cab3
3 changed files with 0 additions and 23 deletions

View File

@@ -102,7 +102,6 @@
"out/ios_debug_sim",
"--simulator-arm64-out-dir",
"out/ios_debug_sim_arm64",
"--strip-bitcode",
"--dsym",
"--strip"
],

View File

@@ -41,12 +41,6 @@ def main():
parser.add_argument('--simulator-arm64-out-dir', type=str, required=False)
parser.add_argument('--strip', action="store_true", default=False)
parser.add_argument('--dsym', action="store_true", default=False)
parser.add_argument(
'--strip-bitcode',
dest='strip_bitcode',
action="store_true",
default=False
)
args = parser.parse_args()
@@ -201,11 +195,6 @@ def zip_archive(dst):
def process_framework(args, dst, framework, framework_binary):
if args.strip_bitcode:
subprocess.check_call([
'xcrun', 'bitcode_strip', '-r', framework_binary, '-o', framework_binary
])
if args.dsym:
dsym_out = os.path.splitext(framework)[0] + '.dSYM'
subprocess.check_call([DSYMUTIL, '-o', dsym_out, framework_binary])

View File

@@ -33,12 +33,6 @@ def main():
parser.add_argument('--simulator-arm64-out-dir', type=str, required=False)
parser.add_argument('--strip', action="store_true", default=False)
parser.add_argument('--dsym', action="store_true", default=False)
parser.add_argument(
'--strip-bitcode',
dest='strip_bitcode',
action="store_true",
default=False
)
args = parser.parse_args()
@@ -113,11 +107,6 @@ def main():
def process_framework(args, framework, framework_binary):
if args.strip_bitcode:
subprocess.check_call([
'xcrun', 'bitcode_strip', '-r', framework_binary, '-o', framework_binary
])
if args.dsym:
dsym_out = os.path.splitext(framework)[0] + '.dSYM'
subprocess.check_call([DSYMUTIL, '-o', dsym_out, framework_binary])