TelegramMessenger / Telegram-iOS
git clone https://github.com/TelegramMessenger/Telegram-iOS.git
build-26855 · 3y ago
🔥 on GitHub Trending today
Telegram-iOS
+30
stars, 24h · #264
+115
stars, 7 days · #439
+333
stars, 30 days · #800
9.3k
★ total · +1% this week
3.1k
forks · 707 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageSwift
License—
Created2018-11-14 (7y ago)
Last push12d ago
Watchers408
OwnerOrganization
Seen on GitHub Trending
- 2026-10-20 — #1 daily in swift · +30 ★
- 2026-10-20 — #5 monthly in swift · +333 ★
- 2026-10-20 — #6 weekly in swift · +115 ★
Links
README excerpt
# Telegram iOS Source Code Compilation Guide
We welcome all developers to use our API and source code to create applications on our platform.
There are several things we require from **all developers** for the moment.
# Creating your Telegram Application
1. **Obtain your own api_id** for your application.
2. Please **do not** use the name Telegram for your app — or make sure your users understand that it is unofficial.
3. Kindly **do not** use our standard logo (white paper plane in a blue circle) as your app's logo.
3. Please study our **security guidelines** and take good care of your users' data and privacy.
4. Please remember to publish **your** code too in order to comply with the licences.
# Quick Compilation Guide
## Get the Code
[code]
## Setup Xcode
Install Xcode (directly from https://developer.apple.com/download/applications or using the App Store).
## Adjust Configuration
1. Generate a random identifier:
[code]
2. Create a new Xcode project. Use `Telegram` as the Product Name. Use `org.{identifier from step 1}` as the Organization Identifier.
3. Open `Keychain Access` and navigate to `Certificates`. Locate `Apple Development: your@email.address (XXXXXXXXXX)` and double tap the certificate. Under `Details`, locate `Organizational Unit`. This is the Team ID.
4. Edit `build-system/template_minimal_development_configuration.json`. Use data from the previous steps.
## Generate an Xcode project
[code]
# Advanced Compilation Guide
## Xcode
1. Copy and edit `build-system/appstore-configuration.json`.
2. Copy `build-system/fake-codesigning`. Create and download provisioning profiles, using the `profiles` folder as a reference for the entitlements.
3. Generate an Xcode project:
[code]
## IPA
1. Repeat the steps from the previous section. Use distribution provisioning profiles.
2. Run:
[code]
# FAQ
## Xcode is stuck at "build-request.json not updated yet"
Occasionally, you might observe the following message in your build log:
[code]
Should this occur, simply cancel the ongoing build and initiate a new one.
## Telegram_xcodeproj: no such package
Following a system restart, the auto-generated Xcode project might encounter a build failure accompanied by this error:
[code]
If you encounter this issue, re-run the project generation steps in the README.
# Tips
## Codesigning is not required for simulator-only builds
Add `--disableProvisioningProfiles`:
[code]
## Versions
Each release is built using a specific Xcode version (see `versions.json`). The helper script checks the versions of the installed software and reports an error if they don't match the ones specified in `versions.json`. It is possible to bypass these checks:
[code]