diff --git a/build-system/Make/Make.py b/build-system/Make/Make.py index b8a9aa9fd2..ebc521bbde 100644 --- a/build-system/Make/Make.py +++ b/build-system/Make/Make.py @@ -682,10 +682,10 @@ def build(bazel, arguments): os.makedirs(artifacts_path, exist_ok=True) os.makedirs(artifacts_path + '/DSYMs', exist_ok=True) - built_ipa_path_prefix = 'bazel-out/ios_arm64-opt-ios-arm64-min12.0-applebin_ios-ST-*' - ipa_paths = glob.glob('{}/bin/Telegram/Telegram.ipa'.format(built_ipa_path_prefix)) + built_ipa_path_prefix = 'bazel-bin/Telegram' + ipa_paths = glob.glob('{}/Telegram.ipa'.format(built_ipa_path_prefix)) if len(ipa_paths) == 0: - print('Could not find the IPA at bazel-out/applebin_ios-ios_arm*-opt-ST-*/bin/Telegram/Telegram.ipa') + print(f'Could not find the IPA at {built_ipa_path_prefix}/Telegram.ipa') sys.exit(1) elif len(ipa_paths) > 1: print('Multiple matching IPA files found: {}'.format(ipa_paths))