Build Information
Failed to build Glassfy, reference master (38035a
), with Swift 5.10 for watchOS using Xcode 15.4 on 1 Aug 2024 11:11:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Glassfy -destination generic/platform=watchOS
Build Log
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:116:85: note: enclose 'introductoryPrice' in an @available check to silence this warning
msg[@"$INTRO_MONTHLY"] = [self formatPrice:@(introMonthly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:116:103: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$INTRO_MONTHLY"] = [self formatPrice:@(introMonthly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:116:103: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"$INTRO_MONTHLY"] = [self formatPrice:@(introMonthly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:117:83: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$INTRO_YEARLY"] = [self formatPrice:@(introYearly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:117:83: note: enclose 'introductoryPrice' in an @available check to silence this warning
msg[@"$INTRO_YEARLY"] = [self formatPrice:@(introYearly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:117:101: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$INTRO_YEARLY"] = [self formatPrice:@(introYearly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:117:101: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"$INTRO_YEARLY"] = [self formatPrice:@(introYearly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:125:60: warning: 'discounts' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
SKProductDiscount *promo = [[s.product.discounts filteredArrayUsingPredicate:p] firstObject];
^~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:69:62: note: 'discounts' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSArray<SKProductDiscount *> *discounts API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:125:60: note: enclose 'discounts' in an @available check to silence this warning
SKProductDiscount *promo = [[s.product.discounts filteredArrayUsingPredicate:p] firstObject];
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:129:39: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
switch (promo.subscriptionPeriod.unit) {
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:129:39: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
switch (promo.subscriptionPeriod.unit) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:129:58: warning: 'unit' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
switch (promo.subscriptionPeriod.unit) {
^~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:29:52: note: 'unit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductPeriodUnit unit API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:129:58: note: enclose 'unit' in an @available check to silence this warning
switch (promo.subscriptionPeriod.unit) {
^~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:152:50: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:31:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:152:50: note: enclose 'price' in an @available check to silence this warning
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:152:79: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:152:79: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:152:98: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:152:98: note: enclose 'numberOfUnits' in an @available check to silence this warning
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:158:72: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$PROMO_PRICE"] = [self formatPrice:promo.price locale:promo.priceLocale];
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:31:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:158:72: note: enclose 'price' in an @available check to silence this warning
msg[@"$PROMO_PRICE"] = [self formatPrice:promo.price locale:promo.priceLocale];
^~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:158:91: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$PROMO_PRICE"] = [self formatPrice:promo.price locale:promo.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:158:91: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"$PROMO_PRICE"] = [self formatPrice:promo.price locale:promo.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:159:64: warning: 'formatPeriod:unit:locale:' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:10:
/Users/admin/builder/spi-builder-workspace/Source/GYFormatter.h:19:1: note: 'formatPeriod:unit:locale:' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
+ (NSString *)formatPeriod:(NSInteger)perdiod unit:(SKProductPeriodUnit)unit locale:(NSLocale *)locale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:159:64: note: enclose 'formatPeriod:unit:locale:' in an @available check to silence this warning
msg[@"$PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:159:83: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:159:83: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
msg[@"$PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:159:102: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:159:102: note: enclose 'numberOfUnits' in an @available check to silence this warning
msg[@"$PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:160:83: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
unit:promo.subscriptionPeriod.unit
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:160:83: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
unit:promo.subscriptionPeriod.unit
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:160:102: warning: 'unit' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
unit:promo.subscriptionPeriod.unit
^~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:29:52: note: 'unit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductPeriodUnit unit API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:160:102: note: enclose 'unit' in an @available check to silence this warning
unit:promo.subscriptionPeriod.unit
^~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:163:93: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$PROMO_DAILY"] = [self formatPrice:@(promoDaily) locale:promo.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:163:93: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"$PROMO_DAILY"] = [self formatPrice:@(promoDaily) locale:promo.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:164:95: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$PROMO_WEEKLY"] = [self formatPrice:@(promoWeekly) locale:promo.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:164:95: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"$PROMO_WEEKLY"] = [self formatPrice:@(promoWeekly) locale:promo.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:165:97: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$PROMO_MONTHLY"] = [self formatPrice:@(promoMonthly) locale:promo.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:165:97: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"$PROMO_MONTHLY"] = [self formatPrice:@(promoMonthly) locale:promo.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:166:95: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"$PROMO_YEARLY"] = [self formatPrice:@(promoYearly) locale:promo.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:166:95: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"$PROMO_YEARLY"] = [self formatPrice:@(promoYearly) locale:promo.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:222:29: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
if (sku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:222:29: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
if (sku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:222:48: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
if (sku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:222:48: note: enclose 'numberOfUnits' in an @available check to silence this warning
if (sku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:223:43: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
units = (int) sku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:223:43: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
units = (int) sku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:223:62: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
units = (int) sku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:223:62: note: enclose 'numberOfUnits' in an @available check to silence this warning
units = (int) sku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:226:46: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float originalSkuPrice = sku.product.price.floatValue * priceCorrections[i].floatValue / units;
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:42:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:226:46: note: enclose 'price' in an @available check to silence this warning
float originalSkuPrice = sku.product.price.floatValue * priceCorrections[i].floatValue / units;
^~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:233:38: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
if (otherSku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported
from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:233:38: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
if (otherSku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:233:57: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
if (otherSku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:233:57: note: enclose 'numberOfUnits' in an @available check to silence this warning
if (otherSku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:234:52: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
units = (int) otherSku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:234:52: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
units = (int) otherSku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:234:71: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
units = (int) otherSku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:234:71: note: enclose 'numberOfUnits' in an @available check to silence this warning
units = (int) otherSku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:237:60: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float originalOtherSkuPrice = otherSku.product.price.floatValue * priceCorrections[j].floatValue / units;
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:42:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallNoCodeJsonProvider.m:237:60: note: enclose 'price' in an @available check to silence this warning
float originalOtherSkuPrice = otherSku.product.price.floatValue * priceCorrections[j].floatValue / units;
^~~~~
86 warnings generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallViewController.o /Users/admin/builder/spi-builder-workspace/Source/GYPaywallViewController.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos10.5-21T569-607812366920c826b3ec796033b57e80.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallViewController.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallViewController.dia -c /Users/admin/builder/spi-builder-workspace/Source/GYPaywallViewController.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallViewController.o -index-unit-output-path /Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallViewController.o
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallViewController.m:9:9: fatal error: 'WebKit/WebKit.h' file not found
#import <WebKit/WebKit.h>
^~~~~~~~~~~~~~~~~
1 error generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallJsonProvider.o /Users/admin/builder/spi-builder-workspace/Source/GYPaywallJsonProvider.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos10.5-21T569-607812366920c826b3ec796033b57e80.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallJsonProvider.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallJsonProvider.dia -c /Users/admin/builder/spi-builder-workspace/Source/GYPaywallJsonProvider.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallJsonProvider.o -index-unit-output-path /Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallJsonProvider.o
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallJsonProvider.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:35:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYSku.h:27:32: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
@property(nonatomic, readonly) SKProduct *product;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:9:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallJsonProvider.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:35:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYSku.h:22:12: note: annotate 'GYSku' with an availability attribute to silence this warning
@interface GYSku : GYSkuBase
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallJsonProvider.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:39:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYTransaction.h:22:32: warning: 'SKPaymentTransaction' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
@property(nonatomic, readonly) SKPaymentTransaction *paymentTransaction;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:9:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentTransaction.h:24:112: note: 'SKPaymentTransaction' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKPaymentTransaction : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallJsonProvider.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:39:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYTransaction.h:15:12: note: annotate 'GYTransaction' with an availability attribute to silence this warning
@interface GYTransaction : NSObject
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallJsonProvider.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:45:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYPaywallViewController.h:24:38: error: cannot find interface declaration for 'UIViewController', superclass of 'GYPaywallViewController'
@interface GYPaywallViewController : UIViewController
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallJsonProvider.m:36:31: error: property 'currentTraitCollection' not found on object of type 'UITraitCollection'
if (UITraitCollection.currentTraitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) {
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallJsonProvider.m:36:76: error: use of undeclared identifier 'UIUserInterfaceStyleDark'
if (UITraitCollection.currentTraitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) {
^
2 warnings and 3 errors generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallHtmlJsonProvider.o /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos10.5-21T569-607812366920c826b3ec796033b57e80.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallHtmlJsonProvider.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallHtmlJsonProvider.dia -c /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallHtmlJsonProvider.o -index-unit-output-path /Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallHtmlJsonProvider.o
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:35:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYSku.h:27:32: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
@property(nonatomic, readonly) SKProduct *product;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:35:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYSku.h:22:12: note: annotate 'GYSku' with an availability attribute to silence this warning
@interface GYSku : GYSkuBase
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:39:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYTransaction.h:22:32: warning: 'SKPaymentTransaction' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
@property(nonatomic, readonly) SKPaymentTransaction *paymentTransaction;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentTransaction.h:24:112: note: 'SKPaymentTransaction' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKPaymentTransaction : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:39:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYTransaction.h:15:12: note: annotate 'GYTransaction' with an availability attribute to silence this warning
@interface GYTransaction : NSObject
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:45:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYPaywallViewController.h:24:38: error: cannot find interface declaration for 'UIViewController', superclass of 'GYPaywallViewController'
@interface GYPaywallViewController : UIViewController
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:13:
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:15:33: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
+ (instancetype)skuWithProduct:(SKProduct *)product;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:13:
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:15:1: note: annotate 'skuWithProduct:' with an availability attribute to silence this warning
+ (instancetype)skuWithProduct:(SKProduct *)product;
^
API_AVAILABLE(watchos(6.2))
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:16:77: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
+ (NSArray<GYSku*> *)matchSkus:(NSArray<GYSku*>*)skus withProducts:(NSArray<SKProduct*> *)products;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:13:
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:16:1: note: annotate 'matchSkus:withProducts:' with an availability attribute to silence this warning
+ (NSArray<GYSku*> *)matchSkus:(NSArray<GYSku*>*)skus withProducts:(NSArray<SKProduct*> *)products;
^
API_AVAILABLE(watchos(6.2))
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:22:40: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
@property(nonatomic, nullable, strong) SKProduct *product;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:13:
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:14:12: note: annotate 'Private' with an availability attribute to silence this warning
@interface GYSku (Private) <GYDecodeProtocol, GYEncodeProtocol>
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:26:42: warning: 'formatUnit:locale:' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
commonMsg[@"DAY"] = [GYFormatter formatUnit:SKProductPeriodUnitDay locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:11:
/Users/admin/builder/spi-builder-workspace/Source/GYFormatter.h:20:1: note: 'formatUnit:locale:' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
+ (NSString *)formatUnit:(SKProductPeriodUnit)unit locale:(NSLocale *)locale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:26:42: note: enclose 'formatUnit:locale:' in an @available check to silence this warning
commonMsg[@"DAY"] = [GYFormatter formatUnit:SKProductPeriodUnitDay locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:26:53: warning: 'SKProductPeriodUnitDay' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
commonMsg[@"DAY"] = [GYFormatter formatUnit:SKProductPeriodUnitDay locale:locale];
^~~~~~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:13:29: note: 'SKProductPeriodUnit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
typedef NS_ENUM(NSUInteger, SKProductPeriodUnit) {
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:26:53: note: enclose 'SKProductPeriodUnitDay' in an @available check to silence this warning
commonMsg[@"DAY"] = [GYFormatter formatUnit:SKProductPeriodUnitDay locale:locale];
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:27:43: warning: 'formatUnit:locale:' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
commonMsg[@"WEEK"] = [GYFormatter formatUnit:SKProductPeriodUnitWeek locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:11:
/Users/admin/builder/spi-builder-workspace/Source/GYFormatter.h:20:1: note: 'formatUnit:locale:' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
+ (NSString *)formatUnit:(SKProductPeriodUnit)unit locale:(NSLocale *)locale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:27:43: note: enclose 'formatUnit:locale:' in an @available check to silence this warning
commonMsg[@"WEEK"] = [GYFormatter formatUnit:SKProductPeriodUnitWeek locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:27:54: warning: 'SKProductPeriodUnitWeek' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
commonMsg[@"WEEK"] = [GYFormatter formatUnit:SKProductPeriodUnitWeek locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:13:29: note: 'SKProductPeriodUnit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
typedef NS_ENUM(NSUInteger, SKProductPeriodUnit) {
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:27:54: note: enclose 'SKProductPeriodUnitWeek' in an @available check to silence this warning
commonMsg[@"WEEK"] = [GYFormatter formatUnit:SKProductPeriodUnitWeek locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:28:44: warning: 'formatUnit:locale:' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
commonMsg[@"MONTH"] = [GYFormatter formatUnit:SKProductPeriodUnitMonth locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:11:
/Users/admin/builder/spi-builder-workspace/Source/GYFormatter.h:20:1: note: 'formatUnit:locale:' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
+ (NSString *)formatUnit:(SKProductPeriodUnit)unit locale:(NSLocale *)locale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:28:44: note: enclose 'formatUnit:locale:' in an @available check to silence this warning
commonMsg[@"MONTH"] = [GYFormatter formatUnit:SKProductPeriodUnitMonth locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:28:55: warning: 'SKProductPeriodUnitMonth' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
commonMsg[@"MONTH"] = [GYFormatter formatUnit:SKProductPeriodUnitMonth locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:13:29: note: 'SKProductPeriodUnit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
typedef NS_ENUM(NSUInteger, SKProductPeriodUnit) {
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:28:55: note: enclose 'SKProductPeriodUnitMonth' in an @available check to silence this warning
commonMsg[@"MONTH"] = [GYFormatter formatUnit:SKProductPeriodUnitMonth locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:29:43: warning: 'formatUnit:locale:' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
commonMsg[@"YEAR"] = [GYFormatter formatUnit:SKProductPeriodUnitYear locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:11:
/Users/admin/builder/spi-builder-workspace/Source/GYFormatter.h:20:1: note: 'formatUnit:locale:' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
+ (NSString *)formatUnit:(SKProductPeriodUnit)unit locale:(NSLocale *)locale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:29:43: note: enclose 'formatUnit:locale:' in an @available check to silence this warning
commonMsg[@"YEAR"] = [GYFormatter formatUnit:SKProductPeriodUnitYear locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:29:54: warning: 'SKProductPeriodUnitYear' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
commonMsg[@"YEAR"] = [GYFormatter formatUnit:SKProductPeriodUnitYear locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:13:29: note: 'SKProductPeriodUnit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
typedef NS_ENUM(NSUInteger, SKProductPeriodUnit) {
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:29:54: note: enclose 'SKProductPeriodUnitYear' in an @available check to silence this warning
commonMsg[@"YEAR"] = [GYFormatter formatUnit:SKProductPeriodUnitYear locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:34:9: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
SKProduct *p = s.product;
^~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:34:9: note: enclose 'SKProduct' in an @available check to silence this warning
SKProduct *p = s.product;
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:37:27: warning: 'localizedTitle' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"TITLE"] = p.localizedTitle;
^~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:40:42: note: 'localizedTitle' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSString *localizedTitle API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:37:27: note: enclose 'localizedTitle' in an @available check to silence this warning
msg[@"TITLE"] = p.localizedTitle;
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:38:33: warning: 'localizedDescription' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"DESCRIPTION"] = p.localizedDescription;
^~~~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:38:42: note: 'localizedDescription' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSString *localizedDescription API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:38:33: note: enclose 'localizedDescription' in an @available check to silence this warning
msg[@"DESCRIPTION"] = p.localizedDescription;
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:39:54: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_PRICE"] = [self formatPrice:p.price locale:p.priceLocale];
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:42:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:39:54: note: enclose 'price' in an @available check to silence this warning
msg[@"ORIGINAL_PRICE"] = [self formatPrice:p.price locale:p.priceLocale];
^~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:39:69: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_PRICE"] = [self formatPrice:p.price locale:p.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:44:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:39:69: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"ORIGINAL_PRICE"] = [self formatPrice:p.price locale:p.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:44:23: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
switch (p.subscriptionPeriod.unit) {
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:44:23: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
switch (p.subscriptionPeriod.unit) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:44:42: warning: 'unit' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
switch (p.subscriptionPeriod.unit) {
^~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:29:52: note: 'unit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductPeriodUnit unit API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:44:42: note: enclose 'unit' in an @available check to silence this warning
switch (p.subscriptionPeriod.unit) {
^~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:68:34: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float priceDaily = p.price.floatValue * k / p.subscriptionPeriod.numberOfUnits;
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:42:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:68:34: note: enclose 'price' in an @available check to silence this warning
float priceDaily = p.price.floatValue * k / p.subscriptionPeriod.numberOfUnits;
^~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:68:59: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float priceDaily = p.price.floatValue * k / p.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:68:59: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
float priceDaily = p.price.floatValue * k / p.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:68:78: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float priceDaily = p.price.floatValue * k / p.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:68:78: note: enclose 'numberOfUnits' in an @available check to silence this warning
float priceDaily = p.price.floatValue * k / p.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:73:54: warning: 'formatPeriod:unit:locale:' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_DURATION"] = [GYFormatter formatPeriod:p.subscriptionPeriod.numberOfUnits unit:p.subscriptionPeriod.unit locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:11:
/Users/admin/builder/spi-builder-workspace/Source/GYFormatter.h:19:1: note: 'formatPeriod:unit:locale:' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
+ (NSString *)formatPeriod:(NSInteger)perdiod unit:(SKProductPeriodUnit)unit locale:(NSLocale *)locale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:73:54: note: enclose 'formatPeriod:unit:locale:' in an @available check to silence this warning
msg[@"ORIGINAL_DURATION"] = [GYFormatter formatPeriod:p.subscriptionPeriod.numberOfUnits unit:p.subscriptionPeriod.unit locale:locale];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:73:69: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_DURATION"] = [GYFormatter formatPeriod:p.subscriptionPeriod.numberOfUnits unit:p.subscriptionPeriod.unit locale:locale];
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:73:69: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
msg[@"ORIGINAL_DURATION"] = [GYFormatter formatPeriod:p.subscriptionPeriod.numberOfUnits unit:p.subscriptionPeriod.unit locale:locale];
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:73:88: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_DURATION"] = [GYFormatter formatPeriod:p.subscriptionPeriod.numberOfUnits unit:p.subscriptionPeriod.unit locale:locale];
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:73:88: note: enclose 'numberOfUnits' in an @available check to silence this warning
msg[@"ORIGINAL_DURATION"] = [GYFormatter formatPeriod:p.subscriptionPeriod.numberOfUnits unit:p.subscriptionPeriod.unit locale:locale];
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:73:109: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_DURATION"] = [GYFormatter formatPeriod:p.subscriptionPeriod.numberOfUnits unit:p.subscriptionPeriod.unit locale:locale];
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:73:109: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
msg[@"ORIGINAL_DURATION"] = [GYFormatter formatPeriod:p.subscriptionPeriod.numberOfUnits unit:p.subscriptionPeriod.unit locale:locale];
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:73:128: warning: 'unit' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_DURATION"] = [GYFormatter formatPeriod:p.subscriptionPeriod.numberOfUnits unit:p.subscriptionPeriod.unit locale:locale];
^~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:29:52: note: 'unit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductPeriodUnit unit API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:73:128: note: enclose 'unit' in an @available check to silence this warning
msg[@"ORIGINAL_DURATION"] = [GYFormatter formatPeriod:p.subscriptionPeriod.numberOfUnits unit:p.subscriptionPeriod.unit locale:locale];
^~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:75:79: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_DAILY"] = [self formatPrice:@(priceDaily) locale:p.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:44:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:75:79: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"ORIGINAL_DAILY"] = [self formatPrice:@(priceDaily) locale:p.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:76:81: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_WEEKLY"] = [self formatPrice:@(priceWeekly) locale:p.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:44:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:76:81: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"ORIGINAL_WEEKLY"] = [self formatPrice:@(priceWeekly) locale:p.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:77:83: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_MONTHLY"] = [self formatPrice:@(priceMonthly) locale:p.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:44:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:77:83: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"ORIGINAL_MONTHLY"] = [self formatPrice:@(priceMonthly) locale:p.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:78:81: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"ORIGINAL_YEARLY"] = [self formatPrice:@(priceYearly) locale:p.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:44:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:78:81: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"ORIGINAL_YEARLY"] = [self formatPrice:@(priceYearly) locale:p.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:80:19: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
if (p.introductoryPrice) {
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:80:19: note: enclose 'introductoryPrice' in an @available check to silence this warning
if (p.introductoryPrice) {
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:82:27: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
switch (p.introductoryPrice.subscriptionPeriod.unit) {
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:82:27: note: enclose 'introductoryPrice' in an @available check to silence this warning
switch (p.introductoryPrice.subscriptionPeriod.unit) {
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:82:45: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
switch (p.introductoryPrice.subscriptionPeriod.unit) {
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:82:45: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
switch (p.introductoryPrice.subscriptionPeriod.unit) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:82:64: warning: 'unit' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
switch (p.introductoryPrice.subscriptionPeriod.unit) {
^~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:29:52: note: 'unit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductPeriodUnit unit API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:82:64: note: enclose 'unit' in an @available check to silence this warning
switch (p.introductoryPrice.subscriptionPeriod.unit) {
^~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:105:38: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float introDaily = p.introductoryPrice.price.floatValue * k / p.introductoryPrice.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:105:38: note: enclose 'introductoryPrice' in an @available check to silence this warning
float introDaily = p.introductoryPrice.price.floatValue * k / p.introductoryPrice.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:105:56: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float introDaily = p.introductoryPrice.price.floatValue * k / p.introductoryPrice.subscriptionPeriod.numberOfUnits;
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:31:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:105:56: note: enclose 'price' in an @available check to silence this warning
float introDaily = p.introductoryPrice.price.floatValue * k / p.introductoryPrice.subscriptionPeriod.numberOfUnits;
^~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:105:81: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float introDaily = p.introductoryPrice.price.floatValue * k / p.introductoryPrice.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:105:81: note: enclose 'introductoryPrice' in an @available check to silence this warning
float introDaily = p.introductoryPrice.price.floatValue * k / p.introductoryPrice.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:105:99: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float introDaily = p.introductoryPrice.price.floatValue * k / p.introductoryPrice.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:105:99: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
float introDaily = p.introductoryPrice.price.floatValue * k / p.introductoryPrice.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:105:118: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float introDaily = p.introductoryPrice.price.floatValue * k / p.introductoryPrice.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:105:118: note: enclose 'numberOfUnits' in an @available check to silence this warning
float introDaily = p.introductoryPrice.price.floatValue * k / p.introductoryPrice.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:111:59: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_PRICE"] = [self formatPrice:p.introductoryPrice.price locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:111:59: note: enclose 'introductoryPrice' in an @available check to silence this warning
msg[@"INTRO_PRICE"] = [self formatPrice:p.introductoryPrice.price locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:111:77: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_PRICE"] = [self formatPrice:p.introductoryPrice.price locale:p.introductoryPrice.priceLocale];
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:31:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:111:77: note: enclose 'price' in an @available check to silence this warning
msg[@"INTRO_PRICE"] = [self formatPrice:p.introductoryPrice.price locale:p.introductoryPrice.priceLocale];
^~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:111:92: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_PRICE"] = [self formatPrice:p.introductoryPrice.price locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:111:92: note: enclose 'introductoryPrice' in an @available check to silence this warning
msg[@"INTRO_PRICE"] = [self formatPrice:p.introductoryPrice.price locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:111:110: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_PRICE"] = [self formatPrice:p.introductoryPrice.price locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:111:110: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"INTRO_PRICE"] = [self formatPrice:p.introductoryPrice.price locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:112:55: warning: 'formatPeriod:unit:locale:' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_DURATION"] = [GYFormatter formatPeriod:p.introductoryPrice.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:11:
/Users/admin/builder/spi-builder-workspace/Source/GYFormatter.h:19:1: note: 'formatPeriod:unit:locale:' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
+ (NSString *)formatPeriod:(NSInteger)perdiod unit:(SKProductPeriodUnit)unit locale:(NSLocale *)locale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:112:55: note: enclose 'formatPeriod:unit:locale:' in an @available check to silence this warning
msg[@"INTRO_DURATION"] = [GYFormatter formatPeriod:p.introductoryPrice.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:112:70: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_DURATION"] = [GYFormatter formatPeriod:p.introductoryPrice.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:112:70: note: enclose 'introductoryPrice' in an @available check to silence this warning
msg[@"INTRO_DURATION"] = [GYFormatter formatPeriod:p.introductoryPrice.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:112:88: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_DURATION"] = [GYFormatter formatPeriod:p.introductoryPrice.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:112:88: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
msg[@"INTRO_DURATION"] = [GYFormatter formatPeriod:p.introductoryPrice.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:112:107: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_DURATION"] = [GYFormatter formatPeriod:p.introductoryPrice.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:112:107: note: enclose 'numberOfUnits' in an @available check to silence this warning
msg[@"INTRO_DURATION"] = [GYFormatter formatPeriod:p.introductoryPrice.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:113:70: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
unit:p.introductoryPrice.subscriptionPeriod.unit
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:113:70: note: enclose 'introductoryPrice' in an @available check to silence this warning
unit:p.introductoryPrice.subscriptionPeriod.unit
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:113:88: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
unit:p.introductoryPrice.subscriptionPeriod.unit
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:113:88: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
unit:p.introductoryPrice.subscriptionPeriod.unit
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:113:107: warning: 'unit' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
unit:p.introductoryPrice.subscriptionPeriod.unit
^~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:29:52: note: 'unit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductPeriodUnit unit API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:113:107: note: enclose 'unit' in an @available check to silence this warning
unit:p.introductoryPrice.subscriptionPeriod.unit
^~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:116:80: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_DAILY"] = [self formatPrice:@(introDaily) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:116:80: note: enclose 'introductoryPrice' in an @available check to silence this warning
msg[@"INTRO_DAILY"] = [self formatPrice:@(introDaily) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:116:98: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_DAILY"] = [self formatPrice:@(introDaily) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:116:98: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"INTRO_DAILY"] = [self formatPrice:@(introDaily) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:117:82: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_WEEKLY"] = [self formatPrice:@(introWeekly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:117:82: note: enclose 'introductoryPrice' in an @available check to silence this warning
msg[@"INTRO_WEEKLY"] = [self formatPrice:@(introWeekly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:117:100: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_WEEKLY"] = [self formatPrice:@(introWeekly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:117:100: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"INTRO_WEEKLY"] = [self formatPrice:@(introWeekly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:118:84: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_MONTHLY"] = [self formatPrice:@(introMonthly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:118:84: note: enclose 'introductoryPrice' in an @available check to silence this warning
msg[@"INTRO_MONTHLY"] = [self formatPrice:@(introMonthly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:118:102: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_MONTHLY"] = [self formatPrice:@(introMonthly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:118:102: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"INTRO_MONTHLY"] = [self formatPrice:@(introMonthly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:119:82: warning: 'introductoryPrice' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_YEARLY"] = [self formatPrice:@(introYearly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:65:61: note: 'introductoryPrice' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:119:82: note: enclose 'introductoryPrice' in an @available check to silence this warning
msg[@"INTRO_YEARLY"] = [self formatPrice:@(introYearly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:119:100: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"INTRO_YEARLY"] = [self formatPrice:@(introYearly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:119:100: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"INTRO_YEARLY"] = [self formatPrice:@(introYearly) locale:p.introductoryPrice.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:127:60: warning: 'discounts' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
SKProductDiscount *promo = [[s.product.discounts filteredArrayUsingPredicate:p] firstObject];
^~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:69:62: note: 'discounts' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSArray<SKProductDiscount *> *discounts API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:127:60: note: enclose 'discounts' in an @available check to silence this warning
SKProductDiscount *promo = [[s.product.discounts filteredArrayUsingPredicate:p] firstObject];
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:131:39: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
switch (promo.subscriptionPeriod.unit) {
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:131:39: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
switch (promo.subscriptionPeriod.unit) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:131:58: warning: 'unit' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
switch (promo.subscriptionPeriod.unit) {
^~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:29:52: note: 'unit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductPeriodUnit unit API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:131:58: note: enclose 'unit' in an @available check to silence this warning
switch (promo.subscriptionPeriod.unit) {
^~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:154:50: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:31:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:154:50: note: enclose 'price' in an @available check to silence this warning
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:154:79: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:154:79: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:154:98: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:154:98: note: enclose 'numberOfUnits' in an @available check to silence this warning
float promoDaily = promo.price.floatValue * k / promo.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:160:71: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"PROMO_PRICE"] = [self formatPrice:promo.price locale:promo.priceLocale];
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:31:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:160:71: note: enclose 'price' in an @available check to silence this warning
msg[@"PROMO_PRICE"] = [self formatPrice:promo.price locale:promo.priceLocale];
^~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:160:90: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"PROMO_PRICE"] = [self formatPrice:promo.price locale:promo.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:160:90: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"PROMO_PRICE"] = [self formatPrice:promo.price locale:promo.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:161:63: warning: 'formatPeriod:unit:locale:' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:11:
/Users/admin/builder/spi-builder-workspace/Source/GYFormatter.h:19:1: note: 'formatPeriod:unit:locale:' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
+ (NSString *)formatPeriod:(NSInteger)perdiod unit:(SKProductPeriodUnit)unit locale:(NSLocale *)locale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:161:63: note: enclose 'formatPeriod:unit:locale:' in an @available check to silence this warning
msg[@"PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:161:82: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:161:82: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
msg[@"PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:161:101: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:161:101: note: enclose 'numberOfUnits' in an @available check to silence this warning
msg[@"PROMO_DURATION"] = [GYFormatter formatPeriod:promo.subscriptionPeriod.numberOfUnits
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:162:82: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
unit:promo.subscriptionPeriod.unit
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:37:61: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:162:82: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
unit:promo.subscriptionPeriod.unit
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:162:101: warning: 'unit' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
unit:promo.subscriptionPeriod.unit
^~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:29:52: note: 'unit' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) SKProductPeriodUnit unit API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:162:101: note: enclose 'unit' in an @available check to silence this warning
unit:promo.subscriptionPeriod.unit
^~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:165:92: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"PROMO_DAILY"] = [self formatPrice:@(promoDaily) locale:promo.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:165:92: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"PROMO_DAILY"] = [self formatPrice:@(promoDaily) locale:promo.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:166:94: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"PROMO_WEEKLY"] = [self formatPrice:@(promoWeekly) locale:promo.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:166:94: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"PROMO_WEEKLY"] = [self formatPrice:@(promoWeekly) locale:promo.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:167:96: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"PROMO_MONTHLY"] = [self formatPrice:@(promoMonthly) locale:promo.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:167:96: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"PROMO_MONTHLY"] = [self formatPrice:@(promoMonthly) locale:promo.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:168:94: warning: 'priceLocale' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
msg[@"PROMO_YEARLY"] = [self formatPrice:@(promoYearly) locale:promo.priceLocale];
^~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h:33:42: note: 'priceLocale' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:168:94: note: enclose 'priceLocale' in an @available check to silence this warning
msg[@"PROMO_YEARLY"] = [self formatPrice:@(promoYearly) locale:promo.priceLocale];
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:224:29: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
if (sku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:224:29: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
if (sku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:224:48: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
if (sku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:224:48: note: enclose 'numberOfUnits' in an @available check to silence this warning
if (sku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:225:43: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
units = (int) sku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:225:43: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
units = (int) sku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:225:62: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
units = (int) sku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:225:62: note: enclose 'numberOfUnits' in an @available check to silence this warning
units = (int) sku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:228:46: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float originalSkuPrice = sku.product.price.floatValue * priceCorrections[i].floatValue / units;
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:42:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:228:46: note: enclose 'price' in an @available check to silence this warning
float originalSkuPrice = sku.product.price.floatValue * priceCorrections[i].floatValue / units;
^~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:235:38: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
if (otherSku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:235:38: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
if (otherSku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:235:57: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
if (otherSku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:235:57: note: enclose 'numberOfUnits' in an @available check to silence this warning
if (otherSku.product.subscriptionPeriod.numberOfUnits != 0) {
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:236:52: warning: 'subscriptionPeriod' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
units = (int) otherSku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:63:71: note: 'subscriptionPeriod' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:236:52: note: enclose 'subscriptionPeriod' in an @available check to silence this warning
units = (int) otherSku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:236:71: warning: 'numberOfUnits' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
units = (int) otherSku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:27:43: note: 'numberOfUnits' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:236:71: note: enclose 'numberOfUnits' in an @available check to silence this warning
units = (int) otherSku.product.subscriptionPeriod.numberOfUnits;
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:239:60: warning: 'price' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
float originalOtherSkuPrice = otherSku.product.price.floatValue * priceCorrections[j].floatValue / units;
^~~~~
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:8:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:42:49: note: 'price' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0));
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m:239:60: note: enclose 'price' in an @available check to silence this warning
float originalOtherSkuPrice = otherSku.product.price.floatValue * priceCorrections[j].floatValue / units;
^~~~~
87 warnings and 1 error generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywall.o /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos10.5-21T569-607812366920c826b3ec796033b57e80.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywall.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywall.dia -c /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywall.o -index-unit-output-path /Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywall.o
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:35:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYSku.h:27:32: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
@property(nonatomic, readonly) SKProduct *product;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:9:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:35:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYSku.h:22:12: note: annotate 'GYSku' with an availability attribute to silence this warning
@interface GYSku : GYSkuBase
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:39:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYTransaction.h:22:32: warning: 'SKPaymentTransaction' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
@property(nonatomic, readonly) SKPaymentTransaction *paymentTransaction;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:9:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentTransaction.h:24:112: note: 'SKPaymentTransaction' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKPaymentTransaction : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:39:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYTransaction.h:15:12: note: annotate 'GYTransaction' with an availability attribute to silence this warning
@interface GYTransaction : NSObject
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:45:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYPaywallViewController.h:24:38: error: cannot find interface declaration for 'UIViewController', superclass of 'GYPaywallViewController'
@interface GYPaywallViewController : UIViewController
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:10:
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:15:33: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
+ (instancetype)skuWithProduct:(SKProduct *)product;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:9:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:10:
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:15:1: note: annotate 'skuWithProduct:' with an availability attribute to silence this warning
+ (instancetype)skuWithProduct:(SKProduct *)product;
^
API_AVAILABLE(watchos(6.2))
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:16:77: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
+ (NSArray<GYSku*> *)matchSkus:(NSArray<GYSku*>*)skus withProducts:(NSArray<SKProduct*> *)products;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:9:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:10:
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:16:1: note: annotate 'matchSkus:withProducts:' with an availability attribute to silence this warning
+ (NSArray<GYSku*> *)matchSkus:(NSArray<GYSku*>*)skus withProducts:(NSArray<SKProduct*> *)products;
^
API_AVAILABLE(watchos(6.2))
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:22:40: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
@property(nonatomic, nullable, strong) SKProduct *product;
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:9:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:10:
/Users/admin/builder/spi-builder-workspace/Source/GYSku+Private.h:14:12: note: annotate 'Private' with an availability attribute to silence this warning
@interface GYSku (Private) <GYDecodeProtocol, GYEncodeProtocol>
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:91:4: error: 'GYPaywallViewController' is unavailable: not available on watchOS
- (GYPaywallViewController *)viewController {
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:45:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYPaywallViewController.h:24:12: note: 'GYPaywallViewController' has been explicitly marked unavailable here
@interface GYPaywallViewController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:92:37: error: 'GYPaywallViewController' is unavailable: not available on watchOS
return [GYPaywallViewController instanceWithPaywall:self];
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Glassfy+Private.h:8:
In file included from /Users/admin/builder/spi-builder-workspace/Source/Public/Glassfy.h:45:
/Users/admin/builder/spi-builder-workspace/Source/Public/GYPaywallViewController.h:24:12: note: 'GYPaywallViewController' has been explicitly marked unavailable here
@interface GYPaywallViewController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:92:37: error: 'instanceWithPaywall:' is unavailable: not available on watchOS
return [GYPaywallViewController instanceWithPaywall:self];
^
In file included from /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m:13:
/Users/admin/builder/spi-builder-workspace/Source/GYPaywallViewController+Private.h:19:1: note: 'instanceWithPaywall:' has been explicitly marked unavailable here
+ (GYPaywallViewController*)instanceWithPaywall:(GYPaywall *)paywall;
^
5 warnings and 4 errors generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYOffering.o /Users/admin/builder/spi-builder-workspace/Source/GYOffering.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos10.5-21T569-607812366920c826b3ec796033b57e80.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYOffering.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYOffering.dia -c /Users/admin/builder/spi-builder-workspace/Source/GYOffering.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYOffering.o -index-unit-output-path /Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYOffering.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYOfferings.o /Users/admin/builder/spi-builder-workspace/Source/GYOfferings.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos10.5-21T569-607812366920c826b3ec796033b57e80.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYOfferings.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYOfferings.dia -c /Users/admin/builder/spi-builder-workspace/Source/GYOfferings.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYOfferings.o -index-unit-output-path /Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYOfferings.o
/Users/admin/builder/spi-builder-workspace/Source/GYOfferings.m:18:89: warning: 'SKProduct' is only available on watchOS 6.2 or newer [-Wunguarded-availability-new]
+ (instancetype)offeringsWithOffers:(NSArray<GYOffering*> *)offerings products:(NSArray<SKProduct*> *)products
^
In module 'StoreKit' imported from /Users/admin/builder/spi-builder-workspace/Source/GYOfferings.m:10:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h:33:112: note: 'SKProduct' has been marked as being introduced in watchOS 6.2 here, but the deployment target is watchOS 5.0.0
SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), visionos(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Source/GYOfferings.m:18:1: note: annotate 'offeringsWithOffers:products:' with an availability attribute to silence this warning
+ (instancetype)offeringsWithOffers:(NSArray<GYOffering*> *)offerings products:(NSArray<SKProduct*> *)products
^
1 warning generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYManager.o /Users/admin/builder/spi-builder-workspace/Source/GYManager.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos10.5-21T569-607812366920c826b3ec796033b57e80.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYManager.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYManager.dia -c /Users/admin/builder/spi-builder-workspace/Source/GYManager.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYManager.o -index-unit-output-path /Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYManager.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYLogger.o /Users/admin/builder/spi-builder-workspace/Source/GYLogger.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos10.5-21T569-607812366920c826b3ec796033b57e80.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYLogger.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYLogger.dia -c /Users/admin/builder/spi-builder-workspace/Source/GYLogger.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYLogger.o -index-unit-output-path /Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYLogger.o
** BUILD FAILED **
The following build commands failed:
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/Glassfy.o /Users/admin/builder/spi-builder-workspace/Source/Glassfy.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYSysInfo.o /Users/admin/builder/spi-builder-workspace/Source/GYSysInfo.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYStoreRequest.o /Users/admin/builder/spi-builder-workspace/Source/GYStoreRequest.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallViewController.o /Users/admin/builder/spi-builder-workspace/Source/GYPaywallViewController.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallJsonProvider.o /Users/admin/builder/spi-builder-workspace/Source/GYPaywallJsonProvider.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywallHtmlJsonProvider.o /Users/admin/builder/spi-builder-workspace/Source/GYPaywallHtmlJsonProvider.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Glassfy.build/Debug-watchos/Glassfy.build/Objects-normal/armv7k/GYPaywall.o /Users/admin/builder/spi-builder-workspace/Source/GYPaywall.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Glassfy' from project 'Glassfy')
(7 failures)
BUILD FAILURE 5.10 watchOS