Header Search Paths when archiving app with StorageRoomKit
I'm working on an app that uses your StorageRoomKit Library and I got it working on the simulator but it wont archive. I get the following error:
#import <StorageRoomKit/StorageRoomKit.h>
'StorageRoomKit/StorageRoomKit.h' file not found
I know its a problem with my header search paths but I don't understand why its not working for the archive if it runs fine on the simulator.
Oh, and "Build for Archive" works but "Archive" puts up an error.
More Info:
Xcode 4.5 (Preview 4)
Tried restarting computer and xcode, etc.
Tried deleting workspace.
Tried Clean.
Thanks,
Andrew
Support Staff 2 Posted by Sascha on 15 Aug, 2012 10:12 AM
Hi Andrew,
we used to have this problem sometimes with the old version of our SDK, which was using nested libraries (https://github.com/thriventures/StorageRoomKit-Obsolete-Version).
Are you using that version or do you use the latest SDK (https://github.com/thriventures/StorageRoomKit)?
Best,
Sascha
3 Posted by boos1993 on 20 Aug, 2012 06:49 PM
I'm using the the latest SDK from the link you supplied.
I followed the instructions from
https://github.com/thriventures/StorageRoomKit
to install restkit and StorageRoomKit. I followed the directions 100% but I couldn't get it to work for me. Have you tested it using Xcode 4.5 and iOS6 Beta?
4 Posted by Marian on 21 Aug, 2012 11:46 AM
Hi,
I got this working by modifying the header search paths on StorageRoomKit to "$(BUILT_PRODUCTS_DIR)/../../Headers"
You will also have to check some warnings. You can go through my fork : https://github.com/ipodishima/StorageRoomKit
Support Staff 5 Posted by Sascha on 22 Aug, 2012 07:48 AM
Marian, thanks for jumping in!
Andrew, were you able to fix your problem?
We'll update our SDK soon to fix this for everybody.