Archive xcode project

My application uses an additional project I have inserted, and I link it and then import it with this code:

#import <SBJson/SBJson.h>

If I run the application normally, the app works fine, but if I press the archive button, there is an error in the line of code reported above. It says: SBJson/SBJson.h file not found. Why is this?? IS it because the JSON is a project I added to my project? Why does it work with the Run and not with the Archive?


You may have linked the SBJSON files, when you probably should actually have copied them into your project.

To fix this, select all of the SBJSON files, right-click and then select "delete". When prompted, select "remove references".

Then, add these files back into your project via File -> Add files to menu and make sure that "copy files" checkbox is selected.

Need Your Help

Push or Merge data into existing Array

php arrays array-merge array-push

When working with existing code, it takes one array and places it into another in the fashion shown below.

Cant write to newly created files

php linux apache

Now, this is an odd issue that suddenly started happening on my server (Arch Linux, fully updated). I have a php script that takes a file, copies it and then reads the copy. I can post the code if