Telegram icon indicating copy to clipboard operation
Telegram copied to clipboard

No visible @interface for 'MTDatacenterAddress'

Open hediehloo opened this issue 6 years ago • 7 comments

hediehloo avatar Jun 03 '18 13:06 hediehloo

Me too :((

kinhhopbi0 avatar Jun 05 '18 10:06 kinhhopbi0

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).

shivanraptor avatar Jun 07 '18 07:06 shivanraptor

thank's.

hediehloo avatar Jun 08 '18 00:06 hediehloo

cd submodules/MtProtoKit
git checkout e4171b4

iineva avatar Oct 27 '18 16:10 iineva

thank you

jerry11111111 avatar Nov 18 '18 18:11 jerry11111111

i met this question again ,how to slove it

LGByte avatar Mar 01 '19 08:03 LGByte

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

shivanraptor avatar Mar 05 '19 03:03 shivanraptor