Ios5 MKStoreManager挂起buyFeature,错误为:线程1,EXC:访问错误

Ios5 MKStoreManager挂起buyFeature,错误为:线程1,EXC:访问错误,ios5,automatic-ref-counting,mkstorekit,Ios5,Automatic Ref Counting,Mkstorekit,项目退出,错误为:线程1,EXC:访问错误 [[MKStoreManager sharedManager] buyFeature:kFeatureAId onComplete:^(NSString* purchasedFeature) { NSLog(@"Purchased: %@", purchasedFeature); } onCancelled:^ { NSLog(@"User Cancelled Transaction"); }]; 我在我的项目中使用ARC,因此我为JSONKi

项目退出,错误为:线程1,EXC:访问错误

[[MKStoreManager sharedManager] buyFeature:kFeatureAId 
onComplete:^(NSString* purchasedFeature) 
{ NSLog(@"Purchased: %@", purchasedFeature); } 
onCancelled:^ { NSLog(@"User Cancelled Transaction"); }];

我在我的项目中使用ARC,因此我为JSONKit和SFHFKeychainUtils设置了-fno objc ARC标志。

我有一个相同的问题,当我在Xcode4.2上使用此方法时,它会崩溃。不过,它在上一个Xcode上运行得很好。我使用了来自的示例。它起作用了