No warning to convert SwiftyStoreKit.framework to Swift 5
Xcode created warnings to convert SwiftyStoreKit.framework to Swift 5
Build the cocoapod in Xcode 10.2
Warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Payment' to 'Hashable' by implementing 'hash(into:)' instead
And warning:
'public' modifier is redundant for property declared in a public extension
Replace 'public ' with ''
in file SKProduct+LocalizedPrice.swift
any plan convert it to swift5 ?
According to the swift converter (apart from the deprecations) you just need to update line 50 of PaymentsController.swift (and of course the Podspec) to move to swift 5:
return payments.firstIndex(of: payment)
I'm keen to stop having the swift runtime added to all my downloads.
Swift 5 is now supported as of version 0.15.0.
See #457.
Thank you!
Most helpful comment
And warning:
'public' modifier is redundant for property declared in a public extension
Replace 'public ' with ''
in file SKProduct+LocalizedPrice.swift