TelegramMessenger / Telegram-iOS

Telegram-iOS
5.89k stars 1.57k forks source link

Can't generate Xcode files #1360

Open st-small opened 6 months ago

st-small commented 6 months ago
"app": "10.8.1",
"bazel": "7.0.2",
"xcode": "15.2",
"macos": "13.0"

Trying to generate Xcode files using this command:

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

Got error that it is denied permissions for file BUILD but I cant understand what file does it mean.

Снимок экрана 2024-02-23 в 11 38 07

If I use sudo compile process completed with success but I got bazel dependecies error:

Снимок экрана 2024-02-23 в 11 39 34

Thanks in advance for any help.

ali-fareed commented 6 months ago

Does restarting the computed fix the issue?

st-small commented 6 months ago

Does restarting the computed fix the issue?

No it doesn't

ali-fareed commented 6 months ago

Could you remove this folder and re-generate the project?

$ sudo rm -rf /private/var/tmp/_bazel_root
st-small commented 6 months ago

After issuing this command, the issue still persists. I believe there may be something that lacks the necessary permissions.