Skip to content

StoreKit tvOS xcode13.3 beta2

Alex Soto edited this page Mar 7, 2022 · 2 revisions

#StoreKit.framework https://github.com/xamarin/xamarin-macios/pull/14325

diff -ruN /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h
--- /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h	2022-02-04 13:41:44.000000000 -0500
@@ -0,0 +1,27 @@
+//
+//  SKANError.h
+//  StoreKit
+//
+//  Created by Nikhil R Varma on 1/10/22.
+//  Copyright © 2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <StoreKit/StoreKitDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+SK_EXTERN NSString * const SKANErrorDomain API_AVAILABLE(ios(15.4)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
+
+typedef NS_ERROR_ENUM(SKANErrorDomain, SKANError) {
+    SKANErrorImpressionMissingRequiredValue = 0,
+    SKANErrorUnsupported                    = 1,
+    SKANErrorAdNetworkIdMissing             = 2,
+    SKANErrorMismatchedSourceAppId          = 3,
+    SKANErrorImpressionNotFound             = 4,
+    SKANErrorInvalidCampaignId              = 5,
+    SKANErrorInvalidConversionValue         = 6,
+    SKANErrorUnknown                        = 7,
+} API_AVAILABLE(ios(15.4)) API_UNAVAILABLE(macos,watchos) __TVOS_PROHIBITED;
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h
--- /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h	2022-01-17 00:02:43.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h	2022-01-30 20:32:53.000000000 -0500
@@ -8,6 +8,11 @@
 #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>
Clone this wiki locally