Search code examples
iosrestkitxcode6.3archiving

restkit.h file not found when archiving using xcode 6


i need your help everyone. i am having an error when archiving an app with restkit. On build it is perfectly ok, but when archiving it generates an error below:

  1. [App location...]/AppDelegate.m:3:9: 'RestKit/RestKit.h' file not found
  2. [App location...]/RestKit/Code/CoreData/CoreData.h:22:9: 'ObjectMapping.h' file not found

Cheers!


Solution

  • Problem solved! the cause is that my Build Settings > Architecture is not set properly.

    Here's what i did: App submission: arm64 and armv7 Simulator: armv7 Device: arm64