watchOS 8.5 Release Notes
Update your apps to use new features, and test your apps against API changes.
Overview
The watchOS 8.5 SDK provides support to develop watchOS apps for Apple Watch devices running watchOS 8.5. The SDK comes bundled with Xcode 13.3.1, available from the Mac App Store. For information on the compatibility requirements for Xcode 13.3.1, see Xcode 13.3.1 Release Notes.
Apple Pay
New Features
Developers are able to express the preference for payment networks in PKPaymentRequest. Network preference is determined by the order of supportedNetworks. This won’t override the user’s default card selection, but if the card is multi-SSD, then the network preference order determines which SSD is selected. (80827905)
libc++
New Features
The following new C++20 and C++23 features are now implemented:
C++20 library concepts defined in
<concepts>.constexprforstd::swap()and swap-related functions.Miscellaneous
constexpr-ification in the library.std::atomicnow default initializes as expected.A
.contains()method for associative containers.Added
std::bind_front(). (88131816)
Deprecations
Some extensions in
std::tuplewere removed to fix bugs caused by those extensions:Tuples can no longer be constructed from fewer than the number of elements in the tuple. Previously, elements that weren’t specified were default-constructed; now this is a compiler error.
A tuple can no longer be constructed from an array.
The
std::result_ofandstd::is_literal_typetype traits are no longer available in C++20 mode, as specified in the Standard.
Siri
Known Issues
Siri may not properly recognize the user’s speech on Apple Watch Series 3. (86107552)
StoreKit
New Features
SKTestSession has three new methods to simulate a subscription requiring price increase consent, simulate consenting to a pending price increase, and simulate declining a price increase in automated tests. (84556183)
SKTestSessionhas two new Boolean properties to simulate billing retry and grace period in automated tests. You can identify and simulate the resolution of billing retry issues using the same APIs as interrupted purchases. (83956205)
Users can now test the billing retry and grace period states using StoreKit Testing in Xcode. Use Xcode 13.3 or later to enable billing retry testing and toggle whether the app offers a grace period. Use isInBillingRetry and gracePeriodExpirationDate to handle these states in the app. (83938270)
Users can test subscription price increase behavior using StoreKit Testing in Xcode. Use Xcode 13.3 or later to set a price increase, then use paymentQueueShouldShowPriceConsent(_:), showPriceConsentIfNeeded(), and priceIncreaseStatus in the app. (58770817)
StoreKiterror types now conform to LocalizedError. (78735204)
Some types in
StoreKitnow have alocalizedDescriptionread-onlyStringinstance property. This property can be used to get a human-readable description of the value, localized for the device’s current locale. These types include: Product.ProductType, Product.SubscriptionInfo.RenewalState, expirationReason, priceIncreaseStatus, Transaction.OfferType, Product.SubscriptionOffer.OfferType, Product.SubscriptionOffer.PaymentMode, Product.SubscriptionPeriod.Unit, Transaction.RevocationReason, and Transaction.OwnershipType. (78735060)