Skip to content

Bazel build fails due to expired provisioning profile (ProcessEntitlementsFiles error) on iOS app #130

Description

@murodjon-sattorov

ERROR: /Users/user1/Teamgram/teamgram-ios/Telegram/BUILD:1702:16: ProcessEntitlementsFiles Telegram/Telegram_entitlements.entitlements failed: (Exit 1): plisttool failed: error executing ProcessEntitlementsFiles command (from target //Telegram:Telegram)
(cd /private/var/tmp/_bazel_user1/cfc0004b03b2b65d21374c818062433e/rules_xcodeproj.noindex/build_output_base/execroot/_main &&
exec env -
APPLE_SDK_PLATFORM=iPhoneOS
APPLE_SDK_VERSION_OVERRIDE=26.1
PATH=/bin:/usr/bin
XCODE_VERSION_OVERRIDE=26.1.1.17B100
ZERO_AR_DATE=1
bazel-out/darwin_arm64-opt-exec-ST-d57f47055a04/bin/external/rules_apple+/tools/plisttool/plisttool bazel-out/ios_arm64-dbg-ios-arm64-min13.0-applebin_ios-ST-f0cef7718cc5/bin/Telegram/entitlements/Telegramplisttool-control)

Configuration: dc1209709e3b9372fc9966e7d8481dddba26782db87d0ad651dba7eaf98d47a5

Execution platform: @@platforms//host:host

ERROR: On target "@@//Telegram:Telegram", provisioning profile ExpirationDate ("2025-10-29T10:40:00") is in the past.
INFO: Elapsed time: 5.960s, Critical Path: 4.35s
INFO: 316 processes: 741 action cache hit, 28 internal, 288 local.
ERROR: Build did NOT complete successfully
error: The bazel build failed, please check the report navigator, which may have more context about the failure.

I can not build ios app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions