Krunal
Krunal

Reputation: 6490

Telegram iOS sample code showing error

I am developing chatting application using Telegram API,

When i download telegram code from Telegram-iOS it is showing me error SSignalKit/SSignalKit.h and MTProtoKit/MTContext.h file not found. I found the same file over internet and added it,

But now it is showing #import "../../config.h" file not found

From where can i get this file or how do i add it Telegram sample code?

Please help and thanx in adavnce!!

Upvotes: 5

Views: 2214

Answers (2)

MadNik
MadNik

Reputation: 7793

Do you have git installed? Try run

git clone --recursive [email protected]:peter-iakovlev/Telegram.git

Then Go inside the cloned project and open and run. Just try this as a fresh project. Leave aside the manually downloaded one.

It Also depends on this project. Clone it and drag it to Telegram project.

https://github.com/peter-iakovlev/MtProtoKit

Upvotes: 1

John Wong
John Wong

Reputation: 352

This project is really hard to fix. Here is a pull request, which fix many compilation issues. But I still can not build after apply this pull request.

Is it OK to use Telegram 2.8? I download source code from https://telegram.org/apps. It is easier to build. Its version is 2.8; app's current version is 3.4; version of project in Github is 3.2.1. I have fixed some build issues and upload it to https://github.com/JohnWong/Telegraph.

Upvotes: 1

Related Questions