peter-iakovlev / Telegram

Telegram Messenger for iOS
3.23k stars 858 forks source link

Import ’MtProtoKit‘ Folder #212

Open hujindong007 opened 6 years ago

hujindong007 commented 6 years ago

Duplicate interface definition for class 'AFHTTPRequestOperation'

SNThunderbolt commented 6 years ago

I have this issue too.

SNThunderbolt commented 6 years ago

could you solve it?

hujindong007 commented 6 years ago

"MtProtoKitDynamic.h" //#import <MTProtoKitDynamic/AFURLConnectionOperation.h> //#import <MTProtoKitDynamic/AFHTTPRequestOperation.h> comment out

"AFHTTPRequestOperation.h" //#if defined(MtProtoKitDynamicFramework) //# import <MTProtoKitDynamic/AFURLConnectionOperation.h> //#elif defined(MtProtoKitMacFramework) //# import <MTProtoKitMac/AFURLConnectionOperation.h> //#else //# import <MTProtoKit/AFURLConnectionOperation.h> //#endif comment out , change into #import "AFURLConnectionOperation.h". My English is not good

leewaycn commented 6 years ago

just use git command to clone it .not download a zip file.download is not helpful.