Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a valid aps-environment entitlement in the provided provisioning profiles #1525

Open
iosdemo66 opened this issue Aug 31, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@iosdemo66
Copy link

Checklist

  • [ ✅] I am reporting an issue in existing functionality that does not work as intended
  • [ ✅] I've searched for existing GitHub issues

Description

Could not find a valid aps-environment entitlement in the provided provisioning profiles

Steps to Reproduce

test@testdeMac-mini Telegram-iOS %
test@testdeMac-mini Telegram-iOS % python3 build-system/Make/Make.py
--cacheDir="$HOME/telegram-bazel-cache"
generateProject
--configurationPath="$HOME/telegram-configuration/development-configuration.json"
--codesigningInformationPath="$HOME/telegram-configuration/fake-codesigning"
--disableExtensions
--disableProvisioningProfiles
Could not find a valid aps-environment entitlement in the provided provisioning profiles
test@testdeMac-mini Telegram-iOS %

Environment

Device: iPhone/iPad X
mac os 14.5

I have seen all the issues ,about ”Could not find a valid aps-environment“ problem , no desired answer
Why do we still need to check APS environment when we only want the emulator to run

@iosdemo66 iosdemo66 added the bug Something isn't working label Aug 31, 2024
@iosdemo66
Copy link
Author

python3 build-system/Make/Make.py
--overrideXcodeVersion
--cacheDir="$HOME/telegram-bazel-cache"
generateProject
--configurationPath=build-system/template_minimal_development_configuration.json
--xcodeManagedCodesigning

in this fashion

INFO: Analyzed target @@rules_xcodeproj_generated//generator/Telegram/Telegram_xcodeproj:Telegram_xcodeproj (699 packages loaded, 27658 targets configured).
INFO: Found 1 target...
INFO: Elapsed time: 9.888s, Critical Path: 0.22s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: /private/var/tmp/_bazel_test/53896228265fc95a676171592ad537c1/rules_xcodeproj.noindex/build_output_base/execroot/main/bazel-out/darwin_arm64-dbg/bin/external/rules_xcodeproj_generated/generator/Telegram/Telegram_xcodeproj/Telegram_xcodeproj-installer.sh --xcodeproj_bazelrc /private/var/tmp/_bazel_test/53896228265fc95a676171592ad537c1/execroot/main/bazel-out/darwin_arm64-fastbuild/bin/Telegram/Telegram_xcodeproj-runner.sh.runfiles/main/Telegram/Telegram_xcodeproj.bazelrc --extra_flags_bazelrc /private/var/tmp/_bazel_test/53896228265fc95a676171592ad537c1/execroot/main/bazel-out/darwin_arm64-fastbuild/bin/Telegram/Telegram_xcodeproj-runner.sh.runfiles/main/Telegram/Telegram_xcodeproj-extra-flags.bazelrc --bazel_path /Users/test/Desktop/BY/Telegram-iOS/build-input/bazel-7.1.1-darwin-arm64 --execution_root /private/var/tmp/_bazel_test/53896228265fc95a676171592ad537c1/execroot/main
Updated project at "Telegram/Telegram.xcodeproj"

but Running failed

截屏2024-08-31 13 53 54 截屏2024-08-31 13 54 03

no have signing&Capabilities

@yarodevuci
Copy link

same here

@ghh-jb
Copy link

ghh-jb commented Sep 6, 2024

Same here as y'all guys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants