- Install the brew package manager, if you haven’t already.
- Install the packages yasm, cmake:
brew install yasm cmake
- Clone the project from GitHub:
git clone --recursive https://github.com/TelegramMessenger/Telegram-iOS.git
- Open Telegram-iOS.workspace.
- Open the Telegram-iOS-Fork scheme.
- Start the compilation process.
- To run the app on your device, you will need to set the correct values for the signature, .entitlements files and package IDs in accordance with your developer account values.