在没有CocoaPods的情况下安装RestKit时出错

时间:2015-12-28 12:15:13

标签: ios objective-c xcode git restkit

我是RestKit的新手,我试图将其添加到我现有的iOS项目中 - 跟随this tutorial

将它作为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.

在此之后,我尝试运行“pod install'在RestKit的子目录中,它成功安装,然后当我尝试运行项目时,我得到一个正常的'错误说:

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)

坚持了一个星期,所以非常感谢任何帮助 - 我已经尝试过在线广泛研究,但却找不到任何解决方案。

0 个答案:

没有答案