Skip to content

Accounts macOS xcode13.0 beta1

Rachel Kang edited this page Jun 28, 2021 · 3 revisions

#Accounts.framework https://github.com/xamarin/xamarin-macios/pull/12024

diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h	2021-03-16 09:54:06.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h	2021-06-02 11:06:37.000000000 -0400
@@ -14,7 +14,9 @@
 // Accounts are created not bound to any store. Once an account is saved it belongs
 // to the store it was saved into.
 
-API_AVAILABLE(ios(5.0), macos(10.8))
+
+API_DEPRECATED("Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead", ios(6.0, 15.0), macos(10.8, 12.0))
+
 @interface ACAccount : NSObject
 
 // Creates a new account object with a specified account type.
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h	2021-03-16 09:54:06.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h	2021-06-02 11:06:37.000000000 -0400
@@ -18,7 +18,9 @@
 //
 // The account will be validated and saved as a system account.
 
-API_AVAILABLE(ios(5.0), macos(10.8))
+
+API_DEPRECATED("Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead", ios(6.0, 15.0), macos(10.8, 12.0))
+
 @interface ACAccountCredential : NSObject
 
 - (instancetype)initWithOAuthToken:(NSString *)token tokenSecret:(NSString *)secret;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h	2021-03-16 09:54:06.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h	2021-06-02 12:46:59.000000000 -0400
@@ -34,7 +34,9 @@
 // WARNING: All synchronous methods on ACAccountStore invoke xpc methods
 // on accountsd. They are not appropriate to call on a UI Application's main thread.
 
-API_AVAILABLE(ios(5.0), macos(10.8))
+
+API_DEPRECATED("Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead", ios(6.0, 15.0), macos(10.8, 12.0))
+
 @interface ACAccountStore : NSObject
 
 // An array of all the accounts in an account database
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h	2021-03-16 09:54:06.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h	2021-06-02 11:06:37.000000000 -0400
@@ -36,7 +36,9 @@
 // or accessing the accountType property for a particular account object. They may also be used to find
 // all the accounts of a particular type using [ACAccountStore accountsWithAccountType:]
 
-API_AVAILABLE(ios(5.0), macos(10.8))
+
+API_DEPRECATED("Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead", ios(6.0, 15.0), macos(10.8, 12.0))
+
 @interface ACAccountType : NSObject
 
 // A human readable description of the account type.
Clone this wiki locally