Skip to content

AutomaticAssessmentConfiguration iOS xcode13.0 beta1

tj_devel709 edited this page Jul 1, 2021 · 3 revisions

#AutomaticAssessmentConfiguration.framework https://github.com/xamarin/xamarin-macios/pull/12070

diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentApplication.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentApplication.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentApplication.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentApplication.h	2021-06-02 12:47:04.000000000 -0400
@@ -0,0 +1,31 @@
+//
+//  AEAssessmentApplication.h
+//  AutomaticAssessmentConfiguration
+//
+//  Copyright © 2021 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(ios(15), macCatalyst(15), macos(12))
+@interface AEAssessmentApplication : NSObject <NSCopying>
+
+@property (nonatomic, copy, readonly) NSString *bundleIdentifier;
+@property (nonatomic, copy, readonly, nullable) NSString *teamIdentifier;
+@property (nonatomic, assign) BOOL requiresSignatureValidation;
+
+- (instancetype)initWithBundleIdentifier:(NSString *)bundleIdentifier;
+- (instancetype)initWithBundleIdentifier:(NSString *)bundleIdentifier
+                          teamIdentifier:(nullable NSString *)teamIdentifier;
+@end
+
+@interface AEAssessmentApplication (Unavailable)
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentConfiguration.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentConfiguration.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentConfiguration.h	2021-03-16 08:47:29.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentConfiguration.h	2021-06-02 12:47:04.000000000 -0400
@@ -5,10 +5,14 @@
 //  Copyright © 2020 Apple Inc. All rights reserved.
 //
 
+#import <AutomaticAssessmentConfiguration/AEVisibility.h>
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
+@class AEAssessmentApplication;
+@class AEAssessmentParticipantConfiguration;
+
 API_AVAILABLE(ios(13.4), macos(10.15.4), macCatalyst(14.0))
 @interface AEAssessmentConfiguration: NSObject <NSCopying>
 
@@ -31,6 +35,12 @@
 @property (nonatomic, assign) BOOL allowsPasswordAutoFill API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, macCatalyst);
 @property (nonatomic, assign) BOOL allowsContinuousPathKeyboard API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, macCatalyst);
 
+@property (nonatomic, strong, readonly) AEAssessmentParticipantConfiguration *mainParticipantConfiguration API_AVAILABLE(macCatalyst(15.0), macos(12.0)) API_UNAVAILABLE(ios);
+@property (nonatomic, copy, readonly) NSDictionary<AEAssessmentApplication *, AEAssessmentParticipantConfiguration *> *configurationsByApplication API_AVAILABLE(macCatalyst(15.0), macos(12.0)) API_UNAVAILABLE(ios);
+
+- (void)setConfiguration:(AEAssessmentParticipantConfiguration *)configuration forApplication:(AEAssessmentApplication *)application API_AVAILABLE(macCatalyst(15.0), macos(12.0)) API_UNAVAILABLE(ios);
+- (void)removeApplication:(AEAssessmentApplication *)application API_AVAILABLE(macCatalyst(15.0), macos(12.0)) API_UNAVAILABLE(ios);
+
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentParticipantConfiguration.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentParticipantConfiguration.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentParticipantConfiguration.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentParticipantConfiguration.h	2021-06-02 12:47:04.000000000 -0400
@@ -0,0 +1,19 @@
+//
+//  AEAssessmentParticipantConfiguration.h
+//  AutomaticAssessmentConfiguration
+//
+//  Copyright © 2021 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(ios(15), macCatalyst(15), macos(12))
+@interface AEAssessmentParticipantConfiguration : NSObject <NSCopying>
+
+@property (nonatomic, assign) BOOL allowsNetworkAccess;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentSession.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentSession.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentSession.h	2021-03-16 08:47:29.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentSession.h	2021-06-02 12:47:04.000000000 -0400
@@ -5,6 +5,7 @@
 //  Copyright © 2020 Apple Inc. All rights reserved.
 //
 
+#import <AutomaticAssessmentConfiguration/AEVisibility.h>
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
@@ -16,14 +17,21 @@
 @interface AEAssessmentSession : NSObject
 
 @property (nonatomic, weak, nullable) id<AEAssessmentSessionDelegate> delegate;
+@property (nonatomic, copy, readonly) AEAssessmentConfiguration *configuration API_AVAILABLE(ios(15), macCatalyst(15), macos(12));
 @property (nonatomic, assign, readonly, getter=isActive) BOOL active;
 
 - (instancetype)initWithConfiguration:(AEAssessmentConfiguration *)configuration;
-+ (instancetype)new NS_UNAVAILABLE;
-- (instancetype)init NS_UNAVAILABLE;
 
 - (void)begin;
 - (void)end;
+- (void)updateToConfiguration:(AEAssessmentConfiguration *)configuration API_AVAILABLE(macCatalyst(15), macos(12)) API_UNAVAILABLE(ios);
+
+@end
+
+@interface AEAssessmentSession (AEUnavailable)
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
 
 @end
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentSessionDelegate.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentSessionDelegate.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentSessionDelegate.h	2021-03-16 08:47:29.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEAssessmentSessionDelegate.h	2021-06-02 12:47:04.000000000 -0400
@@ -5,10 +5,13 @@
 //  Copyright © 2020 Apple Inc. All rights reserved.
 //
 
+#import <AutomaticAssessmentConfiguration/AEVisibility.h>
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
+@class AEAssessmentConfiguration;
+
 API_AVAILABLE(ios(13.4), macos(10.15.4), macCatalyst(14))
 @protocol AEAssessmentSessionDelegate <NSObject>
 @optional
@@ -21,6 +24,10 @@
 
 - (void)assessmentSessionDidEnd:(AEAssessmentSession *)session;
 
+- (void)assessmentSessionDidUpdate:(AEAssessmentSession *)session API_AVAILABLE(macCatalyst(15), macos(12)) API_UNAVAILABLE(ios);
+
+- (void)assessmentSession:(AEAssessmentSession *)session failedToUpdateToConfiguration:(AEAssessmentConfiguration *)configuration error:(NSError *)error API_AVAILABLE(macCatalyst(15), macos(12)) API_UNAVAILABLE(ios);
+
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEErrors.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEErrors.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEErrors.h	2021-03-16 08:47:29.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEErrors.h	2021-06-02 12:47:04.000000000 -0400
@@ -5,12 +5,12 @@
 //  Copyright © 2020 Apple Inc. All rights reserved.
 //
 
+#import <AutomaticAssessmentConfiguration/AEVisibility.h>
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_AVAILABLE(ios(13.4), macos(10.15.4), macCatalyst(14))
-extern NSErrorDomain const AEAssessmentErrorDomain;
+AE_VISIBLE NSErrorDomain const AEAssessmentErrorDomain API_AVAILABLE(ios(13.4), macos(10.15.4), macCatalyst(14));
 
 API_AVAILABLE(ios(13.4), macos(10.15.4), macCatalyst(14))
 typedef NS_ERROR_ENUM(AEAssessmentErrorDomain, AEAssessmentErrorCode) {
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEVisibility.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEVisibility.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEVisibility.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AEVisibility.h	2021-06-01 22:25:32.000000000 -0400
@@ -0,0 +1,22 @@
+//
+//  AEVisibility.h
+//  AutomaticAssessmentConfiguration
+//
+//  Copyright © 2020 Apple Inc. All rights reserved.
+//
+
+#ifndef AE_HIDDEN
+    #ifdef __cplusplus
+        #define AE_HIDDEN   extern "C" __attribute__((visibility ("hidden")))
+    #else
+        #define AE_HIDDEN   extern __attribute__((visibility ("hidden")))
+    #endif
+#endif
+
+#ifndef AE_VISIBLE
+    #ifdef __cplusplus
+        #define AE_VISIBLE   extern "C" __attribute__((visibility ("default")))
+    #else
+        #define AE_VISIBLE   extern __attribute__((visibility ("default")))
+    #endif
+#endif
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AutomaticAssessmentConfiguration.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AutomaticAssessmentConfiguration.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AutomaticAssessmentConfiguration.h	2021-03-16 08:41:02.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Headers/AutomaticAssessmentConfiguration.h	2021-06-01 22:25:32.000000000 -0400
@@ -5,7 +5,10 @@
 //  Copyright © 2020 Apple Inc. All rights reserved.
 //
 
+#import <AutomaticAssessmentConfiguration/AEAssessmentApplication.h>
 #import <AutomaticAssessmentConfiguration/AEAssessmentConfiguration.h>
+#import <AutomaticAssessmentConfiguration/AEAssessmentParticipantConfiguration.h>
 #import <AutomaticAssessmentConfiguration/AEAssessmentSession.h>
 #import <AutomaticAssessmentConfiguration/AEAssessmentSessionDelegate.h>
 #import <AutomaticAssessmentConfiguration/AEErrors.h>
+#import <AutomaticAssessmentConfiguration/AEVisibility.h>
Clone this wiki locally