I "pod update", and my version of RestKit is now 0.25.0, my RKValueTransformers is 1.1.2, and the error "RKObjectMapping.h" was not found.
What Changed RestKit in the new version, that I check on its github, I can not find anything.
The following steps may reproduce the error:
1) Create a new project
2) pod init
The subfile is as follows:
platform :ios, '8.3'
In all cases of different versions the problem is the same
3) open .xcworkspace
4) in viewcontroller.m
#import <RestKit/ObjectMapping/RKObjectMapping.h> #import <RestKit/ObjectMapping/RKRelationshipMapping.h> #import <RestKit/Network/RKResponseDescriptor.h> #import <RestKit/Network/RKObjectRequestOperation.h> #import <RestKit/Support/RKLog.h> #import <RestKit/CoreData/RKEntityMapping.h> #import <RestKit/Network/RKObjectManager.h>
or
#import "RKObjectMapping.h" #import "RKRelationshipMapping.h" #import "RKResponseDescriptor.h" #import "RKObjectRequestOperation.h" #import "RKLog.h" #import "RKEntityMapping.h" #import "RKObjectManager.h"
The error still exists: "RKObjectMapping.h" not found in the RestKit Pod file
Note. I am using Xcode 7-beta5, Objective-C
objective-c cocoapods restkit
chipbk10 Sep 14 '15 at 10:22 2015-09-14 10:22
source share