Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

#import "../../config.h" Not found #34

Open
eshwartm opened this issue Mar 23, 2016 · 3 comments
Open

#import "../../config.h" Not found #34

eshwartm opened this issue Mar 23, 2016 · 3 comments

Comments

@eshwartm
Copy link

I cloned the repo and did a build. I got the aforementioned error in TGShareContextSignal.m file. Any clues? Should I make a config file as such?

@dharasisbehera
Copy link

+1

@albtsantos
Copy link

Yes, you should create your own config.h file on the root directory. It should look like:

#define SETUP_API_ID(apiId) apiId = 1;
#define SETUP_API_HASH(apiHash) apiHash = @"";

You can generate your credentials here (and then accessing “API development tools”).

@hamid-hassani
Copy link

hamid-hassani commented Jun 15, 2017

Hi,
Thanks for your solution, I created config.h and config.ini in root of Telegram folder with apiId and my apiHash. But i still get same error.
Any solution ?
Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants