Tested only in a simulator.
Compiles the official Telegram iOS Repo on Github as of 9bd7c529b2212b1195d21346bbd7b8c04dfdb8ae.
You'll need an API Key / Hash pair to build a working client.
- Clone Telegram repo
$ git clone --recursive https://github.com/peter-iakovlev/Telegram
cd
into repo
$ cd Telegram
- Create stub for build version scripts
$ mkdir tools
$ echo '#!/bin/bash -c true' > tools/bump_build_number.sh
$ echo '#!/bin/bash -c true' > tools/sync_watch_version.sh
- Open the Xcode workspace
$ open Telegram.xcworkspace
- Right-click the top-most
Telegraph
workspace and create a new Header File calledconfig.h
with this content:
#ifndef config_h
#define config_h
#define SETUP_API_ID(v) v = <YOUR API ID>;
#define SETUP_API_HASH(v) v = @"<YOUR API HASH>";
#endif /* config_h */
- Open LegacyDatabase > TGShareContextSignal.m and replace
#import "../../config.h"
with
#import "../config.h"
Not working anymore,, any other solution?
MTProtoKit using AFNetworking,, old classes AFHTTP.... and AFURLRequest....
Now AFNetworking has AFURLSession....
This one issue of many xD
Moved to TelegramSwift for Mac,,, it is working as Usage description