Fix ipa path

This commit is contained in:
Isaac 2024-02-06 18:20:50 +04:00
parent 2acaddbb40
commit 8adffe90fe

View File

@ -614,7 +614,8 @@ 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)
ipa_paths = glob.glob('bazel-out/applebin_ios-ios_arm*-opt-ST-*/bin/Telegram/Telegram.ipa') 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))
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('Could not find the IPA at bazel-out/applebin_ios-ios_arm*-opt-ST-*/bin/Telegram/Telegram.ipa')
sys.exit(1) sys.exit(1)