【问题标题】:RestKit CocoaPods Linker ErrorRestKit CocoaPods 链接器错误
【发布时间】:2014-02-12 20:17:59
【问题描述】:

项目非常简单,只是一个带有 RestKit 的空白选项卡式应用程序 - 没有其他代码。出于某种原因,我不断收到链接器错误:

clang: error: 链接器命令失败,退出代码为 1(使用 -v 查看调用)

这是我运行 pod install 后终端的输出:

$ pod install
Analyzing dependencies
Downloading dependencies
Using AFNetworking (1.3.3)
Using ISO8601DateFormatterValueTransformer (0.5.0)
Using RKValueTransformers (1.0.1)
Using RestKit (0.22.0)
Using SOCKit (1.1)
Using TransitionKit (2.0.0)
Generating Pods project
Integrating client project

以及 pod --version 的输出:

$  pod --version
0.29.0

我也知道通常使用 RestKit 我应该在 libRestKit.a 中链接,但它没有出现在我的列表中。

【问题讨论】:

标签: ios objective-c cocoapods restkit


【解决方案1】:

修好了!由于我是 cocoapods 的新手,我不知道我必须打开工作区文件而不是项目文件。很简单:)

library not found for -lPods

【讨论】:

    猜你喜欢
    • 2015-12-13
    • 1970-01-01
    • 1970-01-01
    • 2016-09-20
    • 2015-04-04
    • 2013-09-29
    • 2015-02-25
    • 1970-01-01
    • 2015-03-17
    相关资源
    最近更新 更多