Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/118.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 实例消息的接收器类型GTMSessionFetcher服务是转发声明_Ios_Objective C_Google Drive Api - Fatal编程技术网

Ios 实例消息的接收器类型GTMSessionFetcher服务是转发声明

Ios 实例消息的接收器类型GTMSessionFetcher服务是转发声明,ios,objective-c,google-drive-api,Ios,Objective C,Google Drive Api,我从以下版本更新了pod GoogleAppClient请求/驱动器: GoogleapClientForest/Core(1.2.1): GTMSessionFetcher(>=1.1.7) GoogleAppClient错误/驱动器(1.2.1): GoogleapClientForest/Core GTMSessionFetcher(>=1.1.7) 至最新版本: GoogleapClientForest/Core(1.3.0): GTMSessionFetcher(>=1

我从以下版本更新了pod GoogleAppClient请求/驱动器:

  • GoogleapClientForest/Core(1.2.1):
    • GTMSessionFetcher(>=1.1.7)
  • GoogleAppClient错误/驱动器(1.2.1):
    • GoogleapClientForest/Core
    • GTMSessionFetcher(>=1.1.7)
至最新版本:

  • GoogleapClientForest/Core(1.3.0):
    • GTMSessionFetcher(>=1.1.7)
  • GoogleAppClient错误/驱动器(1.3.0):
    • GoogleapClientForest/Core
    • GTMSessionFetcher(>=1.1.7)
由于它们,我得到了以下错误:

实例消息的接收器类型GTMSessionFetcher服务是 远期申报

根据以下声明:

@property (nonatomic, retain) GTMSessionFetcher *fetcher;
@property (nonatomic, retain) GTLRDriveService *googleDriveService;
...
self.fetcher = (GTMSessionFetcher *)[[[self googleDriveService] fetcherService] fetcherWithRequest:downloadRequest];

我查看了所有关于这个错误的谷歌结果,但没有一个能帮我解决这个问题。我也试着用。而不是[],导入更多的标题,导入时使用而不是#等等。但是没有任何帮助,我不知道问题出在哪里。

是否可能您没有加载所需的第三方框架?如果import语句丢失,我希望编译器会告诉您。我正在导入#import“GTMSessionFetcher.h”和#import“GTLRDrive.h”,所以我不想再做什么了,遗憾的是错误消息根本没有帮助。我通常使用迦太基而不是pods,这听起来像是pods问题。是否确实单击了白色工作区文件而不是蓝色项目文件以在Xcode中打开项目?