diff options
-rwxr-xr-x | build/mac/strip_save_dsym | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/build/mac/strip_save_dsym b/build/mac/strip_save_dsym index ef08d83..c325aa8 100755 --- a/build/mac/strip_save_dsym +++ b/build/mac/strip_save_dsym @@ -276,13 +276,7 @@ def strip_and_make_fake_dsym(macho): # Strip the Mach-O file remove_dsym = True try: - strip_path = "" - if "SYSTEM_DEVELOPER_BIN_DIR" in os.environ: - strip_path = os.environ["SYSTEM_DEVELOPER_BIN_DIR"] - else: - strip_path = "/usr/bin" - strip_path = os.path.join(strip_path, "strip") - strip_cmdline = [strip_path] + sys.argv[1:] + strip_cmdline = ['xcrun', 'strip'] + sys.argv[1:] strip_cmd = subprocess.Popen(strip_cmdline) if strip_cmd.wait() == 0: remove_dsym = False |