-
-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[COMPILE ERROR] Property 'subscriptionPeriod' not found on object of type 'SKProduct *' #98
Comments
@Suraj-Tiwari I've just updated the readme and the published new version |
I didn't used Problem occurs when i did
So last night I tried to do some workaround to resolve this issue & now updated from beta-5 to latest and it works perfectly. |
For anyone else who hits this issue, this is where the error originates: if (@available(iOS 11.2, *)) {
itemType = product.subscriptionPeriod ? @"sub" : @"iap";
} Since the module is using an API introduced in iOS 11.2, you'll need to use Xcode 9.2 or later in order to compile the iOS library. |
@neilco yup you are right it was an xcode outdated version issue (as i was super lazy to udate :P ) Issue was fixed after i updated it. |
Version of react-native-iap
Latest
Expected behavior
Successful Compile
Actual behavior
Crash While Compiling Issue is here file #ref
Steps to reprodue the behabior
BUILD environment DEBUG compile. (Existing pod Project)
The text was updated successfully, but these errors were encountered: