peter-iakovlev / Telegram

Telegram Messenger for iOS
3.21k stars 855 forks source link

No visible @interface for 'MTDatacenterAddress' #265

Open hediehloo opened 6 years ago

hediehloo commented 6 years ago

kinhhopbi0 commented 6 years ago

Me too :((

shivanraptor commented 6 years ago

If you read the definition of header of MTDatacenterAddress, you will see:

- (instancetype)initWithIp:(NSString *)ip port:(uint16_t)port preferForMedia:(bool)preferForMedia restrictToTcp:(bool)restrictToTcp cdn:(bool)cdn preferForProxy:(bool)preferForProxy secret:(NSData *)secret;

There is an extra secret attribute added. Still unsure how to implement it though (lack of documentation).

hediehloo commented 6 years ago

thank's.

iineva commented 5 years ago
cd submodules/MtProtoKit
git checkout e4171b4
jerry11111111 commented 5 years ago

thank you

LGByte commented 5 years ago

i met this question again ,how to slove it

shivanraptor commented 5 years ago

I solved this question by checking out the correct commits. If you use incorrect commit, this issue will happen.