Telegram
Telegram copied to clipboard
mtprotokit branch mismatch with new version of telegram.
after clone project , xcode prompts a lot of errors, such as:
No visible @interface for 'MTSocksProxySettings' declares the selector 'initWithIp:port:username:password:secret:'
because secret property not define in MTSocksProxySettings class. (in MtProtoKit @ 515bcf4)
secret is missing. not just MTSocksProxySettings class.
~/Desktop/Telegram/LegacyDatabase/TGShareMtSerialization.m:66:77: No visible @interface for 'MTDatacenterAddress' declares the selector 'initWithIp:port:preferForMedia:restrictToTcp:cdn:preferForProxy:secret:'
while building LegacyDatabase
This is updated just update to latest commit git submodule update --init --recursive --remote
@Shalabh-Soni can you tell me which commit is correct???
@hoootan 8e44fa1985d2793f0c36aa6fd63b4b61409c73b8 for MTProtoKit, however with --remote it will fetch the latest on its own... commit was around 21 hrs back.
@Shalabh-Soni look at this, I'm using last commit but have problem to build.
What is the Error you getting while building the project?
@Shalabh-Soni missing secret parameter in MTDataCenter and missing some methods on MTEnviroment
but exactly this is what is fixed in the last commit you can check the history, are you sure the MTProtoKit is picked from your repo - i mean the main project links to it ?
@Shalabh-Soni I don't know what I've done now, but its fixed, thats unbelievable 👍
@hoootan ;-) Cheers! i'm off to doing it on a device now
@Shalabh-Soni good luck buddy <3