-
Notifications
You must be signed in to change notification settings - Fork 514
StoreKit tvOS xcode15.0 b1
Manuel de la Pena edited this page Oct 23, 2023
·
3 revisions
#StoreKit.framework https://github.com/xamarin/xamarin-macios/pull/19309
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h 2023-05-19 22:34:55
@@ -11,7 +11,7 @@
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN NSString * const SKANErrorDomain API_AVAILABLE(ios(15.4)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
+SK_EXTERN NSString * const SKANErrorDomain API_AVAILABLE(ios(15.4), xros(1.0)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
typedef NS_ERROR_ENUM(SKANErrorDomain, SKANError) {
SKANErrorImpressionMissingRequiredValue = 0,
@@ -26,6 +26,6 @@
SKANErrorInvalidVersion = 9,
SKANErrorUnknown = 10,
SKANErrorImpressionTooShort = 11,
-} API_AVAILABLE(ios(15.4)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
+} API_AVAILABLE(ios(15.4), xros(1.0)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKAdImpression.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKAdImpression.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKAdImpression.h 2023-03-09 19:13:34
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKAdImpression.h 2023-05-19 22:34:55
@@ -10,11 +10,11 @@
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN_CLASS API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED @interface SKAdImpression : NSObject
+SK_EXTERN_CLASS API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(macos, watchos, xros) __TVOS_PROHIBITED @interface SKAdImpression : NSObject
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
-- (instancetype)initWithSourceAppStoreItemIdentifier:(NSNumber *)sourceAppStoreItemIdentifier advertisedAppStoreItemIdentifier:(NSNumber *)advertisedAppStoreItemIdentifier adNetworkIdentifier:(NSString *)adNetworkIdentifier adCampaignIdentifier:(NSNumber *)adCampaignIdentifier adImpressionIdentifier:(NSString *)adImpressionIdentifier timestamp:(NSNumber *)timestamp signature:(NSString *)signature version:(NSString *)version API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
+- (instancetype)initWithSourceAppStoreItemIdentifier:(NSNumber *)sourceAppStoreItemIdentifier advertisedAppStoreItemIdentifier:(NSNumber *)advertisedAppStoreItemIdentifier adNetworkIdentifier:(NSString *)adNetworkIdentifier adCampaignIdentifier:(NSNumber *)adCampaignIdentifier adImpressionIdentifier:(NSString *)adImpressionIdentifier timestamp:(NSNumber *)timestamp signature:(NSString *)signature version:(NSString *)version API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos,xros) __TVOS_PROHIBITED;
#endif
@@ -31,7 +31,7 @@
@property (nonatomic, strong) NSNumber *adCampaignIdentifier;
/// The source identifier
-@property (nonatomic, strong) NSNumber *sourceIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
+@property (nonatomic, strong) NSNumber *sourceIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos,xros) __TVOS_PROHIBITED;
/// The nonce used to generate the signature.
@property (nonatomic, strong) NSString *adImpressionIdentifier;
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKAdNetwork.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKAdNetwork.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKAdNetwork.h 2023-03-09 19:24:09
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKAdNetwork.h 2023-05-20 00:06:48
@@ -7,59 +7,58 @@
#import <Foundation/Foundation.h>
#import <StoreKit/StoreKitDefines.h>
+#import <StoreKit/SKAdImpression.h>
-#import "SKAdImpression.h"
-
NS_ASSUME_NONNULL_BEGIN
-typedef NSString * SKAdNetworkCoarseConversionValue NS_TYPED_ENUM NS_SWIFT_NAME(SKAdNetwork.CoarseConversionValue) API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
+typedef NSString * SKAdNetworkCoarseConversionValue NS_TYPED_ENUM NS_SWIFT_NAME(SKAdNetwork.CoarseConversionValue) API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos,xros) __TVOS_PROHIBITED;
-SK_EXTERN SKAdNetworkCoarseConversionValue const SKAdNetworkCoarseConversionValueHigh API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
-SK_EXTERN SKAdNetworkCoarseConversionValue const SKAdNetworkCoarseConversionValueMedium API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
-SK_EXTERN SKAdNetworkCoarseConversionValue const SKAdNetworkCoarseConversionValueLow API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
+SK_EXTERN SKAdNetworkCoarseConversionValue const SKAdNetworkCoarseConversionValueHigh API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos,xros) __TVOS_PROHIBITED;
+SK_EXTERN SKAdNetworkCoarseConversionValue const SKAdNetworkCoarseConversionValueMedium API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos,xros) __TVOS_PROHIBITED;
+SK_EXTERN SKAdNetworkCoarseConversionValue const SKAdNetworkCoarseConversionValueLow API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos,xros) __TVOS_PROHIBITED;
-SK_EXTERN_CLASS API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED @interface SKAdNetwork : NSObject
+SK_EXTERN_CLASS API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos, xros) __TVOS_PROHIBITED @interface SKAdNetwork : NSObject
// Source apps should call these methods for performing a non-mediated attribution
-+ (void)startImpression:(SKAdImpression *)impression completionHandler:(nullable void (^)(NSError *__nullable error))completion NS_SWIFT_NAME(startImpression(_:completionHandler:)) API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
++ (void)startImpression:(SKAdImpression *)impression completionHandler:(nullable void (^)(NSError *__nullable error))completion NS_SWIFT_NAME(startImpression(_:completionHandler:)) API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(macos, watchos, xros) __TVOS_PROHIBITED;
-+ (void)endImpression:(SKAdImpression *)impression completionHandler:(nullable void (^)(NSError *__nullable error))completion NS_SWIFT_NAME(endImpression(_:completionHandler:)) API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
++ (void)endImpression:(SKAdImpression *)impression completionHandler:(nullable void (^)(NSError *__nullable error))completion NS_SWIFT_NAME(endImpression(_:completionHandler:)) API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(macos, watchos, xros) __TVOS_PROHIBITED;
// Participating apps should call this on launch to complete the install+open action associated with a product view
-+ (void)registerAppForAdNetworkAttribution API_DEPRECATED("Use updatePostbackConversionValue:completionHandler: instead", ios(11.3, 15.4)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
++ (void)registerAppForAdNetworkAttribution API_DEPRECATED("Use updatePostbackConversionValue:completionHandler: instead", ios(11.3, 15.4)) API_UNAVAILABLE(macos, watchos, xros) __TVOS_PROHIBITED;
-+ (void)updateConversionValue:(NSInteger)conversionValue API_DEPRECATED("Use updatePostbackConversionValue:completionHandler: instead", ios(14.0, 15.4)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
++ (void)updateConversionValue:(NSInteger)conversionValue API_DEPRECATED("Use updatePostbackConversionValue:completionHandler: instead", ios(14.0, 15.4)) API_UNAVAILABLE(macos, watchos, xros) __TVOS_PROHIBITED;
-+ (void)updatePostbackConversionValue:(NSInteger)conversionValue completionHandler:(nullable void (^)(NSError *__nullable error))completion API_AVAILABLE(ios(15.4)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
++ (void)updatePostbackConversionValue:(NSInteger)conversionValue completionHandler:(nullable void (^)(NSError *__nullable error))completion API_AVAILABLE(ios(15.4)) API_UNAVAILABLE(macos, watchos, xros) __TVOS_PROHIBITED;
-+ (void)updatePostbackConversionValue:(NSInteger)fineValue coarseValue:(SKAdNetworkCoarseConversionValue)coarseValue completionHandler:(nullable void (^)(NSError *__nullable error))completion API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
++ (void)updatePostbackConversionValue:(NSInteger)fineValue coarseValue:(SKAdNetworkCoarseConversionValue)coarseValue completionHandler:(nullable void (^)(NSError *__nullable error))completion API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos,watchos,xros) __TVOS_PROHIBITED;
-+ (void)updatePostbackConversionValue:(NSInteger)fineValue coarseValue:(SKAdNetworkCoarseConversionValue)coarseValue lockWindow:(BOOL)lockWindow completionHandler:(nullable void (^)(NSError *__nullable error))completion API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
++ (void)updatePostbackConversionValue:(NSInteger)fineValue coarseValue:(SKAdNetworkCoarseConversionValue)coarseValue lockWindow:(BOOL)lockWindow completionHandler:(nullable void (^)(NSError *__nullable error))completion API_AVAILABLE(ios(16.1)) API_UNAVAILABLE(macos,watchos,xros) __TVOS_PROHIBITED;
@end
// Constants for use with SKStoreProductViewController to associate a product view with an install+open
// Advertising network's cryptographic signature for the atribution params (NSString)
-SK_EXTERN NSString * const SKStoreProductParameterAdNetworkAttributionSignature API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos);
+SK_EXTERN NSString * const SKStoreProductParameterAdNetworkAttributionSignature API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos, xros);
// Advertising network campaign identifier (NSNumber)
-SK_EXTERN NSString * const SKStoreProductParameterAdNetworkCampaignIdentifier API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos);
+SK_EXTERN NSString * const SKStoreProductParameterAdNetworkCampaignIdentifier API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos, xros);
-SK_EXTERN NSString * const SKStoreProductParameterAdNetworkSourceIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos);
+SK_EXTERN NSString * const SKStoreProductParameterAdNetworkSourceIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos, xros);
// Advertising network identifier (NSString)
-SK_EXTERN NSString * const SKStoreProductParameterAdNetworkIdentifier API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos);
+SK_EXTERN NSString * const SKStoreProductParameterAdNetworkIdentifier API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos, xros);
// Random entropy value for security (NSUUID)
-SK_EXTERN NSString * const SKStoreProductParameterAdNetworkNonce API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos);
+SK_EXTERN NSString * const SKStoreProductParameterAdNetworkNonce API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos, xros);
// Timestamp for this ad impression (NSNumber)
-SK_EXTERN NSString * const SKStoreProductParameterAdNetworkTimestamp API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos);
+SK_EXTERN NSString * const SKStoreProductParameterAdNetworkTimestamp API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos, xros);
// App Store item identifier of the source app (NSNumber)
-SK_EXTERN NSString * const SKStoreProductParameterAdNetworkSourceAppStoreIdentifier API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos);
+SK_EXTERN NSString * const SKStoreProductParameterAdNetworkSourceAppStoreIdentifier API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos, xros);
-SK_EXTERN NSString * const SKStoreProductParameterAdNetworkVersion API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos);
+SK_EXTERN NSString * const SKStoreProductParameterAdNetworkVersion API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos, xros);
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKArcadeService.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKArcadeService.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKArcadeService.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKArcadeService.h 2023-05-19 22:34:55
@@ -10,16 +10,16 @@
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN_CLASS API_AVAILABLE(ios(13.0), macos(10.15), macCatalyst(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) @interface SKArcadeService : NSObject
+SK_EXTERN_CLASS API_AVAILABLE(ios(13.0), macos(10.15), macCatalyst(13.0), tvos(13.0), xros(1.0)) API_UNAVAILABLE(watchos) @interface SKArcadeService : NSObject
+ (void)registerArcadeAppWithRandomFromLib:(NSData *)randomFromLib
randomFromLibLength:(uint32_t)randomFromLibLength
- resultHandler:(void (^)(NSData * _Nullable randomFromFP, uint32_t randomFromFPLength, NSData * _Nullable cmacOfAppPID, uint32_t cmacOfAppPIDLength, NSError * _Nullable error))resultHandler API_AVAILABLE(ios(13.0), macos(10.15), macCatalyst(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
+ resultHandler:(void (^)(NSData * _Nullable randomFromFP, uint32_t randomFromFPLength, NSData * _Nullable cmacOfAppPID, uint32_t cmacOfAppPIDLength, NSError * _Nullable error))resultHandler API_AVAILABLE(ios(13.0), macos(10.15), macCatalyst(13.0), tvos(13.0), xros(1.0)) API_UNAVAILABLE(watchos);
+ (void)arcadeSubscriptionStatusWithNonce:(uint64_t)nonce
- resultHandler:(void (^)(NSData * _Nullable subscriptionStatus, uint32_t subscriptionStatusLength, NSData * _Nullable cmacOfNonce, uint32_t cmacOfNonceLength, NSError * _Nullable error))resultHandler API_AVAILABLE(ios(13.0), macos(10.15), macCatalyst(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
+ resultHandler:(void (^)(NSData * _Nullable subscriptionStatus, uint32_t subscriptionStatusLength, NSData * _Nullable cmacOfNonce, uint32_t cmacOfNonceLength, NSError * _Nullable error))resultHandler API_AVAILABLE(ios(13.0), macos(10.15), macCatalyst(13.0), tvos(13.0), xros(1.0)) API_UNAVAILABLE(watchos);
-+ (void)repairArcadeApp API_AVAILABLE(ios(13.0), macos(10.15), macCatalyst(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
++ (void)repairArcadeApp API_AVAILABLE(ios(13.0), macos(10.15), macCatalyst(13.0), tvos(13.0), xros(1.0)) API_UNAVAILABLE(watchos);
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceController.h 2023-03-09 19:13:34
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceController.h 2023-05-19 22:34:54
@@ -15,16 +15,16 @@
SKCloudServiceAuthorizationStatusDenied,
SKCloudServiceAuthorizationStatusRestricted,
SKCloudServiceAuthorizationStatusAuthorized,
-} API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0));
+} API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0)) API_UNAVAILABLE(xros);
typedef NS_OPTIONS(NSUInteger, SKCloudServiceCapability) {
SKCloudServiceCapabilityNone = 0,
SKCloudServiceCapabilityMusicCatalogPlayback = 1 << 0,
SKCloudServiceCapabilityMusicCatalogSubscriptionEligible API_AVAILABLE(ios(10.1), tvos(10.1), watchos(7.0), macos(11.0), macCatalyst(13.0)) = 1 << 1,
SKCloudServiceCapabilityAddToCloudMusicLibrary = 1 << 8,
-} API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0));
+} API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0)) API_UNAVAILABLE(xros);
-SK_EXTERN_CLASS API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0))
+SK_EXTERN_CLASS API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0)) API_UNAVAILABLE(xros)
@interface SKCloudServiceController : NSObject
+ (SKCloudServiceAuthorizationStatus)authorizationStatus API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0));
@@ -40,8 +40,8 @@
@end
-SK_EXTERN NSNotificationName const SKCloudServiceCapabilitiesDidChangeNotification API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0));
-SK_EXTERN NSNotificationName const SKStorefrontCountryCodeDidChangeNotification API_AVAILABLE(ios(11.0), tvos(11.0), watchos(7.0), macos(11.0), macCatalyst(13.0));
-SK_EXTERN NSNotificationName const SKStorefrontIdentifierDidChangeNotification API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0));
+SK_EXTERN NSNotificationName const SKCloudServiceCapabilitiesDidChangeNotification API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0)) API_UNAVAILABLE(xros);
+SK_EXTERN NSNotificationName const SKStorefrontCountryCodeDidChangeNotification API_AVAILABLE(ios(11.0), tvos(11.0), watchos(7.0), macos(11.0), macCatalyst(13.0)) API_UNAVAILABLE(xros);
+SK_EXTERN NSNotificationName const SKStorefrontIdentifierDidChangeNotification API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0)) API_UNAVAILABLE(xros);
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceSetupViewController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceSetupViewController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceSetupViewController.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceSetupViewController.h 2023-05-24 04:42:28
@@ -23,17 +23,17 @@
/// View controller to allow user to setup iTunes Store account for cloud service, such as Apple Music subscription.
#if TARGET_OS_OSX
-SK_EXTERN_CLASS API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(macos) __TVOS_PROHIBITED @interface SKCloudServiceSetupViewController : NSViewController
+SK_EXTERN_CLASS API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos) __TVOS_PROHIBITED @interface SKCloudServiceSetupViewController : NSViewController
#else
-SK_EXTERN_CLASS API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(macos) __TVOS_PROHIBITED @interface SKCloudServiceSetupViewController : UIViewController
+SK_EXTERN_CLASS API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos) __TVOS_PROHIBITED @interface SKCloudServiceSetupViewController : UIViewController
#endif
/// Optional delegate.
-@property (nonatomic, nullable, weak) id <SKCloudServiceSetupViewControllerDelegate> delegate API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(macos) __TVOS_PROHIBITED;
+@property (nonatomic, nullable, weak) id <SKCloudServiceSetupViewControllerDelegate> delegate API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos) __TVOS_PROHIBITED;
/// Load cloud service setup view with the given options.
/// Block is invoked on the main thread when the load finishes.
-- (void)loadWithOptions:(NSDictionary<SKCloudServiceSetupOptionsKey, id> *)options completionHandler:(nullable void (^)(BOOL result, NSError * _Nullable error))completionHandler API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(macos) __TVOS_PROHIBITED;
+- (void)loadWithOptions:(NSDictionary<SKCloudServiceSetupOptionsKey, id> *)options completionHandler:(nullable void (^)(BOOL result, NSError * _Nullable error))completionHandler API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos) __TVOS_PROHIBITED;
@end
@@ -43,36 +43,36 @@
@optional
/// Sent when the view controller was dismissed.
-- (void)cloudServiceSetupViewControllerDidDismiss:(SKCloudServiceSetupViewController *)cloudServiceSetupViewController API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(macos) __TVOS_PROHIBITED;
+- (void)cloudServiceSetupViewControllerDidDismiss:(SKCloudServiceSetupViewController *)cloudServiceSetupViewController API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos) __TVOS_PROHIBITED;
@end
/// Action for setup entry point (of type SKCloudServiceSetupAction).
-SK_EXTERN SKCloudServiceSetupOptionsKey const SKCloudServiceSetupOptionsActionKey NS_SWIFT_NAME(action) API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(macos);
+SK_EXTERN SKCloudServiceSetupOptionsKey const SKCloudServiceSetupOptionsActionKey NS_SWIFT_NAME(action) API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
/// Identifier of the iTunes Store item the user is trying to access which requires cloud service setup (NSNumber).
-SK_EXTERN SKCloudServiceSetupOptionsKey const SKCloudServiceSetupOptionsITunesItemIdentifierKey NS_SWIFT_NAME(iTunesItemIdentifier) API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(macos);
+SK_EXTERN SKCloudServiceSetupOptionsKey const SKCloudServiceSetupOptionsITunesItemIdentifierKey NS_SWIFT_NAME(iTunesItemIdentifier) API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
/// iTunes Store affiliate token (NSString).
-SK_EXTERN SKCloudServiceSetupOptionsKey const SKCloudServiceSetupOptionsAffiliateTokenKey NS_SWIFT_NAME(affiliateToken) API_AVAILABLE(ios(10.3)) API_UNAVAILABLE(macos);
+SK_EXTERN SKCloudServiceSetupOptionsKey const SKCloudServiceSetupOptionsAffiliateTokenKey NS_SWIFT_NAME(affiliateToken) API_AVAILABLE(ios(10.3)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
/// iTunes Store affiliate campaign token (NSString).
-SK_EXTERN SKCloudServiceSetupOptionsKey const SKCloudServiceSetupOptionsCampaignTokenKey NS_SWIFT_NAME(campaignToken) API_AVAILABLE(ios(10.3)) API_UNAVAILABLE(macos);
+SK_EXTERN SKCloudServiceSetupOptionsKey const SKCloudServiceSetupOptionsCampaignTokenKey NS_SWIFT_NAME(campaignToken) API_AVAILABLE(ios(10.3)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
/// Identifier used to select the main message presented to the user for this setup view (SKCloudServiceSetupMessageIdentifier).
/// When missing, the setup view will be configured in a way that is equivalent to using SKCloudServiceSetupMessageIdentifierJoin.
-SK_EXTERN SKCloudServiceSetupOptionsKey const SKCloudServiceSetupOptionsMessageIdentifierKey NS_SWIFT_NAME(messageIdentifier) API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos);
+SK_EXTERN SKCloudServiceSetupOptionsKey const SKCloudServiceSetupOptionsMessageIdentifierKey NS_SWIFT_NAME(messageIdentifier) API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
// Supported actions for setup entry point.
-SK_EXTERN SKCloudServiceSetupAction const SKCloudServiceSetupActionSubscribe API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(macos);
+SK_EXTERN SKCloudServiceSetupAction const SKCloudServiceSetupActionSubscribe API_AVAILABLE(ios(10.1)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
// Supported message identifiers.
-SK_EXTERN SKCloudServiceSetupMessageIdentifier const SKCloudServiceSetupMessageIdentifierJoin API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos);
-SK_EXTERN SKCloudServiceSetupMessageIdentifier const SKCloudServiceSetupMessageIdentifierConnect API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos);
-SK_EXTERN SKCloudServiceSetupMessageIdentifier const SKCloudServiceSetupMessageIdentifierAddMusic API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos);
-SK_EXTERN SKCloudServiceSetupMessageIdentifier const SKCloudServiceSetupMessageIdentifierPlayMusic API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(macos);
+SK_EXTERN SKCloudServiceSetupMessageIdentifier const SKCloudServiceSetupMessageIdentifierJoin API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
+SK_EXTERN SKCloudServiceSetupMessageIdentifier const SKCloudServiceSetupMessageIdentifierConnect API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
+SK_EXTERN SKCloudServiceSetupMessageIdentifier const SKCloudServiceSetupMessageIdentifierAddMusic API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
+SK_EXTERN SKCloudServiceSetupMessageIdentifier const SKCloudServiceSetupMessageIdentifierPlayMusic API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKDownload.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKDownload.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKDownload.h 2023-03-09 23:50:13
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKDownload.h 2023-05-20 00:06:48
@@ -19,55 +19,55 @@
SKDownloadStateFinished, // Download is finished, content is available
SKDownloadStateFailed, // Download failed
SKDownloadStateCancelled, // Download was cancelled
-} API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+} API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
-SK_EXTERN NSTimeInterval SKDownloadTimeRemainingUnknown API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.14, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+SK_EXTERN NSTimeInterval SKDownloadTimeRemainingUnknown API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.14, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
-SK_EXTERN_CLASS API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) @interface SKDownload : NSObject {
+SK_EXTERN_CLASS API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros) @interface SKDownload : NSObject {
@private
id _internal;
}
// State of the download
-@property(nonatomic, readonly) SKDownloadState state API_DEPRECATED("Hosted content is no longer supported", ios(12.0, 16.0), macos(10.8, 13.0), tvos(12.0, 16.0), watchos(6.2, 9.0));
-@property(nonatomic, readonly) SKDownloadState downloadState API_DEPRECATED_WITH_REPLACEMENT("-[SKDownload state]", ios(6.0, 12.0)) API_UNAVAILABLE(macos, watchos);
+@property(nonatomic, readonly) SKDownloadState state API_DEPRECATED("Hosted content is no longer supported", ios(12.0, 16.0), macos(10.8, 13.0), tvos(12.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
+@property(nonatomic, readonly) SKDownloadState downloadState API_DEPRECATED_WITH_REPLACEMENT("-[SKDownload state]", ios(6.0, 12.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos, watchos);
// Total size of the content, in bytes
#if TARGET_OS_OSX
-@property(nonatomic, copy, readonly) NSNumber *contentLength API_DEPRECATED_WITH_REPLACEMENT("-[SKDownload expectedContentLength]", macos(10.8, 10.15)) API_UNAVAILABLE(ios, watchos, tvos);
+@property(nonatomic, copy, readonly) NSNumber *contentLength API_DEPRECATED_WITH_REPLACEMENT("-[SKDownload expectedContentLength]", macos(10.8, 10.15)) API_UNAVAILABLE(xros) API_UNAVAILABLE(ios, watchos, tvos);
#else
-@property(nonatomic, readonly) long long contentLength API_DEPRECATED_WITH_REPLACEMENT("-[SKDownload expectedContentLength]", ios(6.0, 13.0), tvos(9.0, 13.0), macCatalyst(13.0, 13.0)) API_UNAVAILABLE(macos, watchos);
+@property(nonatomic, readonly) long long contentLength API_DEPRECATED_WITH_REPLACEMENT("-[SKDownload expectedContentLength]", ios(6.0, 13.0), tvos(9.0, 13.0), macCatalyst(13.0, 13.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos, watchos);
#endif
// Total size of the content, in bytes
-@property(nonatomic, readonly) long long expectedContentLength API_DEPRECATED("Hosted content is no longer supported", ios(13.0, 16.0), macos(10.15, 13.0), tvos(13.0, 16.0), watchos(6.2, 9.0));
+@property(nonatomic, readonly) long long expectedContentLength API_DEPRECATED("Hosted content is no longer supported", ios(13.0, 16.0), macos(10.15, 13.0), tvos(13.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Identifier for this content
-@property(nonatomic, readonly) NSString *contentIdentifier API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+@property(nonatomic, readonly) NSString *contentIdentifier API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Location of the content data, if state is SKDownloadStateFinished
-@property(nonatomic, readonly, nullable) NSURL *contentURL API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+@property(nonatomic, readonly, nullable) NSURL *contentURL API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Content version
-@property(nonatomic, readonly) NSString *contentVersion API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+@property(nonatomic, readonly) NSString *contentVersion API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Failure error, if state is SKDownloadStateFailed
-@property(nonatomic, readonly, nullable) NSError *error API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+@property(nonatomic, readonly, nullable) NSError *error API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Overall progress for the download [0..1]
-@property(nonatomic, readonly) float progress API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+@property(nonatomic, readonly) float progress API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Estimated time remaining to complete the download, in seconds. Value is SKDownloadTimeRemainingUnknown if estimate is unknownxx.
-@property(nonatomic, readonly) NSTimeInterval timeRemaining API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+@property(nonatomic, readonly) NSTimeInterval timeRemaining API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Transaction for this download
-@property(nonatomic, readonly) SKPaymentTransaction *transaction API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.11, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+@property(nonatomic, readonly) SKPaymentTransaction *transaction API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.11, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
-+ (nullable NSURL *)contentURLForProductID:(NSString *)productID API_DEPRECATED("Hosted content is no longer supported", macos(10.8, 13.0), macCatalyst(13.0, 16.0)) API_UNAVAILABLE(ios, tvos, watchos);
++ (nullable NSURL *)contentURLForProductID:(NSString *)productID API_DEPRECATED("Hosted content is no longer supported", macos(10.8, 13.0), macCatalyst(13.0, 16.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(ios, tvos, watchos);
// Deletes the content for that identifier from disk
-+ (void)deleteContentForProductID:(NSString *)productID API_DEPRECATED("Hosted content is no longer supported", macos(10.8, 13.0), macCatalyst(13.0, 16.0)) API_UNAVAILABLE(ios, tvos, watchos);
++ (void)deleteContentForProductID:(NSString *)productID API_DEPRECATED("Hosted content is no longer supported", macos(10.8, 13.0), macCatalyst(13.0, 16.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(ios, tvos, watchos);
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKError.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKError.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKError.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKError.h 2023-05-19 22:34:55
@@ -10,7 +10,7 @@
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN NSString * const SKErrorDomain API_AVAILABLE(ios(3.0), tvos(9.0), macos(10.7), watchos(6.2));
+SK_EXTERN NSString * const SKErrorDomain API_AVAILABLE(ios(3.0), tvos(9.0), macos(10.7), watchos(6.2), xros(1.0));
// error codes for the SKErrorDomain
typedef NS_ENUM(NSInteger,SKErrorCode) {
@@ -19,22 +19,22 @@
SKErrorPaymentCancelled, // user cancelled the request, etc.
SKErrorPaymentInvalid, // purchase identifier was invalid, etc.
SKErrorPaymentNotAllowed, // this device is not allowed to make the payment
- SKErrorStoreProductNotAvailable API_AVAILABLE(ios(3.0), macos(10.15), watchos(6.2)), // Product is not available in the current storefront
- SKErrorCloudServicePermissionDenied API_AVAILABLE(ios(9.3), tvos(9.3), watchos(6.2), macos(11.0)), // user has not allowed access to cloud service information
- SKErrorCloudServiceNetworkConnectionFailed API_AVAILABLE(ios(9.3), tvos(9.3), watchos(6.2), macos(11.0)), // the device could not connect to the nework
- SKErrorCloudServiceRevoked API_AVAILABLE(ios(10.3), tvos(10.3), watchos(6.2), macos(11.0)), // user has revoked permission to use this cloud service
- SKErrorPrivacyAcknowledgementRequired API_AVAILABLE(ios(12.2), tvos(12.2), macos(10.14.4), watchos(6.2)), // The user needs to acknowledge Apple's privacy policy
- SKErrorUnauthorizedRequestData API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2)), // The app is attempting to use SKPayment's requestData property, but does not have the appropriate entitlement
- SKErrorInvalidOfferIdentifier API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2)), // The specified subscription offer identifier is not valid
- SKErrorInvalidSignature API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2)), // The cryptographic signature provided is not valid
- SKErrorMissingOfferParams API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2)), // One or more parameters from SKPaymentDiscount is missing
- SKErrorInvalidOfferPrice API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2)), // The price of the selected offer is not valid (e.g. lower than the current base subscription price)
- SKErrorOverlayCancelled API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2)),
- SKErrorOverlayInvalidConfiguration API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED,
- SKErrorOverlayTimeout API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED,
- SKErrorIneligibleForOffer API_AVAILABLE(ios(14.0), macos(11.0), watchos(7.0)), // User is not eligible for the subscription offer
- SKErrorUnsupportedPlatform API_AVAILABLE(ios(14.0), macos(11.0), watchos(7.0)) __TVOS_PROHIBITED,
- SKErrorOverlayPresentedInBackgroundScene API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED // Client tried to present an SKOverlay in UIWindowScene not in the foreground
-} API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+ SKErrorStoreProductNotAvailable API_AVAILABLE(ios(3.0), macos(10.15), watchos(6.2), xros(1.0)), // Product is not available in the current storefront
+ SKErrorCloudServicePermissionDenied API_AVAILABLE(ios(9.3), tvos(9.3), watchos(6.2), macos(11.0), xros(1.0)), // user has not allowed access to cloud service information
+ SKErrorCloudServiceNetworkConnectionFailed API_AVAILABLE(ios(9.3), tvos(9.3), watchos(6.2), macos(11.0), xros(1.0)), // the device could not connect to the nework
+ SKErrorCloudServiceRevoked API_AVAILABLE(ios(10.3), tvos(10.3), watchos(6.2), macos(11.0), xros(1.0)), // user has revoked permission to use this cloud service
+ SKErrorPrivacyAcknowledgementRequired API_AVAILABLE(ios(12.2), tvos(12.2), macos(10.14.4), watchos(6.2), xros(1.0)), // The user needs to acknowledge Apple's privacy policy
+ SKErrorUnauthorizedRequestData API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0)), // The app is attempting to use SKPayment's requestData property, but does not have the appropriate entitlement
+ SKErrorInvalidOfferIdentifier API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0)), // The specified subscription offer identifier is not valid
+ SKErrorInvalidSignature API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0)), // The cryptographic signature provided is not valid
+ SKErrorMissingOfferParams API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0)), // One or more parameters from SKPaymentDiscount is missing
+ SKErrorInvalidOfferPrice API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0)), // The price of the selected offer is not valid (e.g. lower than the current base subscription price)
+ SKErrorOverlayCancelled API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0)),
+ SKErrorOverlayInvalidConfiguration API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED,
+ SKErrorOverlayTimeout API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED,
+ SKErrorIneligibleForOffer API_AVAILABLE(ios(14.0), macos(11.0), watchos(7.0), xros(1.0)), // User is not eligible for the subscription offer
+ SKErrorUnsupportedPlatform API_AVAILABLE(ios(14.0), macos(11.0), watchos(7.0), xros(1.0)) __TVOS_PROHIBITED,
+ SKErrorOverlayPresentedInBackgroundScene API_AVAILABLE(ios(14.5), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED // Client tried to present an SKOverlay in UIWindowScene not in the foreground
+} API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h 2023-03-09 19:13:34
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h 2023-05-19 22:34:55
@@ -15,7 +15,7 @@
@class SKOverlay, SKOverlayTransitionContext;
-API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED
+API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED
@protocol SKOverlayDelegate <NSObject>
@optional
@@ -32,7 +32,7 @@
SK_EXTERN_CLASS
SK_CLASS_FINAL
-API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
+API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
@interface SKOverlay : NSObject
- (instancetype)init NS_UNAVAILABLE;
@@ -44,10 +44,10 @@
#if !TARGET_OS_OSX
/// Attempts to present an app overlay in a `UIWindowScene`.
-- (void)presentInScene:(UIWindowScene *)scene API_AVAILABLE(ios(14.0)) NS_EXTENSION_UNAVAILABLE("Overlays are not available in extensions") NS_SWIFT_UI_ACTOR;
+- (void)presentInScene:(UIWindowScene *)scene API_AVAILABLE(ios(14.0), xros(1.0)) NS_EXTENSION_UNAVAILABLE("Overlays are not available in extensions") NS_SWIFT_UI_ACTOR;
/// Dismisses an overlay being presented in a `UIWindowScene`.
-+ (void)dismissOverlayInScene:(UIWindowScene *)scene API_AVAILABLE(ios(14.0)) NS_EXTENSION_UNAVAILABLE("Overlays are not available in extensions") NS_SWIFT_UI_ACTOR;
++ (void)dismissOverlayInScene:(UIWindowScene *)scene API_AVAILABLE(ios(14.0), xros(1.0)) NS_EXTENSION_UNAVAILABLE("Overlays are not available in extensions") NS_SWIFT_UI_ACTOR;
#endif
/// A delegate for overlay events.
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayConfiguration.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayConfiguration.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayConfiguration.h 2023-03-09 19:09:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayConfiguration.h 2023-05-19 23:54:07
@@ -15,10 +15,10 @@
typedef NS_ENUM(NSInteger, SKOverlayPosition) {
SKOverlayPositionBottom = 0,
SKOverlayPositionBottomRaised = 1,
-} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NAME(SKOverlay.Position);
+} API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NAME(SKOverlay.Position);
SK_EXTERN_CLASS
-API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED
+API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED
NS_SWIFT_NAME(SKOverlay.Configuration) NS_SWIFT_NONSENDABLE
@interface SKOverlayConfiguration : NSObject
@@ -29,7 +29,7 @@
SK_EXTERN_CLASS
SK_CLASS_FINAL
-API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED
+API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED
NS_SWIFT_NAME(SKOverlay.AppConfiguration) NS_SWIFT_NONSENDABLE
/// An overlay configuration that can be used to show any app from the App Store.
@interface SKOverlayAppConfiguration : SKOverlayConfiguration
@@ -52,10 +52,10 @@
@property (nonatomic, retain, nullable) NSString *providerToken;
/// An optional identifier for an app's custom product page.
-@property (nonatomic, retain, nullable) NSString *customProductPageIdentifier API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
+@property (nonatomic, retain, nullable) NSString *customProductPageIdentifier API_AVAILABLE(ios(15.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
/// An optional extra parameter for specifying the version of your app that will be shown to the user.
-@property (nonatomic, retain, nullable) NSString *latestReleaseID API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
+@property (nonatomic, retain, nullable) NSString *latestReleaseID API_AVAILABLE(ios(15.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
/// The position an overlay will show at on screen.
@property (nonatomic) SKOverlayPosition position;
@@ -67,13 +67,13 @@
- (nullable id)additionalValueForKey:(NSString *)key NS_WARN_UNUSED_RESULT;
-- (void)setAdImpression:(SKAdImpression *)impression API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
+- (void)setAdImpression:(SKAdImpression *)impression API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos, xros) __TVOS_PROHIBITED;
@end
SK_EXTERN_CLASS
SK_CLASS_FINAL
-API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED
+API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED
NS_SWIFT_NAME(SKOverlay.AppClipConfiguration) NS_SWIFT_NONSENDABLE
/// An overlay configuration that can be used to show an app clip's full app.
@interface SKOverlayAppClipConfiguration : SKOverlayConfiguration
@@ -92,10 +92,10 @@
@property (nonatomic, retain, nullable) NSString *providerToken;
/// An optional identifier for a parent app's custom product page.
-@property (nonatomic, retain, nullable) NSString *customProductPageIdentifier API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
+@property (nonatomic, retain, nullable) NSString *customProductPageIdentifier API_AVAILABLE(ios(15.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
/// An optional extra parameter for specifying the version of your app that will be shown to the user.
-@property (nonatomic, retain, nullable) NSString *latestReleaseID API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
+@property (nonatomic, retain, nullable) NSString *latestReleaseID API_AVAILABLE(ios(15.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED;
/// The position an overlay will show at on screen.
@property (nonatomic) SKOverlayPosition position;
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayTransitionContext.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayTransitionContext.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayTransitionContext.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayTransitionContext.h 2023-05-19 22:34:55
@@ -14,7 +14,7 @@
SK_EXTERN_CLASS
SK_CLASS_FINAL
NS_SWIFT_NAME(SKOverlay.TransitionContext)
-API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
+API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
@interface SKOverlayTransitionContext : NSObject
- (instancetype)init NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPayment.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPayment.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPayment.h 2023-03-09 19:13:34
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPayment.h 2023-05-19 22:34:54
@@ -13,44 +13,44 @@
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) NS_SWIFT_NONSENDABLE @interface SKPayment : NSObject <NSCopying, NSMutableCopying> {
+SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0)) NS_SWIFT_NONSENDABLE @interface SKPayment : NSObject <NSCopying, NSMutableCopying> {
@private
id _internal;
}
-+ (instancetype)paymentWithProduct:(SKProduct *)product API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
++ (instancetype)paymentWithProduct:(SKProduct *)product API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
-+ (id)paymentWithProductIdentifier:(NSString *)identifier API_DEPRECATED_WITH_REPLACEMENT("+[SKPayment paymentWithProduct:]", ios(3.0, 5.0), macCatalyst(13.0, 13.0)) API_UNAVAILABLE(tvos, macos, watchos);
++ (id)paymentWithProductIdentifier:(NSString *)identifier API_DEPRECATED_WITH_REPLACEMENT("+[SKPayment paymentWithProduct:]", ios(3.0, 5.0), macCatalyst(13.0, 13.0)) API_UNAVAILABLE(tvos, macos, watchos) API_UNAVAILABLE(xros);
// Identifier agreed upon with the store. Required.
-@property(nonatomic, copy, readonly) NSString *productIdentifier API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, copy, readonly) NSString *productIdentifier API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Payment request data agreed upon with the store. Optional.
-@property(nonatomic, copy, readonly, nullable) NSData *requestData API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, copy, readonly, nullable) NSData *requestData API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// default: 1. Must be at least 1.
-@property(nonatomic, readonly) NSInteger quantity API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly) NSInteger quantity API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Application-specific user identifier. Optional.
-@property(nonatomic, copy, readonly, nullable) NSString *applicationUsername API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2));
+@property(nonatomic, copy, readonly, nullable) NSString *applicationUsername API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2), xros(1.0));
// Force an "ask to buy" flow for this payment, in the sandbox
-@property(nonatomic, readonly) BOOL simulatesAskToBuyInSandbox API_AVAILABLE(ios(8.3), macos(10.14), watchos(6.2));
+@property(nonatomic, readonly) BOOL simulatesAskToBuyInSandbox API_AVAILABLE(ios(8.3), macos(10.14), watchos(6.2), xros(1.0));
// The relevant data for specifying a discount to be applied to this payment. Optional.
-@property(nonatomic, copy, readonly, nullable) SKPaymentDiscount *paymentDiscount API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+@property(nonatomic, copy, readonly, nullable) SKPaymentDiscount *paymentDiscount API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
@end
-SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) NS_SWIFT_NONSENDABLE @interface SKMutablePayment : SKPayment
+SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0)) NS_SWIFT_NONSENDABLE @interface SKMutablePayment : SKPayment
-@property(nonatomic, copy, readwrite, nullable) NSString *applicationUsername API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2));
-@property(nonatomic, copy, readwrite, nullable) SKPaymentDiscount *paymentDiscount API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
-@property(nonatomic, copy, readwrite) NSString *productIdentifier API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
-@property(nonatomic, readwrite) NSInteger quantity API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
-@property(nonatomic, copy, readwrite, nullable) NSData *requestData API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
-@property(nonatomic, readwrite) BOOL simulatesAskToBuyInSandbox API_AVAILABLE(ios(8.3), macos(10.14), watchos(6.2));
+@property(nonatomic, copy, readwrite, nullable) NSString *applicationUsername API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2), xros(1.0));
+@property(nonatomic, copy, readwrite, nullable) SKPaymentDiscount *paymentDiscount API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
+@property(nonatomic, copy, readwrite) NSString *productIdentifier API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
+@property(nonatomic, readwrite) NSInteger quantity API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
+@property(nonatomic, copy, readwrite, nullable) NSData *requestData API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
+@property(nonatomic, readwrite) BOOL simulatesAskToBuyInSandbox API_AVAILABLE(ios(8.3), macos(10.14), watchos(6.2), xros(1.0));
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentDiscount.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentDiscount.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentDiscount.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentDiscount.h 2023-05-19 22:34:55
@@ -10,7 +10,7 @@
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN_CLASS API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2)) NS_SWIFT_SENDABLE @interface SKPaymentDiscount : NSObject {
+SK_EXTERN_CLASS API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0)) NS_SWIFT_SENDABLE @interface SKPaymentDiscount : NSObject {
@private
id _internal;
}
@@ -19,22 +19,22 @@
keyIdentifier:(NSString *)keyIdentifier
nonce:(NSUUID *)nonce
signature:(NSString *)signature
- timestamp:(NSNumber *)timestamp API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+ timestamp:(NSNumber *)timestamp API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
// Identifier agreed upon with the App Store for a discount of your choosing.
-@property(nonatomic, copy, readonly) NSString *identifier API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+@property(nonatomic, copy, readonly) NSString *identifier API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
// The identifier of the public/private key pair agreed upon with the App Store when the keys were generated.
-@property(nonatomic, copy, readonly) NSString *keyIdentifier API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+@property(nonatomic, copy, readonly) NSString *keyIdentifier API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
// One-time use random entropy-adding value for security.
-@property(nonatomic, copy, readonly) NSUUID *nonce API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+@property(nonatomic, copy, readonly) NSUUID *nonce API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
// The cryptographic signature generated by your private key.
-@property(nonatomic, copy, readonly) NSString *signature API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+@property(nonatomic, copy, readonly) NSString *signature API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
// Timestamp of when the signature is created.
-@property(nonatomic, copy, readonly) NSNumber *timestamp API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+@property(nonatomic, copy, readonly) NSNumber *timestamp API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentQueue.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentQueue.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentQueue.h 2023-03-09 23:50:13
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentQueue.h 2023-05-19 23:54:07
@@ -19,66 +19,66 @@
NS_ASSUME_NONNULL_BEGIN
// SKPaymentQueue interacts with the server-side payment queue
-SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) NS_SWIFT_SENDABLE @interface SKPaymentQueue : NSObject {
+SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0)) NS_SWIFT_SENDABLE @interface SKPaymentQueue : NSObject {
@private
id _internal;
}
-@property (NS_NONATOMIC_IOSONLY, weak, nullable) id<SKPaymentQueueDelegate> delegate API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2));;
+@property (NS_NONATOMIC_IOSONLY, weak, nullable) id<SKPaymentQueueDelegate> delegate API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2), xros(1.0));
-@property (NS_NONATOMIC_IOSONLY, readonly, nullable) SKStorefront *storefront API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2));
+@property (NS_NONATOMIC_IOSONLY, readonly, nullable) SKStorefront *storefront API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2), xros(1.0));
-+ (instancetype)defaultQueue API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
++ (instancetype)defaultQueue API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// NO if this device is not able or allowed to make payments
-+ (BOOL)canMakePayments API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
++ (BOOL)canMakePayments API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Asynchronous. Add a payment to the server queue. The payment is copied to add an SKPaymentTransaction to the transactions array. The same payment can be added multiple times to create multiple transactions.
-- (void)addPayment:(SKPayment *)payment API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (void)addPayment:(SKPayment *)payment API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Asynchronous. Will add completed transactions for the current user back to the queue to be re-completed. User will be asked to authenticate. Observers will receive 0 or more -paymentQueue:updatedTransactions:, followed by either -paymentQueueRestoreCompletedTransactionsFinished: on success or -paymentQueue:restoreCompletedTransactionsFailedWithError: on failure. In the case of partial success, some transactions may still be delivered.
-- (void)restoreCompletedTransactions API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
-- (void)restoreCompletedTransactionsWithApplicationUsername:(nullable NSString *)username API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2));
+- (void)restoreCompletedTransactions API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
+- (void)restoreCompletedTransactionsWithApplicationUsername:(nullable NSString *)username API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2), xros(1.0));
// Asynchronous. Remove a finished (i.e. failed or completed) transaction from the queue. Attempting to finish a purchasing transaction will throw an exception.
-- (void)finishTransaction:(SKPaymentTransaction *)transaction API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (void)finishTransaction:(SKPaymentTransaction *)transaction API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Asynchronous. Start the given downloads (SKDownload).
-- (void)startDownloads:(NSArray<SKDownload *> *)downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+- (void)startDownloads:(NSArray<SKDownload *> *)downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Asynchronous. Pause/resume downloads (SKDownload).
-- (void)pauseDownloads:(NSArray<SKDownload *> *)downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
-- (void)resumeDownloads:(NSArray<SKDownload *> *)downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+- (void)pauseDownloads:(NSArray<SKDownload *> *)downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
+- (void)resumeDownloads:(NSArray<SKDownload *> *)downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Asynchronous. Cancel downloads (SKDownload)
-- (void)cancelDownloads:(NSArray<SKDownload *> *)downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+- (void)cancelDownloads:(NSArray<SKDownload *> *)downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Observers are not retained. The transactions array will only be synchronized with the server while the queue has observers. This may require that the user authenticate.
-- (void)addTransactionObserver:(id <SKPaymentTransactionObserver>)observer API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) NS_SWIFT_NAME(add(_:));
-- (void)removeTransactionObserver:(id <SKPaymentTransactionObserver>)observer API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) NS_SWIFT_NAME(remove(_:));
+- (void)addTransactionObserver:(id <SKPaymentTransactionObserver>)observer API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0)) NS_SWIFT_NAME(add(_:));
+- (void)removeTransactionObserver:(id <SKPaymentTransactionObserver>)observer API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0)) NS_SWIFT_NAME(remove(_:));
// Array of transactionObservers that are available. Transaction observers are not retained.
-@property(nonatomic, readonly) NSArray <id <SKPaymentTransactionObserver>> *transactionObservers API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0), watchos(7.0));
+@property(nonatomic, readonly) NSArray <id <SKPaymentTransactionObserver>> *transactionObservers API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0), watchos(7.0), xros(1.0));
// Array of unfinished SKPaymentTransactions. Only valid while the queue has observers. Updated asynchronously.
-@property(nonatomic, readonly) NSArray<SKPaymentTransaction *> *transactions API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly) NSArray<SKPaymentTransaction *> *transactions API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// If StoreKit has called your SKPaymentQueueDelegate's "paymentQueueShouldShowPriceConsent:" method and you returned NO, you can use this method to show the price consent UI at a later time that is more appropriate for your app. If there is no pending price consent, this method will do nothing.
-- (void)showPriceConsentIfNeeded API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, macos, watchos);
+- (void)showPriceConsentIfNeeded API_AVAILABLE(ios(13.4), xros(1.0)) API_UNAVAILABLE(tvos, macos, watchos);
// Call this method to have StoreKit present a sheet enabling the user to redeem codes provided by your app.
-- (void)presentCodeRedemptionSheet API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(tvos, macos, watchos);
+- (void)presentCodeRedemptionSheet API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(tvos, macos, watchos);
@end
@protocol SKPaymentQueueDelegate <NSObject>
@optional
// Sent when the storefront changes while a payment is processing.
-- (BOOL)paymentQueue:(SKPaymentQueue *)paymentQueue shouldContinueTransaction:(SKPaymentTransaction *)transaction inStorefront:(SKStorefront *)newStorefront API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2));
+- (BOOL)paymentQueue:(SKPaymentQueue *)paymentQueue shouldContinueTransaction:(SKPaymentTransaction *)transaction inStorefront:(SKStorefront *)newStorefront API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2), xros(1.0));
// Sent if there is a pending price consent confirmation from the App Store for the current user. Return YES to immediately show the price consent UI. Return NO if you intend to show it at a later time. Defaults to YES.
// This may be called at any time that you have transaction observers on the payment queue, so make sure to set the delegate before adding any transaction observers if you intend to implement this method.
-- (BOOL)paymentQueueShouldShowPriceConsent:(SKPaymentQueue *)paymentQueue API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, macos, watchos);
+- (BOOL)paymentQueueShouldShowPriceConsent:(SKPaymentQueue *)paymentQueue API_AVAILABLE(ios(13.4), xros(1.0)) API_UNAVAILABLE(tvos, macos, watchos);
@end
@@ -86,28 +86,28 @@
@protocol SKPaymentTransactionObserver <NSObject>
@required
// Sent when the transaction array has changed (additions or state changes). Client should check state of transactions and finish as appropriate.
-- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray<SKPaymentTransaction *> *)transactions API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray<SKPaymentTransaction *> *)transactions API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
@optional
// Sent when transactions are removed from the queue (via finishTransaction:).
-- (void)paymentQueue:(SKPaymentQueue *)queue removedTransactions:(NSArray<SKPaymentTransaction *> *)transactions API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (void)paymentQueue:(SKPaymentQueue *)queue removedTransactions:(NSArray<SKPaymentTransaction *> *)transactions API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Sent when an error is encountered while adding transactions from the user's purchase history back to the queue.
-- (void)paymentQueue:(SKPaymentQueue *)queue restoreCompletedTransactionsFailedWithError:(NSError *)error API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (void)paymentQueue:(SKPaymentQueue *)queue restoreCompletedTransactionsFailedWithError:(NSError *)error API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Sent when all transactions from the user's purchase history have successfully been added back to the queue.
-- (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Sent when the download state has changed.
-- (void)paymentQueue:(SKPaymentQueue *)queue updatedDownloads:(NSArray<SKDownload *> *)downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+- (void)paymentQueue:(SKPaymentQueue *)queue updatedDownloads:(NSArray<SKDownload *> *)downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// Sent when a user initiates an IAP buy from the App Store
-- (BOOL)paymentQueue:(SKPaymentQueue *)queue shouldAddStorePayment:(SKPayment *)payment forProduct:(SKProduct *)product NS_SWIFT_NAME(paymentQueue(_:shouldAddStorePayment:for:)) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos);
+- (BOOL)paymentQueue:(SKPaymentQueue *)queue shouldAddStorePayment:(SKPayment *)payment forProduct:(SKProduct *)product NS_SWIFT_NAME(paymentQueue(_:shouldAddStorePayment:for:)) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0), xros(1.0)) API_UNAVAILABLE(watchos);
-- (void)paymentQueueDidChangeStorefront:(SKPaymentQueue *)queue API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2));
+- (void)paymentQueueDidChangeStorefront:(SKPaymentQueue *)queue API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2), xros(1.0));
// Sent when entitlements for a user have changed and access to the specified IAPs has been revoked.
-- (void)paymentQueue:(SKPaymentQueue *)queue didRevokeEntitlementsForProductIdentifiers:(NSArray<NSString *> *)productIdentifiers NS_SWIFT_NAME(paymentQueue(_:didRevokeEntitlementsForProductIdentifiers:)) API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0), watchos(7.0));
+- (void)paymentQueue:(SKPaymentQueue *)queue didRevokeEntitlementsForProductIdentifiers:(NSArray<NSString *> *)productIdentifiers NS_SWIFT_NAME(paymentQueue(_:didRevokeEntitlementsForProductIdentifiers:)) API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0), watchos(7.0), xros(1.0));
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentTransaction.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentTransaction.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentTransaction.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentTransaction.h 2023-05-19 22:34:55
@@ -17,36 +17,36 @@
SKPaymentTransactionStateFailed, // Transaction was cancelled or failed before being added to the server queue.
SKPaymentTransactionStateRestored, // Transaction was restored from user's purchase history. Client should complete the transaction.
SKPaymentTransactionStateDeferred API_AVAILABLE(ios(8.0), macos(10.10), watchos(6.2)), // The transaction is in the queue, but its final status is pending external action.
-} API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+} API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) NS_SWIFT_SENDABLE @interface SKPaymentTransaction : NSObject {
+SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0)) NS_SWIFT_SENDABLE @interface SKPaymentTransaction : NSObject {
@private
id _internal;
}
// Only set if state is SKPaymentTransactionFailed
-@property(nonatomic, readonly, nullable) NSError *error API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly, nullable) NSError *error API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Only valid if state is SKPaymentTransactionStateRestored.
-@property(nonatomic, readonly, nullable) SKPaymentTransaction *originalTransaction API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly, nullable) SKPaymentTransaction *originalTransaction API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) SKPayment *payment API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly) SKPayment *payment API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Available downloads (SKDownload) for this transaction
-@property(nonatomic, readonly) NSArray<SKDownload *> *downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0));
+@property(nonatomic, readonly) NSArray<SKDownload *> *downloads API_DEPRECATED("Hosted content is no longer supported", ios(6.0, 16.0), macos(10.8, 13.0), tvos(9.0, 16.0), watchos(6.2, 9.0)) API_UNAVAILABLE(xros);
// The date when the transaction was added to the server queue. Only valid if state is SKPaymentTransactionStatePurchased or SKPaymentTransactionStateRestored.
-@property(nonatomic, readonly, nullable) NSDate *transactionDate API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly, nullable) NSDate *transactionDate API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// The unique server-provided identifier. Only valid if state is SKPaymentTransactionStatePurchased or SKPaymentTransactionStateRestored.
-@property(nonatomic, readonly, nullable) NSString *transactionIdentifier API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly, nullable) NSString *transactionIdentifier API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Only valid if state is SKPaymentTransactionStatePurchased.
-@property(nonatomic, readonly, nullable) NSData *transactionReceipt API_DEPRECATED_WITH_REPLACEMENT("-[NSBundle appStoreReceiptURL]", ios(3.0, 7.0), macCatalyst(13.0, 13.0)) API_UNAVAILABLE(macos, watchos);
+@property(nonatomic, readonly, nullable) NSData *transactionReceipt API_DEPRECATED_WITH_REPLACEMENT("-[NSBundle appStoreReceiptURL]", ios(3.0, 7.0), macCatalyst(13.0, 13.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos, watchos);
-@property(nonatomic, readonly) SKPaymentTransactionState transactionState API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly) SKPaymentTransactionState transactionState API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h 2023-03-09 19:13:34
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProduct.h 2023-05-19 22:34:55
@@ -15,58 +15,58 @@
SKProductPeriodUnitWeek,
SKProductPeriodUnitMonth,
SKProductPeriodUnitYear
-} NS_SWIFT_NAME(SKProduct.PeriodUnit) API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+} NS_SWIFT_NAME(SKProduct.PeriodUnit) API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN_CLASS API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2)) NS_SWIFT_SENDABLE @interface SKProductSubscriptionPeriod : NSObject {
+SK_EXTERN_CLASS API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0)) NS_SWIFT_SENDABLE @interface SKProductSubscriptionPeriod : NSObject {
@private
id _internal;
}
-@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+@property(nonatomic, readonly) NSUInteger numberOfUnits API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) SKProductPeriodUnit unit API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+@property(nonatomic, readonly) SKProductPeriodUnit unit API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
@end
-SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
+SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0)) NS_SWIFT_SENDABLE @interface SKProduct : NSObject {
@private
id _internal;
}
-@property(nonatomic, readonly) NSString *localizedDescription API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly) NSString *localizedDescription API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) NSString *localizedTitle API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly) NSString *localizedTitle API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) NSString *productIdentifier API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, readonly) NSString *productIdentifier API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// YES if this product has content downloadable using SKDownload
-@property(nonatomic, readonly) BOOL isDownloadable API_AVAILABLE(ios(6.0), macos(10.15), watchos(6.2));
-@property(nonatomic, readonly) BOOL downloadable API_DEPRECATED_WITH_REPLACEMENT("-[SKProduct isDownloadable]", macos(10.8, 10.15)) API_UNAVAILABLE(ios, watchos);
+@property(nonatomic, readonly) BOOL isDownloadable API_AVAILABLE(ios(6.0), macos(10.15), watchos(6.2), xros(1.0));
+@property(nonatomic, readonly) BOOL downloadable API_DEPRECATED_WITH_REPLACEMENT("-[SKProduct isDownloadable]", macos(10.8, 10.15)) API_UNAVAILABLE(ios, watchos, xros);
// YES if this product allows for sharing among family members
-@property(nonatomic, readonly) BOOL isFamilyShareable API_AVAILABLE(ios(14.0), macos(11.0), watchos(7.0));
+@property(nonatomic, readonly) BOOL isFamilyShareable API_AVAILABLE(ios(14.0), macos(11.0), watchos(7.0), xros(1.0));
// Sizes in bytes (NSNumber [long long]) of the downloads available for this product
-@property(nonatomic, readonly) NSArray<NSNumber *> *contentLengths API_DEPRECATED_WITH_REPLACEMENT("-[SKProduct downloadContentLengths]", macos(10.8, 10.14)) API_UNAVAILABLE(ios, tvos, watchos);
-@property(nonatomic, readonly) NSArray<NSNumber *> *downloadContentLengths API_AVAILABLE(ios(6.0), macos(10.14), watchos(6.2));
+@property(nonatomic, readonly) NSArray<NSNumber *> *contentLengths API_DEPRECATED_WITH_REPLACEMENT("-[SKProduct downloadContentLengths]", macos(10.8, 10.14)) API_UNAVAILABLE(ios, tvos, watchos, xros);
+@property(nonatomic, readonly) NSArray<NSNumber *> *downloadContentLengths API_AVAILABLE(ios(6.0), macos(10.14), watchos(6.2), xros(1.0));
// Version of the downloadable content
-@property(nonatomic, readonly) NSString *contentVersion API_DEPRECATED_WITH_REPLACEMENT("-[SKProduct downloadContentVersion]", macos(10.8, 10.14));
-@property(nonatomic, readonly) NSString *downloadContentVersion API_AVAILABLE(ios(6.0), macos(10.14), watchos(6.2));
+@property(nonatomic, readonly) NSString *contentVersion API_DEPRECATED_WITH_REPLACEMENT("-[SKProduct downloadContentVersion]", macos(10.8, 10.14)) API_UNAVAILABLE(xros);
+@property(nonatomic, readonly) NSString *downloadContentVersion API_AVAILABLE(ios(6.0), macos(10.14), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+@property(nonatomic, readonly, nullable) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+@property(nonatomic, readonly, nullable) SKProductDiscount *introductoryPrice API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly, nullable) NSString *subscriptionGroupIdentifier API_AVAILABLE(ios(12.0), macos(10.14), watchos(6.2));
+@property(nonatomic, readonly, nullable) NSString *subscriptionGroupIdentifier API_AVAILABLE(ios(12.0), macos(10.14), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) NSArray<SKProductDiscount *> *discounts API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+@property(nonatomic, readonly) NSArray<SKProductDiscount *> *discounts API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductDiscount.h 2023-05-19 22:34:55
@@ -14,33 +14,33 @@
SKProductDiscountPaymentModePayAsYouGo,
SKProductDiscountPaymentModePayUpFront,
SKProductDiscountPaymentModeFreeTrial
-} NS_SWIFT_NAME(SKProductDiscount.PaymentMode) API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+} NS_SWIFT_NAME(SKProductDiscount.PaymentMode) API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
typedef NS_ENUM(NSUInteger, SKProductDiscountType) {
SKProductDiscountTypeIntroductory,
SKProductDiscountTypeSubscription,
-} NS_SWIFT_NAME(SKProductDiscount.Type) API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+} NS_SWIFT_NAME(SKProductDiscount.Type) API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN_CLASS API_AVAILABLE(ios(11.2), macos(10.13.2)) NS_SWIFT_SENDABLE @interface SKProductDiscount : NSObject {
+SK_EXTERN_CLASS API_AVAILABLE(ios(11.2), macos(10.13.2), xros(1.0)) NS_SWIFT_SENDABLE @interface SKProductDiscount : NSObject {
@private
id _internal;
}
-@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+@property(nonatomic, readonly) NSDecimalNumber *price API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+@property(nonatomic, readonly) NSLocale *priceLocale API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly, nullable) NSString *identifier API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+@property(nonatomic, readonly, nullable) NSString *identifier API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+@property(nonatomic, readonly) SKProductSubscriptionPeriod *subscriptionPeriod API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) NSUInteger numberOfPeriods API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+@property(nonatomic, readonly) NSUInteger numberOfPeriods API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) SKProductDiscountPaymentMode paymentMode API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2));
+@property(nonatomic, readonly) SKProductDiscountPaymentMode paymentMode API_AVAILABLE(ios(11.2), macos(10.13.2), watchos(6.2), xros(1.0));
-@property(nonatomic, readonly) SKProductDiscountType type API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2));
+@property(nonatomic, readonly) SKProductDiscountType type API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), xros(1.0));
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductStorePromotionController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductStorePromotionController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductStorePromotionController.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductStorePromotionController.h 2023-05-19 22:34:55
@@ -16,17 +16,17 @@
SKProductStorePromotionVisibilityDefault,
SKProductStorePromotionVisibilityShow,
SKProductStorePromotionVisibilityHide,
-} API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos);
+} API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos, xros);
-SK_EXTERN_CLASS API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos) @interface SKProductStorePromotionController : NSObject
+SK_EXTERN_CLASS API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos, xros) @interface SKProductStorePromotionController : NSObject
-+ (instancetype)defaultController API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos);
++ (instancetype)defaultController API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos, xros);
-- (void)fetchStorePromotionVisibilityForProduct:(SKProduct *)product completionHandler:(nullable void (^)(SKProductStorePromotionVisibility storePromotionVisibility, NSError * _Nullable error))completionHandler NS_SWIFT_ASYNC_NAME(promotionVisibility(for:)) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos);
-- (void)updateStorePromotionVisibility:(SKProductStorePromotionVisibility)promotionVisibility forProduct:(SKProduct *)product completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler NS_SWIFT_NAME(update(storePromotionVisibility:for:completionHandler:)) NS_SWIFT_ASYNC_NAME(update(promotionVisibility:for:)) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos);
+- (void)fetchStorePromotionVisibilityForProduct:(SKProduct *)product completionHandler:(nullable void (^)(SKProductStorePromotionVisibility storePromotionVisibility, NSError * _Nullable error))completionHandler NS_SWIFT_ASYNC_NAME(promotionVisibility(for:)) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos, xros);
+- (void)updateStorePromotionVisibility:(SKProductStorePromotionVisibility)promotionVisibility forProduct:(SKProduct *)product completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler NS_SWIFT_NAME(update(storePromotionVisibility:for:completionHandler:)) NS_SWIFT_ASYNC_NAME(update(promotionVisibility:for:)) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos, xros);
-- (void)fetchStorePromotionOrderWithCompletionHandler:(nullable void (^)(NSArray<SKProduct *> *promotionOrder, NSError * _Nullable error))completionHandler NS_SWIFT_ASYNC_NAME(promotionOrder()) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos);
-- (void)updateStorePromotionOrder:(NSArray<SKProduct *> *)promotionOrder completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler NS_SWIFT_NAME(update(storePromotionOrder:completionHandler:)) NS_SWIFT_ASYNC_NAME(update(promotionOrder:)) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos);
+- (void)fetchStorePromotionOrderWithCompletionHandler:(nullable void (^)(NSArray<SKProduct *> *promotionOrder, NSError * _Nullable error))completionHandler NS_SWIFT_ASYNC_NAME(promotionOrder()) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos, xros);
+- (void)updateStorePromotionOrder:(NSArray<SKProduct *> *)promotionOrder completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler NS_SWIFT_NAME(update(storePromotionOrder:completionHandler:)) NS_SWIFT_ASYNC_NAME(update(promotionOrder:)) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos, xros);
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductsRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductsRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductsRequest.h 2023-03-09 19:13:34
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductsRequest.h 2023-05-19 22:34:55
@@ -15,35 +15,35 @@
@required
// Sent immediately before -requestDidFinish:
-- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
@end
// request information about products for your application
-SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) NS_SWIFT_NONSENDABLE @interface SKProductsRequest : SKRequest {
+SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0)) NS_SWIFT_NONSENDABLE @interface SKProductsRequest : SKRequest {
@private
id _productsRequestInternal;
}
// Set of string product identifiers
-- (instancetype)initWithProductIdentifiers:(NSSet<NSString *> *)productIdentifiers API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (instancetype)initWithProductIdentifiers:(NSSet<NSString *> *)productIdentifiers API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
-@property(nonatomic, weak, nullable) id <SKProductsRequestDelegate> delegate API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) ;
+@property(nonatomic, weak, nullable) id <SKProductsRequestDelegate> delegate API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
@end
-SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) NS_SWIFT_SENDABLE @interface SKProductsResponse : NSObject {
+SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0)) NS_SWIFT_SENDABLE @interface SKProductsResponse : NSObject {
@private
id _internal;
}
// Array of SKProduct instances.
-@property(nonatomic, readonly) NSArray<SKProduct *> *products API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) ;
+@property(nonatomic, readonly) NSArray<SKProduct *> *products API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Array of invalid product identifiers.
-@property(nonatomic, readonly) NSArray<NSString *> *invalidProductIdentifiers API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) ;
+@property(nonatomic, readonly) NSArray<NSString *> *invalidProductIdentifiers API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKReceiptRefreshRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKReceiptRefreshRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKReceiptRefreshRequest.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKReceiptRefreshRequest.h 2023-05-19 22:34:55
@@ -11,21 +11,21 @@
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN_CLASS API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2)) NS_SWIFT_NONSENDABLE @interface SKReceiptRefreshRequest : SKRequest {
+SK_EXTERN_CLASS API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2), xros(1.0)) NS_SWIFT_NONSENDABLE @interface SKReceiptRefreshRequest : SKRequest {
@private
NSDictionary *_properties;
}
-- (instancetype)initWithReceiptProperties:(nullable NSDictionary<NSString *, id> *)properties API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2));
-@property (nonatomic, readonly, nullable) NSDictionary<NSString *, id> *receiptProperties API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2));
+- (instancetype)initWithReceiptProperties:(nullable NSDictionary<NSString *, id> *)properties API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2), xros(1.0));
+@property (nonatomic, readonly, nullable) NSDictionary<NSString *, id> *receiptProperties API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2), xros(1.0));
@end
-SK_EXTERN void SKTerminateForInvalidReceipt(void) API_AVAILABLE(ios(7.1), macos(10.14), watchos(6.2));
+SK_EXTERN void SKTerminateForInvalidReceipt(void) API_AVAILABLE(ios(7.1), macos(10.14), watchos(6.2), xros(1.0));
// Receipt properties for sandbox testing:
-SK_EXTERN NSString * const SKReceiptPropertyIsExpired API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2)); // NSNumber BOOL, defaults to NO
-SK_EXTERN NSString * const SKReceiptPropertyIsRevoked API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2)); // NSNumber BOOL, defaults to NO
-SK_EXTERN NSString * const SKReceiptPropertyIsVolumePurchase API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2)); // NSNumber BOOL, defaults to NO
+SK_EXTERN NSString * const SKReceiptPropertyIsExpired API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2), xros(1.0)); // NSNumber BOOL, defaults to NO
+SK_EXTERN NSString * const SKReceiptPropertyIsRevoked API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2), xros(1.0)); // NSNumber BOOL, defaults to NO
+SK_EXTERN NSString * const SKReceiptPropertyIsVolumePurchase API_AVAILABLE(ios(7.0), macos(10.9), watchos(6.2), xros(1.0)); // NSNumber BOOL, defaults to NO
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKRequest.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKRequest.h 2023-05-19 22:34:55
@@ -13,18 +13,18 @@
@protocol SKRequestDelegate;
// Base class used to fetch data from the store. Should not be used directly.
-SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2)) NS_SWIFT_NONSENDABLE @interface SKRequest : NSObject {
+SK_EXTERN_CLASS API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0)) NS_SWIFT_NONSENDABLE @interface SKRequest : NSObject {
@private
id _requestInternal;
}
-@property(nonatomic, weak, nullable) id <SKRequestDelegate> delegate API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+@property(nonatomic, weak, nullable) id <SKRequestDelegate> delegate API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Cancel the request if it has started.
-- (void)cancel API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (void)cancel API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
// Start the request if it has not already been started.
-- (void)start API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (void)start API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
@end
@@ -32,8 +32,8 @@
@protocol SKRequestDelegate <NSObject>
@optional
-- (void)requestDidFinish:(SKRequest *)request API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
-- (void)request:(SKRequest *)request didFailWithError:(NSError *)error API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
+- (void)requestDidFinish:(SKRequest *)request API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
+- (void)request:(SKRequest *)request didFailWithError:(NSError *)error API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2), xros(1.0));
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreProductViewController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreProductViewController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreProductViewController.h 2023-03-09 19:13:35
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreProductViewController.h 2023-05-19 22:34:55
@@ -21,54 +21,54 @@
/* View controller to display iTunes Store product information */
#if TARGET_OS_OSX
-SK_EXTERN_CLASS API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) __TVOS_PROHIBITED @interface SKStoreProductViewController : NSViewController
+SK_EXTERN_CLASS API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros) __TVOS_PROHIBITED @interface SKStoreProductViewController : NSViewController
#else
-SK_EXTERN_CLASS API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) __TVOS_PROHIBITED @interface SKStoreProductViewController : UIViewController
+SK_EXTERN_CLASS API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros) __TVOS_PROHIBITED @interface SKStoreProductViewController : UIViewController
#endif
// Delegate for product page events
-@property(nonatomic, weak, nullable) id <SKStoreProductViewControllerDelegate> delegate API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) __TVOS_PROHIBITED;
+@property(nonatomic, weak, nullable) id <SKStoreProductViewControllerDelegate> delegate API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros) __TVOS_PROHIBITED;
// Load product view for the product with the given parameters. See below for parameters (SKStoreProductParameter*).
// Block is invoked when the load finishes.
-- (void)loadProductWithParameters:(NSDictionary<NSString *, id> *)parameters completionBlock:(nullable void(^)(BOOL result, NSError * __nullable error))block API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) __TVOS_PROHIBITED;
+- (void)loadProductWithParameters:(NSDictionary<NSString *, id> *)parameters completionBlock:(nullable void(^)(BOOL result, NSError * __nullable error))block API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros) __TVOS_PROHIBITED;
// Load product view for the product with the given parameters and impression.
// See below for parameters (SKStoreProductParameter*) and SKAdImpression for impression properties.
// Block is invoked when the load finishes.
-- (void)loadProductWithParameters:(NSDictionary<NSString *, id> *)parameters impression:(SKAdImpression *)impression completionBlock:(nullable void(^)(BOOL result, NSError * __nullable error))block API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
+- (void)loadProductWithParameters:(NSDictionary<NSString *, id> *)parameters impression:(SKAdImpression *)impression completionBlock:(nullable void(^)(BOOL result, NSError * __nullable error))block API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos,watchos,xros) __TVOS_PROHIBITED;
@end
-@protocol SKStoreProductViewControllerDelegate <NSObject>
+API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros) @protocol SKStoreProductViewControllerDelegate <NSObject>
@optional
// Sent after the page is dismissed
-- (void)productViewControllerDidFinish:(SKStoreProductViewController *)viewController API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) __TVOS_PROHIBITED;
+- (void)productViewControllerDidFinish:(SKStoreProductViewController *)viewController API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros) __TVOS_PROHIBITED;
@end
// iTunes Store item identifier (NSNumber) of the product
-SK_EXTERN NSString * const SKStoreProductParameterITunesItemIdentifier API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0));
+SK_EXTERN NSString * const SKStoreProductParameterITunesItemIdentifier API_AVAILABLE(ios(6.0), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros);
// SKU for the In-App Purchase product (NSString) to render at the top of the product page
-SK_EXTERN NSString * const SKStoreProductParameterProductIdentifier API_AVAILABLE(ios(11.0), macCatalyst(13.0), macos(11.0));
+SK_EXTERN NSString * const SKStoreProductParameterProductIdentifier API_AVAILABLE(ios(11.0), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros);
// Identifier to specify a custom product page for a given `SKStoreProductParameterITunesItemIdentifier` (NSString).
-SK_EXTERN NSString * const SKStoreProductParameterCustomProductPageIdentifier API_AVAILABLE(ios(15.0), macCatalyst(15.0), macos(12.0));
+SK_EXTERN NSString * const SKStoreProductParameterCustomProductPageIdentifier API_AVAILABLE(ios(15.0), macCatalyst(15.0), macos(12.0)) API_UNAVAILABLE(xros);
// iTunes Store affiliate token (NSString)
-SK_EXTERN NSString * const SKStoreProductParameterAffiliateToken API_AVAILABLE(ios(8.0), macCatalyst(13.0), macos(11.0));
+SK_EXTERN NSString * const SKStoreProductParameterAffiliateToken API_AVAILABLE(ios(8.0), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros);
// iTunes Store affiliate campaign token (NSString)
-SK_EXTERN NSString * const SKStoreProductParameterCampaignToken API_AVAILABLE(ios(8.0), macCatalyst(13.0), macos(11.0));
+SK_EXTERN NSString * const SKStoreProductParameterCampaignToken API_AVAILABLE(ios(8.0), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros);
// Analytics provider token (NSString)
-SK_EXTERN NSString * const SKStoreProductParameterProviderToken API_AVAILABLE(ios(8.3), macCatalyst(13.0), macos(11.0));
+SK_EXTERN NSString * const SKStoreProductParameterProviderToken API_AVAILABLE(ios(8.3), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros);
// Advertising partner token (NSString)
-SK_EXTERN NSString * const SKStoreProductParameterAdvertisingPartnerToken API_AVAILABLE(ios(9.3), macCatalyst(13.0), macos(11.0));
+SK_EXTERN NSString * const SKStoreProductParameterAdvertisingPartnerToken API_AVAILABLE(ios(9.3), macCatalyst(13.0), macos(11.0)) API_UNAVAILABLE(xros);
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreReviewController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreReviewController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreReviewController.h 2023-03-09 19:13:34
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreReviewController.h 2023-05-19 22:34:54
@@ -14,7 +14,7 @@
NS_ASSUME_NONNULL_BEGIN
/** Controller class to request a review from the current user */
-SK_EXTERN_CLASS API_AVAILABLE(ios(10.3), macos(10.14)) API_UNAVAILABLE(watchos) __TVOS_PROHIBITED NS_SWIFT_SENDABLE @interface SKStoreReviewController : NSObject
+SK_EXTERN_CLASS API_AVAILABLE(ios(10.3), macos(10.14), xros(1.0)) API_UNAVAILABLE(watchos) __TVOS_PROHIBITED NS_SWIFT_SENDABLE @interface SKStoreReviewController : NSObject
/** Request StoreKit to ask the user for an app review. Uses the keyWindow's UIWindowScene which may or may not be the scene a user is interacting with.
*
@@ -24,7 +24,7 @@
* from a button or any other user action. For presenting a write review form, a deep link is
* available to the App Store by appending the query params "action=write-review" to a product URL.
*/
-+ (void)requestReview API_AVAILABLE(macos(10.14)) API_DEPRECATED_WITH_REPLACEMENT("-[SKStoreReviewController requestReviewInScene:]", ios(10.3, 14.0)) API_UNAVAILABLE(watchos) __TVOS_PROHIBITED;
++ (void)requestReview API_AVAILABLE(macos(10.14)) API_DEPRECATED_WITH_REPLACEMENT("-[SKStoreReviewController requestReviewInScene:]", ios(10.3, 14.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(watchos) __TVOS_PROHIBITED;
#if TARGET_OS_IOS
/** Request StoreKit to ask the user for an app review in a given UIWindowScene.
@@ -35,7 +35,7 @@
* from a button or any other user action. For presenting a write review form, a deep link is
* available to the App Store by appending the query params "action=write-review" to a product URL.
*/
-+ (void)requestReviewInScene:(UIWindowScene *)windowScene API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) __TVOS_PROHIBITED NS_SWIFT_UI_ACTOR;
++ (void)requestReviewInScene:(UIWindowScene *)windowScene API_AVAILABLE(ios(14.0), xros(1.0)) API_UNAVAILABLE(watchos) __TVOS_PROHIBITED NS_SWIFT_UI_ACTOR;
#endif
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStorefront.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStorefront.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStorefront.h 2023-03-09 19:13:34
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStorefront.h 2023-05-19 22:34:55
@@ -10,13 +10,13 @@
NS_ASSUME_NONNULL_BEGIN
-SK_EXTERN_CLASS API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2)) NS_SWIFT_SENDABLE @interface SKStorefront : NSObject
+SK_EXTERN_CLASS API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2), xros(1.0)) NS_SWIFT_SENDABLE @interface SKStorefront : NSObject
/* The three letter country code for the current storefront */
-@property(NS_NONATOMIC_IOSONLY, copy, readonly) NSString *countryCode API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2));
+@property(NS_NONATOMIC_IOSONLY, copy, readonly) NSString *countryCode API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2), xros(1.0));
/* The App Store storefront identifier */
-@property(NS_NONATOMIC_IOSONLY, copy, readonly) NSString *identifier API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2));
+@property(NS_NONATOMIC_IOSONLY, copy, readonly) NSString *identifier API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2), xros(1.0));
@end
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h 2023-03-04 15:18:13
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h 2023-05-19 22:34:53
@@ -8,11 +8,7 @@
#import <StoreKit/SKAdImpression.h>
#import <StoreKit/SKAdNetwork.h>
#import <StoreKit/SKArcadeService.h>
-
-#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
#import <StoreKit/SKANError.h>
-#endif
-
#import <StoreKit/SKCloudServiceController.h>
#import <StoreKit/SKCloudServiceSetupViewController.h>
#import <StoreKit/SKDownload.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status