storekit框架在ios模拟器5.1中不起作用

问题描述:

dyld: Symbol not found: _OBJC_CLASS_$_SKStoreProductViewController 
    Referenced from: /Users/fazal/Library/Application Support/iPhone Simulator/5.1/Applications/CCA58B68-1765-4697-BCC9-8EC251CADC66/Motorcycle Race Track Free.app/Motorcycle Race Track Free 
    Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/StoreKit.framework/StoreKit 

这与您之前的问题是一样的问题。 StoreKit框架仅适用于iOS 6.0及更高版本。

SKStoreProductViewController Class Reference

状况
可用在IOS 6.0和更高版本。