我正在使用谷歌日历API,我收到两个错误.
GTMGatherInputStream.m:25:13:找到名为'initWithArray:'的多个方法
#import "GTMGatherInputStream.h"
@implementation GTMGatherInputStream
+ (NSInputStream *)streamWithArray:(NSArray *)dataArray {
return [[[self alloc] initWithArray:dataArray] autorelease]; //error on this line
}
Run Code Online (Sandbox Code Playgroud)GTMOAuth2Authentication.h:31:11:找不到'GTMSessionFetcher.h'文件
#if GTM_USE_SESSION_FETCHER
#import "GTMSessionFetcher.h" //GTMSessionFetcher.h file not found error
#else
#import "GTMHTTPFetcher.h"
#endif // GTM_USE_SESSION_FETCHER
Run Code Online (Sandbox Code Playgroud)我在网上到处研究过这个错误,但我什么都没发现.我正在使用GM Xcode 7.0运行GM El capitan.我已经尝试了多种不同的方法来解决它,但没有任何方法可行.我的代码不会编译.我该如何解决?