Telegram
Telegram copied to clipboard
No visible @interface for 'MTDatacenterAddress'
Me too :((
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).
thank's.
cd submodules/MtProtoKit
git checkout e4171b4
thank you
i met this question again ,how to slove it
I solved this question by checking out the correct commits. If you use incorrect commit, this issue will happen.