Skip to content

ServicesAccountLinking iOS xcode26.2 b1

Alex Soto edited this page Nov 5, 2025 · 1 revision

#ServicesAccountLinking.framework

diff -ruN /Applications/Xcode_26.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ServicesAccountLinking.framework/Headers/SALResellerAccount.h /Applications/Xcode_26.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ServicesAccountLinking.framework/Headers/SALResellerAccount.h
--- /Applications/Xcode_26.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ServicesAccountLinking.framework/Headers/SALResellerAccount.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ServicesAccountLinking.framework/Headers/SALResellerAccount.h	2025-10-24 21:40:59
@@ -0,0 +1,35 @@
+//
+//  SALResellerAccount.h
+//  ServicesAccountLinking
+//
+//  Created by Pete Hare on 8/7/25.
+//
+
+#ifndef SALResellerAccount_h
+#define SALResellerAccount_h
+
+#import <Foundation/Foundation.h>
+
+/// Reseller account type for linking with Apple Media & Purchases accounts.
+///
+/// This C header provides backward compatibility via the SDK for both Swift and Objective-C clients.
+/// All integrations should use the ``ResellerAccount`` Swift extensions regardless of OS version.
+typedef struct {
+    void *_reserved;
+} SALResellerAccount NS_SWIFT_NAME(ResellerAccount);
+
+/// Error domain for account registration failures.
+static NSErrorDomain const SALRegistrationErrorDomain NS_SWIFT_NAME(RegistrationErrorDomain) = @"SALRegistrationErrorDomain";
+
+/// Registration error codes.
+typedef NS_ERROR_ENUM(SALRegistrationErrorDomain, SALRegistrationError) {
+    /// The application is not registered as an authorized partner.
+    /// Contact Apple about the channel partnership program to resolve.
+    SALRegistrationErrorNotEligible = 0,
+
+    /// Registration failed. This may indicate the user is not signed into an iTunes account
+    /// or another system error occurred. Implement retry logic with appropriate user messaging.
+    SALRegistrationErrorFailed = 1
+} NS_SWIFT_NAME(RegistrationError);
+
+#endif /* SALResellerAccount_h */
diff -ruN /Applications/Xcode_26.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ServicesAccountLinking.framework/Headers/ServicesAccountLinking.h /Applications/Xcode_26.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ServicesAccountLinking.framework/Headers/ServicesAccountLinking.h
--- /Applications/Xcode_26.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ServicesAccountLinking.framework/Headers/ServicesAccountLinking.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ServicesAccountLinking.framework/Headers/ServicesAccountLinking.h	2025-10-24 21:40:59
@@ -0,0 +1,21 @@
+//
+//  ServicesAccountLinking.h
+//  ServicesAccountLinking
+//
+//  Created by Pete Hare on 8/7/25.
+//
+
+#ifndef ServicesAccountLinking_h
+#define ServicesAccountLinking_h
+
+#import <Foundation/Foundation.h>
+
+#import <ServicesAccountLinking/SALResellerAccount.h>
+
+/// Framework version number for ServicesAccountLinking.
+FOUNDATION_EXPORT double ServicesAccountLinkingVersionNumber;
+
+/// Framework version string for ServicesAccountLinking.
+FOUNDATION_EXPORT const unsigned char ServicesAccountLinkingVersionString[];
+
+#endif /* ServicesAccountLinking_h */
Clone this wiki locally