Update Telegram.ipa path

This commit is contained in:
Isaac 2025-06-11 17:47:27 +08:00
parent 3bb622782e
commit d0e130ec8b

View File

@ -682,10 +682,10 @@ def build(bazel, arguments):
os.makedirs(artifacts_path, exist_ok=True) os.makedirs(artifacts_path, exist_ok=True)
os.makedirs(artifacts_path + '/DSYMs', 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-*' built_ipa_path_prefix = 'bazel-bin/Telegram'
ipa_paths = glob.glob('{}/bin/Telegram/Telegram.ipa'.format(built_ipa_path_prefix)) ipa_paths = glob.glob('{}/Telegram.ipa'.format(built_ipa_path_prefix))
if len(ipa_paths) == 0: 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) sys.exit(1)
elif len(ipa_paths) > 1: elif len(ipa_paths) > 1:
print('Multiple matching IPA files found: {}'.format(ipa_paths)) print('Multiple matching IPA files found: {}'.format(ipa_paths))