【问题标题】:RestKit and XCode4 ErrorRestKit 和 XCode4 错误
【发布时间】:2011-06-13 18:27:54
【问题描述】:

我正在尝试在 XCode4 项目中使用 RestKit,但它给了我这个警告:

ld: warning: directory not found for option '-L/Users/kagi/Coding/iOS/Projects/testProject/RestKit/Build/Debug-iphonesimulator'

我在构建设置中没有看到任何指向该目录的内容...

任何见解都会受到赞赏。

【问题讨论】:

标签: xcode restkit


【解决方案1】:

我遇到了同样的问题。然后我查看了 RestKit 提供的 RKTwitterCoreData 示例应用程序。

在其构建设置中,它为“库搜索路径”设置值(与 github 上的 RestKit 说明相反)。我从我的项目中删除了这个设置,现在它可以工作了。

【讨论】:

  • 我在 RestKit 项目的“库搜索路径”中没有任何内容,但它仍然显示错误 ld: warning: directory not found for option '-L/Users/myname/Projects/../Project/Build/Debug-iphonesimulator'
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2019-05-16
  • 1970-01-01
  • 1970-01-01
  • 2011-12-04
  • 2011-08-22
  • 1970-01-01
  • 2015-10-29
相关资源
最近更新 更多