I built XCode project using bazel (point 6 at README), trying to build the app and run it in the simulator, but getting this error:
In cc_toolchain_suite rule @local_config_cc//:toolchain: cc_toolchain_suite '@local_config_cc//:toolchain' does not contain a toolchain for cpu 'ios_sim_arm64'

I think it's related to this line
|
'\'--cpu=ios_arm64\'.replace(\'ios_arm64\', \'ios_sim_arm64\' if os.environ.get(\'EFFECTIVE_PLATFORM_NAME\') ' |
ios_sim_arm64
There's some patch containing ios_sim_arm64, but I'm not sure how to apply it
https://gist.github.com/brentleyjones/17d8bcf308558a19dd54a30e4a6db57a
did you test it running on M1 Mac? I see the repo is updated for arm CPU, but I cannot run it on my machine because sim is not starting
Environment
Device: Apple MacBook Pro (13-inch, M1, 2020)
macOS version: 11.1 (20C69)
Some more screenshots in case it can help:


I built XCode project using bazel (point 6 at README), trying to build the app and run it in the simulator, but getting this error:
I think it's related to this line
Telegram-iOS/build-system/Make/ProjectGeneration.py
Line 149 in 72633df
There's some patch containing
ios_sim_arm64, but I'm not sure how to apply ithttps://gist.github.com/brentleyjones/17d8bcf308558a19dd54a30e4a6db57a
did you test it running on M1 Mac? I see the repo is updated for arm CPU, but I cannot run it on my machine because sim is not starting
Environment
Device:
Apple MacBook Pro (13-inch, M1, 2020)macOS version:
11.1 (20C69)Some more screenshots in case it can help: