Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.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/7/jsf/5.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
RestKit Swift错误“;类型为'的值;RKObjectManager';没有成员';managedObjectStore'&引用;_Swift_Restkit_Restkit 0.26.x - Fatal编程技术网

RestKit Swift错误“;类型为'的值;RKObjectManager';没有成员';managedObjectStore'&引用;

RestKit Swift错误“;类型为'的值;RKObjectManager';没有成员';managedObjectStore'&引用;,swift,restkit,restkit-0.26.x,Swift,Restkit,Restkit 0.26.x,我使用cocoapods安装了RestKit 0.26,并在桥接头中导入RestKit,如下所示: #import <CoreData/CoreData.h> #import <RestKit/CoreData.h> #import <RestKit/RestKit.h> 其更可能存在错误,但在Swift中 有什么帮助吗? 谢谢 self.rkManagedObjectStore = RKManagedObjectStore(managedObjectMod

我使用cocoapods安装了RestKit 0.26,并在桥接头中导入RestKit,如下所示:

#import <CoreData/CoreData.h>
#import <RestKit/CoreData.h>
#import <RestKit/RestKit.h>
其更可能存在错误,但在Swift中

有什么帮助吗? 谢谢

self.rkManagedObjectStore = RKManagedObjectStore(managedObjectModel:self.managedObjectModel)
self.rkObjectManager.managedObjectStore = self.rkManagedObjectStore