Telegram is said to be a very high encryption-level Instant Messaging project, literally understood as a telegram, supposedly encrypted at the level equivalent to the U.S. Pentagon
However, the project downloaded from the official website can not be compiled directly, the following is attached to my experience, the Mac on Windows to edit the blog is time-consuming, briefly
Telegram official website: https://www.telegram.org/
Source code download page: Https://www.telegram.org/apps
After downloading the IOS code, Mac automatically unzip, don't worry, first install Xcode static generic template, attached address: https://github.com/kstenerud/iOS-Universal-Framework
Using the Mac terminal, go to the Real Framework folder and execute sudo./install.sh, enter, input y, install complete
Now you can open the Telegram source code, please set the bundle ID here, otherwise you will be prompted invalid argument error, after the successful compilation, but still can not run, please go to https://my.telegram.org/
To register their apiid and Apihash,
Search for code in Telegram project " Obtain your own apiid at https://my.telegam.org "
In the tgtelegraph.mm file, Nsassert (False, "Please obtain your own apiid at https://my.telegam.org"), before adding code
SELF.APIID = @ "xxxxx";//Own APIID
Self.apihash = @ "x";//Own Apihash
Nsassert in TGTELEGRAMNETWORKING.M (false, "obtain your own apiid at https://my.telegam.org"), preceded by a code
Apienvironment.apiid = xxxxx;//own apiid
APIID is originally a numeric type, the previous code is the official write, set it once.
At this point, the project can be run, the real machine or the simulator can be run
However, I try to modify the bundle display name, also can not modify the name of the application display, but also ask the great God enlighten. Other product name and so on have been tried.
iOS Open Source Project Telegram preliminary interview