找不到Cocoapods <RestKit / RestKit.h>

我非常难以使用CocoaPods将RestKit安装到我的项目中。 我收到未找到的错误。

我的Pods.xcconfig如下所示:

GCC_PREPROCESSOR_DEFINITIONS = $(继承)COCOAPODS = 1 HEADER_SEARCH_PATHS =“$ {PODS_ROOT} / Headers”“$ {PODS_ROOT} / Headers / AFNetworking”“$ {PODS_ROOT} / Headers / ISO8601DateFormatterValueTransformer”“$ {PODS_ROOT} / Headers / RKValueTransformers”“ $ {PODS_ROOT} / Headers / RestKit“”$ {PODS_ROOT} / Headers / RestKit / CoreData“”$ {PODS_ROOT} / Headers / RestKit / Network“”$ {PODS_ROOT} / Headers / RestKit / ObjectMapping“ / Headers / RestKit / Support“$ {PODS_ROOT} / Headers / SDWebImage”$ {PODS_ROOT} / Headers / SOCKit“”$ {PODS_ROOT} / Headers / SSKeychain“”$ {PODS_ROOT} / Headers / SVProgressHUD“ PODS_ROOT} / Headers / TTTAttributedLabel“”$ {PODS_ROOT} / Headers / TransitionKit“”$ {PODS_ROOT} / Headers / Vendor / LibComponentLogging / Core“”$ {PODS_ROOT} / Headers / Vendor / LibComponentLogging / NSLog“OTHER_CFLAGS = $ )-isystem“$ {PODS_ROOT} / Headers”-isystem“$ {PODS_ROOT} / Headers / AFNetworking”-isystem“$ {PODS_ROOT} / Headers / ISO8601DateFormatterValueTransformer”-isystem“$ {PODS_ROOT} / Headers / RKValueTransformers”-isystem“ $ {POD S_ROOT} / Headers / RestKit“-isystem”$ {PODS_ROOT} / Headers / RestKit / CoreData“-isystem”$ {PODS_ROOT} / Headers / RestKit / Network“-isystem”$ {PODS_ROOT} / Headers / RestKit / ObjectMapping“ isystem $ {PODS_ROOT} / Headers / SOCKit“-isystem”$ {PODS_ROOT} / Headers / SSKeychain“$ {PODS_ROOT} / Headers / RestKit / Support”-isystem“$ {PODS_ROOT} / Headers / SDWebImage”-isystem“ isystem“$ {PODS_ROOT} / Headers / SVProgressHUD”-isystem“$ {PODS_ROOT} / Headers / TTTAttributedLabel”-isystem“$ {PODS_ROOT} / Headers / TransitionKit”-isystem“$ {PODS_ROOT} / Headers / Vendor / LibComponentLogging / Core “-isystem”$ {PODS_ROOT} / Headers / Vendor / LibComponentLogging / NSLog“OTHER_LDFLAGS = -ObjC -framework CFNetwork -framework CoreData -framework CoreGraphics -framework CoreText -framework Foundation-framework ImageIO -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration PODS_ROOT = $ {SRCROOT} / Pods

Podfile像这样:

platform :ios, '7.0'

pod 'TTTAttributedLabel'

pod 'SVProgressHUD', :head

pod 'SDWebImage', '~>3.6'

pod 'SSKeychain'

pod 'RestKit', '0.23.1'

其他链接器标记中的我的项目设置包括:

$(inherited)

标题搜索路径还包括:

$(inherited)
"$(BUILT_PRODUCTS_DIR)/../../Headers"

我的目标配置如下所示:

在这里输入图像描述

我该如何解决这个问题?

链接地址: http://www.djcxy.com/p/89639.html

上一篇: Cocoapods <RestKit/RestKit.h> not found

下一篇: CocoaPods intermediate files build failure with xcodebuild