Im trying to import the StoreKit Framwork.
#import <StoreKit/StoreKit.h>
and in the BuildPhases its also added.
but It gives me an "No such File or Directory" Error.
I tried the iAd Framework to Compare -> Works.
I tried a new Project and added the StoreKit Framework -> Works.
I tried#import "/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h"
Which importet me the StoreKit.h File but all the Imports in that File then threw the "No such File" Error.
I Have no idea where else I can look for the Error.
You need to add the framework to your project before you can import any header files that are inside the framework.
Like the UIKit and foundation frameworks are included into a template project by default so you can use those header files and the goodies they bring, like NSString etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With