Ok so basically I have been stuck 2 days in the same, and it appears that anybadoy has my problem, so if anybody can help I would be very thankful!!!!
I have my inappPurchaseManager.h
#import <StoreKit/StoreKit.h>
#define kInAppPurchaseManagerProductsFetchedNotification @"kInAppPurchaseManagerProductsFetchedNotification"
@interface InAppPurchaseManager : NSObject <SKProductsRequestDelegate>
{
SKProduct *proUpgradeProduct;
SKProductsRequest *productsRequest;
}
- (void)requestProUpgradeProductData;
@end
then in my .m I have
- (void)requestProUpgradeProductData
{
NSSet *productIdentifiers = [NSSet setWithObject:kMyCompany ];
productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers];
productsRequest.delegate = self;
[productsRequest start];
NSLog(@"a");
}
after this my app crashes... with EXC_BAD ACCESS..
I am calling requestProUpgradeProductData from another class
I am using ARC
Thanks A lot!!!