本文介绍了存档时,所有RestKit项目都无法构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


解决方案

!!!更新到th最新版本的分支!!!



我刚刚在Xcode 4.2上构建了RKCatalog和RKTwitterCoreData作为存档而没有问题。由于代码签名问题,我失败了。您是否确认使用DerivedData目录构建:

我可以推动将标头rsync转移到已知位置的更改,但我希望对DerivedData进行标准化将简化该过程。


I recently inherited a project that uses restkit (restkit.org). I have started using a branch (402-new-build-process) that is more compatible with xcode4.2.

My project an all the example projects build and run, but when it comes to Archiving an app the build fails:

/Users/AUser/Documents/SubFolder/stable-branches/project-iOS-client/RestKit/Examples/RKTwitterCoreData/Classes/RKTwitterAppDelegate.m:9:9: fatal error: 'RestKit/RestKit.h' file not found [2]
 #import <RestKit/RestKit.h>
         ^
1 error generated.

I have followed the Installation Troubleshooting guide on the project wiki, but this did not work.

As per Blake's answer I am building to the DerivedData directory:

In addition I have tried setting header search to these (in many combinations [just guesses]):

解决方案

!!!Update to the latest version of the branch!!!

I've just built RKCatalog and RKTwitterCoreData as an archive on Xcode 4.2 without issue. I am failing due to a Code Signing issue. Have you confirmed that you are building with the DerivedData directory:

I can push changes that rsync the headers to a known location, but I was hoping that standardizing on DerivedData would simplify the process.

这篇关于存档时,所有RestKit项目都无法构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 04:15