russell-archer / StoreHelper

Implementing In-App Purchases with StoreKit2 in Xcode 13 - 15 using SwiftUI, Swift 5.7 - 5.9, iOS 15 - 17 and macOS 12 - 14. Also supports tvOS and visionOS.
MIT License
410 stars 48 forks source link

Compile error: Configuration has no member named "value" #39

Closed charvoa closed 1 year ago

charvoa commented 1 year ago

RestorePurchaseView-ios:22

Here is the non-compiling line :

if let restorePurchasesButtonText = Configuration.restorePurchasesButtonText.value(storeHelper: storeHelper) {

russell-archer commented 1 year ago

Oops! Made some changes yesterday and thought I'd tested on iOS and macOS. Seems I forgot to test on iOS! Fixed now, but I think I need to create some automated tests ;-)