jinSasaki / InAppPurchase

A Simple and Lightweight framework for In App Purchase (Store Kit 1)
MIT License
288 stars 30 forks source link

Cocoapod iOS version change #22

Closed cillyfly closed 5 years ago

cillyfly commented 5 years ago

I used InAppPurchase in my podspec and this error shows

ERROR | [iOS] xcodebuild: InAppPurchase/Sources/Product.swift:66:28: error: 'PeriodUnit' is only available on iOS 11.2 or newer

so can you change the ' s.platform = :ios, '9.0'' to " s.platform = :ios, '11.2' " in InAppPurchase.podspec

thank you

jinSasaki commented 5 years ago

@cillyfly I cannot reproduce that. Please tell me about your environment.

jinSasaki commented 5 years ago

@cillyfly I resolved this issue! Please use 2.1.2 or a newer. Thanks! 😄