Skip to content

StoreKit iOS 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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h
--- /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKANError.h	2022-02-04 13:46:10.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h
--- /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h	2022-01-14 17:20:14.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/StoreKit.framework/Headers/StoreKit.h	2022-01-30 23:01:58.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