When I go to "archive" action in xCode, the action fails at this line:
#import <RestKit/RestKit.h>
I can run/build a project, and can even do "build for archiving". But when I try to archive the app for the app store, the action fails.
The symptom is that I need to build the project twice for it to run. It feels like this has something to do with build scripts and the copying of the rest kit header action. But I have no experience debugging build scripts.
Has anyone experienced this issue before? How can I archive a project with the rest kit project included ?
Thank you!