Skip to content

StoreKit macOS xcode13.0 rc

Alex Soto edited this page Sep 14, 2021 · 1 revision

#StoreKit.framework

diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceController.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceController.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceController.h	2021-08-07 05:21:45.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKCloudServiceController.h	2021-08-03 21:50:59.000000000 -0400
@@ -28,7 +28,7 @@
 @interface SKCloudServiceController : NSObject
 
 + (SKCloudServiceAuthorizationStatus)authorizationStatus API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0));
-+ (void)requestAuthorization:(void (^) (SKCloudServiceAuthorizationStatus authorizationStatus))completionHandler API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0));
++ (void)requestAuthorization:(void (^) (SKCloudServiceAuthorizationStatus authorizationStatus))handler API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0));
 
 - (void)requestCapabilitiesWithCompletionHandler:(void (^) (SKCloudServiceCapability capabilities, NSError * _Nullable error))completionHandler API_AVAILABLE(ios(9.3), tvos(9.3), watchos(7.0), macos(11.0), macCatalyst(13.0));
 
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayConfiguration.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayConfiguration.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayConfiguration.h	2021-08-09 03:22:21.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlayConfiguration.h	2021-08-03 21:50:59.000000000 -0400
@@ -50,12 +50,6 @@
 /// The provider token for the developer that created the app being presented.
 @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;
-
-/// 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;
-
 /// The position an overlay will show at on screen.
 @property (nonatomic) SKOverlayPosition position;
 
@@ -88,12 +82,6 @@
 /// The provider token for the developer that created the app being presented.
 @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;
-
-/// 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;
-
 /// The position an overlay will show at on screen.
 @property (nonatomic) SKOverlayPosition position;
 
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentQueue.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentQueue.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentQueue.h	2021-08-07 05:23:32.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKPaymentQueue.h	2021-08-03 21:50:59.000000000 -0400
@@ -73,7 +73,7 @@
 
 @protocol SKPaymentQueueDelegate <NSObject>
 @optional
-// Sent when the storefront changes while a payment is processing.
+// Sent when a user has initiated a purchase of a Promoted IAP from the App Store
 - (BOOL)paymentQueue:(SKPaymentQueue *)paymentQueue shouldContinueTransaction:(SKPaymentTransaction *)transaction inStorefront:(SKStorefront *)newStorefront API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2));
 
 // 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.
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductStorePromotionController.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductStorePromotionController.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductStorePromotionController.h	2021-08-07 05:21:46.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKProductStorePromotionController.h	2021-08-03 21:51:01.000000000 -0400
@@ -22,11 +22,11 @@
 
 + (instancetype)defaultController 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);
-- (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 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:)) 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);
-- (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 *> *storePromotionOrder, NSError * _Nullable error))completionHandler API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos);
+- (void)updateStorePromotionOrder:(NSArray<SKProduct *> *)storePromotionOrder completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler NS_SWIFT_NAME(update(storePromotionOrder:completionHandler:)) API_AVAILABLE(ios(11.0), macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(watchos);
 
 @end
 
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreProductViewController.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreProductViewController.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreProductViewController.h	2021-08-07 05:21:46.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKStoreProductViewController.h	2021-08-03 21:51:00.000000000 -0400
@@ -51,9 +51,6 @@
 // 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));
 
-// 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));
-
 // iTunes Store affiliate token (NSString)
 SK_EXTERN NSString * const SKStoreProductParameterAffiliateToken API_AVAILABLE(ios(8.0), macCatalyst(13.0), macos(11.0));
 
Clone this wiki locally