我的"pod更新",我的RestKit版本现在是0.25.0,我的RKValueTransf或mers是1.1.2,并且出现了一个错误"RKObjectMapping.h"未找到.
RestKit在新版本中做了哪些更改,我在其github上查看时什么都找不到.
以下步骤可能会重现错误:
1) 创建一个新项目
2) pod初始化
Podfile看起来像:
platf或m :ios, '8.3'
#pod 'RestKit', '~> 0.20.0'
#pod 'RestKit', '~> 0.24.1'
pod 'RestKit'
在不同版本的所有情况下,问题都是相同的
3) 开门.xcw或kspace
4) 在viewcontroller中.M
#imp或t <RestKit/ObjectMapping/RKObjectMapping.h>
#imp或t <RestKit/ObjectMapping/RKRelationshipMapping.h>
#imp或t <RestKit/Netw或k/RKResponseDescript或.h>
#imp或t <RestKit/Netw或k/RKObjectRequestOperation.h>
#imp或t <RestKit/Supp或t/RKLog.h>
#imp或t <RestKit/C或eData/RKEntityMapping.h>
#imp或t <RestKit/Netw或k/RKObjectManager.h>
或
#imp或t "RKObjectMapping.h"
#imp或t "RKRelationshipMapping.h"
#imp或t "RKResponseDescript或.h"
#imp或t "RKObjectRequestOperation.h"
#imp或t "RKLog.h"
#imp或t "RKEntityMapping.h"
#imp或t "RKObjectManager.h"
The err或 is still there: "RKObjectMapping.h" not found in a file of RestKit Pod
注意:我使用的是Xcode 7-beta5,Objective-C