TelegramMessenger / Telegram-iOS

Telegram-iOS
6.38k stars 1.67k forks source link

Xcode16 build project failed #1585

Closed lesliezeng0320 closed 1 month ago

lesliezeng0320 commented 1 month ago

ERROR: /Users/qmk/Desktop/workspace/Telegram-iOS/Telegram/BUILD:1507:21: in apple_intent_library rule //Telegram:GeneratedSources.Intent: Traceback (most recent call last): File "/private/var/tmp/_bazel_qmk/af0dfae1c1c8b83e655c9521dff25e25/rules_xcodeproj.noindex/build_output_base/external/build_bazel_rules_apple/apple/internal/resource_rules/apple_intent_library.bzl", line 85, column 53, in _apple_intent_library_impl resource_actions.generate_intent_classes_sources( File "/private/var/tmp/_bazel_qmk/af0dfae1c1c8b83e655c9521dff25e25/rules_xcodeproj.noindex/build_output_base/external/build_bazel_rules_apple/apple/internal/resource_actions/intent.bzl", line 78, column 28, in generate_intent_classes_sources if versions.is_at_least("12.0.0", xcode_version): File "/private/var/tmp/_bazel_qmk/af0dfae1c1c8b83e655c9521dff25e25/rules_xcodeproj.noindex/build_output_base/external/bazel_skylib/lib/versions.bzl", line 80, column 32, in _is_at_least return _parse_bazel_version(version) >= _parse_bazel_version(threshold) File "/private/var/tmp/_bazel_qmk/af0dfae1c1c8b83e655c9521dff25e25/rules_xcodeproj.noindex/build_output_base/external/bazel_skylib/lib/versions.bzl", line 55, column 22, in _parse_bazel_version return tuple([int(n) for n in version.split(".")]) Error in int: empty string ERROR: /Users/qmk/Desktop/workspace/Telegram-iOS/Telegram/BUILD:1507:21: Analysis of target '//Telegram:GeneratedSources.Intent' failed ERROR: Analysis of target '@@rules_xcodeproj_generated//generator/Telegram/Telegram_xcodeproj:Telegram_xcodeproj' failed; build aborted: Analysis failed INFO: Elapsed time: 8.449s, Critical Path: 0.02s INFO: 1 process: 1 internal. ERROR: Build did NOT complete successfully ERROR: Build failed. Not running target Traceback (most recent call last): File "/Users/qmk/Desktop/workspace/Telegram-iOS/build-system/Make/Make.py", line 1049, in generate_project(bazel=bazel_path, arguments=args) File "/Users/qmk/Desktop/workspace/Telegram-iOS/build-system/Make/Make.py", line 566, in generate_project generate( File "/Users/qmk/Desktop/workspace/Telegram-iOS/build-system/Make/ProjectGeneration.py", line 58, in generate generate_xcodeproj(build_environment, disable_extensions, disable_provisioning_profiles, include_release, generate_dsym, configuration_path, bazel_app_arguments, target_name) File "/Users/qmk/Desktop/workspace/Telegram-iOS/build-system/Make/ProjectGeneration.py", line 51, in generate_xcodeproj call_executable(bazel_generate_arguments) File "/Users/qmk/Desktop/workspace/Telegram-iOS/build-system/Make/BuildEnvironment.py", line 81, in call_executable subprocess.check_call(resolved_arguments, env=resolved_env) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/Users/qmk/Desktop/workspace/Telegram-iOS/build-input/bazel-7.3.1-darwin-arm64', 'run', '//Telegram:Telegram_xcodeproj', '--override_repository=build_configuration=/Users/qmk/Desktop/workspace/Telegram-iOS/build-input/configuration-repository', '--//Telegram:disableExtensions', '--//Telegram:disableStripping']' returned non-zero exit status 1.