简体   繁体   English

RestKit 和 XCode4 错误

[英]RestKit and XCode4 Error

I'm trying to use RestKit in an XCode4 project, but it's giving me this warning:我正在尝试在 XCode4 项目中使用 RestKit,但它给了我这个警告:

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

I'm not seeing anything in my build settings that points to that directory...我在构建设置中没有看到任何指向该目录的内容...

Any insight is always appreciated.任何见解总是受到赞赏。

I had the same problem.我有同样的问题。 Then I looked at the RKTwitterCoreData example application which is supplied with RestKit.然后我查看了 RestKit 提供的 RKTwitterCoreData 示例应用程序。

In its build settings it doesn't set a value for the "Library Search Paths" (contrary to the RestKit instructions on github).在其构建设置中,它没有为“库搜索路径”设置值(与 github 上的 RestKit 说明相反)。 I removed this setting from my project and it now works.我从我的项目中删除了这个设置,它现在可以工作了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM