Ios 安装没有CoCoapod的RestKit时出错

Ios 安装没有CoCoapod的RestKit时出错,ios,objective-c,xcode,git,restkit,Ios,Objective C,Xcode,Git,Restkit,我是RestKit的新手,我正在尝试将它添加到我现有的iOS项目中-following 在将其安装为Git子模块(我没有使用CocoaPods,因为我已经手动安装了多个插件)并添加链接器标志、搜索路径之后,我无法构建它 问题导航器中未显示任何内容,但在报告导航器上,我发现以下错误: (Check Dependencies) The file "Pods-RestKit.debug.xconfig" couldn't be opened because there is no such file.

我是RestKit的新手,我正在尝试将它添加到我现有的iOS项目中-following

在将其安装为Git子模块(我没有使用CocoaPods,因为我已经手动安装了多个插件)并添加链接器标志、搜索路径之后,我无法构建它

问题导航器中未显示任何内容,但在报告导航器上,我发现以下错误:

(Check Dependencies)
The file "Pods-RestKit.debug.xconfig" couldn't be opened because there is no such file.

(Run custom shell script 'Check Pods Manifest.lock')
Diff: /../Podfile.lock: No such file or directory
Diff: /Manifest.lock: No such file or directory
The sandbox is not in synch with the Podfile.lock. Run 'pod install' or update your CocoaPods Installation.
在此之后,我尝试在RestKit的子目录中运行“pod install”,它安装成功,然后当我尝试运行项目时,我得到一个“正常”错误,该错误表示:

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lPods-RestKit
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lPods-RestKit is not an object file (not allowed in a library)

一周来我一直在做这件事,因此非常感谢您的帮助-我已经在网上进行了广泛的研究,但找不到任何解决方案。

您打开了xcworkspace还是xcproject?RohitPradhan我的iOS项目没有使用CoCoCoapods,所以我没有xcworkspace,但对于RestKit,我将xcproject拖到我的iOS项目中,将其作为目标添加。要么升级以便使用POD,要么根本不使用POD,只使用got子模块。吊舱可能包括其他配置,不确定…@Wain你能解释一下你的意思吗?您的意思是我从RestKit文件夹中删除所有pods模块吗?我是一个新手,你不需要删除它,你可以使用git来安装所有的子模块代码。但升级将是一个更好的选择。。。你不必事事都使用豆荚,但你已经有了豆荚,你应该继续工作良好。。。