diff --git a/Downloader/AppDelegate.swift b/Downloader/AppDelegate.swift index a65c6fe..2e2e494 100644 --- a/Downloader/AppDelegate.swift +++ b/Downloader/AppDelegate.swift @@ -21,7 +21,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { //App Center if let appCenter = Bundle.main.object(forInfoDictionaryKey: "AppCenter") as? String { - MSAppCenter.start(appCenter, withServices:[MSAnalytics.self, MSCrashes.self]) + AppCenter.start(withAppSecret: appCenter, services: [Analytics.self, Crashes.self]) } } diff --git a/Downloader/Common/Logger/EventLogger.swift b/Downloader/Common/Logger/EventLogger.swift index 4af5a71..60b687e 100644 --- a/Downloader/Common/Logger/EventLogger.swift +++ b/Downloader/Common/Logger/EventLogger.swift @@ -12,12 +12,12 @@ import AppCenterAnalytics struct EventLogger { static func downloadStart(url: String) { let params = getParams(from: url) - MSAnalytics.trackEvent("Download Start", withProperties: params) + Analytics.trackEvent("Download Start", withProperties: params) } static func downloadFinish(url: String) { let params = getParams(from: url) - MSAnalytics.trackEvent("Download Finish", withProperties: params) + Analytics.trackEvent("Download Finish", withProperties: params) } private static func getParams(from urlString: String)-> [String: String] { diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-1.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-1.png deleted file mode 100644 index 6c69610..0000000 Binary files a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-1.png and /dev/null differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-2.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-2.png deleted file mode 100644 index 6c69610..0000000 Binary files a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-2.png and /dev/null differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-3.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-3.png deleted file mode 100644 index 021d5d6..0000000 Binary files a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-3.png and /dev/null differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-4.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-4.png deleted file mode 100644 index 021d5d6..0000000 Binary files a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-4.png and /dev/null differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-5.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-5.png deleted file mode 100644 index d281bb7..0000000 Binary files a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-5.png and /dev/null differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-6.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-6.png deleted file mode 100644 index 3e9d873..0000000 Binary files a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-6.png and /dev/null differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-7.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-7.png deleted file mode 100644 index 9108db5..0000000 Binary files a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-7.png and /dev/null differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-8.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-8.png deleted file mode 100644 index 9108db5..0000000 Binary files a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-8.png and /dev/null differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-9.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-9.png deleted file mode 100644 index a38c55f..0000000 Binary files a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916-9.png and /dev/null differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916.png deleted file mode 100644 index 01ff7ab..0000000 Binary files a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/1977916.png and /dev/null differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json index b80fa69..6e059f2 100644 --- a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,68 +1,68 @@ { "images" : [ { - "size" : "16x16", + "filename" : "downloader-9.png", "idiom" : "mac", - "filename" : "1977916-9.png", - "scale" : "1x" + "scale" : "1x", + "size" : "16x16" }, { - "size" : "16x16", + "filename" : "downloader-8.png", "idiom" : "mac", - "filename" : "1977916-8.png", - "scale" : "2x" + "scale" : "2x", + "size" : "16x16" }, { - "size" : "32x32", + "filename" : "downloader-7.png", "idiom" : "mac", - "filename" : "1977916-7.png", - "scale" : "1x" + "scale" : "1x", + "size" : "32x32" }, { - "size" : "32x32", + "filename" : "downloader-6.png", "idiom" : "mac", - "filename" : "1977916-6.png", - "scale" : "2x" + "scale" : "2x", + "size" : "32x32" }, { - "size" : "128x128", + "filename" : "downloader-5.png", "idiom" : "mac", - "filename" : "1977916-5.png", - "scale" : "1x" + "scale" : "1x", + "size" : "128x128" }, { - "size" : "128x128", + "filename" : "downloader-4.png", "idiom" : "mac", - "filename" : "1977916-4.png", - "scale" : "2x" + "scale" : "2x", + "size" : "128x128" }, { - "size" : "256x256", + "filename" : "downloader-3.png", "idiom" : "mac", - "filename" : "1977916-3.png", - "scale" : "1x" + "scale" : "1x", + "size" : "256x256" }, { - "size" : "256x256", + "filename" : "downloader-2.png", "idiom" : "mac", - "filename" : "1977916-2.png", - "scale" : "2x" + "scale" : "2x", + "size" : "256x256" }, { - "size" : "512x512", + "filename" : "downloader-1.png", "idiom" : "mac", - "filename" : "1977916-1.png", - "scale" : "1x" + "scale" : "1x", + "size" : "512x512" }, { - "size" : "512x512", + "filename" : "downloader.png", "idiom" : "mac", - "filename" : "1977916.png", - "scale" : "2x" + "scale" : "2x", + "size" : "512x512" } ], "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 } -} \ No newline at end of file +} diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-1.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-1.png new file mode 100644 index 0000000..5573686 Binary files /dev/null and b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-1.png differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-2.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-2.png new file mode 100644 index 0000000..5573686 Binary files /dev/null and b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-2.png differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-3.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-3.png new file mode 100644 index 0000000..62670bc Binary files /dev/null and b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-3.png differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-4.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-4.png new file mode 100644 index 0000000..62670bc Binary files /dev/null and b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-4.png differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-5.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-5.png new file mode 100644 index 0000000..4e80f85 Binary files /dev/null and b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-5.png differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-6.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-6.png new file mode 100644 index 0000000..f1a4620 Binary files /dev/null and b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-6.png differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-7.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-7.png new file mode 100644 index 0000000..dd51939 Binary files /dev/null and b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-7.png differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-8.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-8.png new file mode 100644 index 0000000..dd51939 Binary files /dev/null and b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-8.png differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-9.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-9.png new file mode 100644 index 0000000..379e77f Binary files /dev/null and b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader-9.png differ diff --git a/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader.png b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader.png new file mode 100644 index 0000000..abf51cc Binary files /dev/null and b/Downloader/Resources/Assets.xcassets/AppIcon.appiconset/downloader.png differ diff --git a/Podfile.lock b/Podfile.lock index 5f7a4b2..e0f1354 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,14 +1,14 @@ PODS: - - AppCenter (2.5.3): - - AppCenter/Analytics (= 2.5.3) - - AppCenter/Crashes (= 2.5.3) - - AppCenter/Analytics (2.5.3): + - AppCenter (4.1.1): + - AppCenter/Analytics (= 4.1.1) + - AppCenter/Crashes (= 4.1.1) + - AppCenter/Analytics (4.1.1): - AppCenter/Core - - AppCenter/Core (2.5.3) - - AppCenter/Crashes (2.5.3): + - AppCenter/Core (4.1.1) + - AppCenter/Crashes (4.1.1): - AppCenter/Core - - CocoaLumberjack/Core (3.6.1) - - CocoaLumberjack/Swift (3.6.1): + - CocoaLumberjack/Core (3.7.2) + - CocoaLumberjack/Swift (3.7.2): - CocoaLumberjack/Core DEPENDENCIES: @@ -21,9 +21,9 @@ SPEC REPOS: - CocoaLumberjack SPEC CHECKSUMS: - AppCenter: 765ff38c4d360fc5ec61b61a8be24d74cd6d4d83 - CocoaLumberjack: b17ae15142558d08bbacf69775fa10c4abbebcc9 + AppCenter: cd53e3ed3563cc720bcb806c9731a12389b40d44 + CocoaLumberjack: b7e05132ff94f6ae4dfa9d5bce9141893a21d9da PODFILE CHECKSUM: 3b97e283480b815248cc0f11e64d9f11932a152f -COCOAPODS: 1.9.3 +COCOAPODS: 1.10.1 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/Info.plist new file mode 100644 index 0000000..10aac3b --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/Info.plist @@ -0,0 +1,99 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + LibraryIdentifier + tvos-arm64 + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + ios-arm64_i386_x86_64-simulator + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + i386 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_arm64e_armv7_armv7s + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + arm64e + armv7 + armv7s + + SupportedPlatform + ios + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/AppCenter new file mode 100644 index 0000000..9226cd4 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/AppCenter.h new file mode 100644 index 0000000..559521e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAbstractLog.h similarity index 54% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSAbstractLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAbstractLog.h index 76d0268..2d6db26 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSAbstractLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAbstractLog.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H #import -@interface MSAbstractLog : NSObject +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenter.h similarity index 64% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSAppCenter.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenter.h index c6ceb9c..8d4bb54 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSAppCenter.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenter.h @@ -3,18 +3,26 @@ #import -#import "MSConstants.h" +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER -@class MSWrapperSdk; +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; #if !TARGET_OS_TV -@class MSCustomProperties; +@class MSACCustomProperties; #endif -@interface MSAppCenter : NSObject +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject /** - * Returns the singleton instance of MSAppCenter. + * Returns the singleton instance of MSACAppCenter. */ + (instancetype)sharedInstance; @@ -25,7 +33,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)configureWithAppSecret:(NSString *)appSecret; ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); /** * Configure the SDK. @@ -42,7 +50,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)start:(NSString *)appSecret withServices:(NSArray *)services; ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); /** * Start the SDK with an array of services. @@ -51,7 +59,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)startWithServices:(NSArray *)services; ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); /** * Start a service. @@ -68,76 +76,45 @@ * * @param services Array of services to start. */ -+ (void)startFromLibraryWithServices:(NSArray *)services; ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); /** - * Check whether the SDK has already been configured or not. - * - * @return YES if configured, NO otherwise. + * The flag indicates whether the SDK has already been configured or not. */ -+ (BOOL)isConfigured; +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; /** - * Check whether app is running in App Center Test Cloud. - * - * @return true if running in App Center Test Cloud, false otherwise. + * The flag indicates whether app is running in App Center Test Cloud. */ -+ (BOOL)isRunningInAppCenterTestCloud; +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; /** - * Change the base URL (schema + authority + port only) used to communicate with the backend. + * The flag indicates whether or not the SDK was enabled as a whole * - * @param logUrl Base URL to use for backend communication. - */ -+ (void)setLogUrl:(NSString *)logUrl; - -/** - * Enable or disable the SDK as a whole. In addition to AppCenter resources, it will also enable or disable all registered services. * The state is persisted in the device's storage across application launches. - * - * @param isEnabled YES to enable, NO to disable. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Check whether the SDK is enabled or not as a whole. - * - * @return YES if enabled, NO otherwise. - * - * @see setEnabled: */ -+ (BOOL)isEnabled; +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); /** - * Get log level. - * - * @return Log level. + * The SDK's log level. */ -+ (MSLogLevel)logLevel; +@property(class, nonatomic) MSACLogLevel logLevel; /** - * Set log level. - * - * @param logLevel The log level. + * Base URL to use for backend communication. */ -+ (void)setLogLevel:(MSLogLevel)logLevel; +@property(class, nonatomic, strong) NSString *logUrl; /** - * Set log level handler. - * - * @param logHandler Handler. + * Set log handler. */ -+ (void)setLogHandler:(MSLogHandler)logHandler; +@property(class, nonatomic) MSACLogHandler logHandler; /** * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. - * - * @param wrapperSdk Wrapper SDK information. */ -+ (void)setWrapperSdk:(MSWrapperSdk *)wrapperSdk; +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; #if !TARGET_OS_TV /** @@ -145,14 +122,12 @@ * * @param customProperties Custom properties object. */ -+ (void)setCustomProperties:(MSCustomProperties *)customProperties; ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; #endif /** * Check whether the application delegate forwarder is enabled or not. * - * @return YES if enabled, NO otherwise. - * * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. * It simplifies the SDK integration but may not be suitable to any situations. For * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message @@ -160,29 +135,26 @@ * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it * to `0`. Then you will have to forward any application delegate needed by the SDK manually. */ -+ (BOOL)isAppDelegateForwarderEnabled; +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; /** - * Get unique installation identifier. + * Unique installation identifier. * - * @return Unique installation identifier. */ -+ (NSUUID *)installId; +@property(class, readonly, nonatomic) NSUUID *installId; /** * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect * if the debugger is being attached during runtime! * - * @return BOOL if the debugger is attached. */ -+ (BOOL)isDebuggerAttached; +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; /** - * Get the current version of AppCenter SDK. + * Current version of AppCenter SDK. * - * @return The current version of AppCenter SDK. */ -+ (NSString *)sdkVersion; +@property(class, readonly, nonatomic) NSString *sdkVersion; /** * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for @@ -202,22 +174,22 @@ /** * Set the user identifier. * - * @param userId User identifier. - * * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c - * MSAppCenter:start:withServices: contains "target={targetToken}". + * MSACAppCenter:start:withServices: contains "target={targetToken}". * * For App Center backend the user identifier maximum length is 256 characters. * * AppCenter must be configured or started before this API can be used. */ -+ (void)setUserId:(NSString *)userId; +@property(class, nonatomic, strong) NSString *userId; /** * Set country code to use when building device properties. * - * @param countryCode The two-letter ISO country code. @see https://www.iso.org/obp/ui/#search for more information. + * @see https://www.iso.org/obp/ui/#search for more information. */ -+ (void)setCountryCode:(NSString *)countryCode; +@property(class, nonatomic, strong) NSString *countryCode; @end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenterErrors.h new file mode 100644 index 0000000..8e77d77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 0000000..2d621d8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelProtocol.h similarity index 67% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSChannelProtocol.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelProtocol.h index 4c50baa..09fcb7d 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSChannelProtocol.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelProtocol.h @@ -1,36 +1,41 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_CHANNEL_PROTOCOL_H -#define MS_CHANNEL_PROTOCOL_H +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H #import -#import "MSEnable.h" +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif NS_ASSUME_NONNULL_BEGIN -@protocol MSChannelDelegate; +@protocol MSACChannelDelegate; /** - * `MSChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to the - * backend and/or stored on disk. + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. */ -@protocol MSChannelProtocol +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol /** * Add delegate. * * @param delegate delegate. */ -- (void)addDelegate:(id)delegate; +- (void)addDelegate:(id)delegate; /** * Remove delegate. * * @param delegate delegate. */ -- (void)removeDelegate:(id)delegate; +- (void)removeDelegate:(id)delegate; /** * Pause operations, logs will be stored but not sent. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants+Flags.h new file mode 100644 index 0000000..5408e55 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants.h new file mode 100644 index 0000000..545e9ea --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACCustomProperties.h similarity index 78% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSCustomProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACCustomProperties.h index 34b202e..28f1cf7 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSCustomProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACCustomProperties.h @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_CUSTOM_PROPERTIES_H -#define MS_CUSTOM_PROPERTIES_H +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H #import @@ -10,7 +10,8 @@ * Custom properties builder. * Collects multiple properties to send in one log. */ -@interface MSCustomProperties : NSObject +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject /** * Set the specified property value with the specified key. @@ -21,7 +22,7 @@ * * @return This instance. */ -- (instancetype)setString:(NSString *)value forKey:(NSString *)key; +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -32,7 +33,7 @@ * * @return This instance. */ -- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key; +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -43,7 +44,7 @@ * * @return This instance. */ -- (instancetype)setBool:(BOOL)value forKey:(NSString *)key; +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -54,7 +55,7 @@ * * @return This instance. */ -- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key; +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Clear the property for the specified key. @@ -63,7 +64,7 @@ * * @return This instance. */ -- (instancetype)clearPropertyForKey:(NSString *)key; +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACDevice.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSDevice.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACDevice.h index bca5214..b8fd18d 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSDevice.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACDevice.h @@ -1,14 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_DEVICE_H -#define MS_DEVICE_H +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H #import -#import "MSWrapperSdk.h" +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif -@interface MSDevice : MSWrapperSdk +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk /* * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACEnable.h similarity index 77% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSEnable.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACEnable.h index 11e2f60..3feff5b 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSEnable.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACEnable.h @@ -1,15 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ENABLE_H -#define MS_ENABLE_H +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H #import /** * Protocol to define an instance that can be enabled/disabled. */ -@protocol MSEnable +NS_SWIFT_NAME(Enable) +@protocol MSACEnable @required @@ -19,7 +20,7 @@ * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. * @param deleteData A boolean value set to YES to delete data or NO to keep it. */ -- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData; +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLog.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLog.h index 07f1e57..d46b377 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLog.h @@ -1,14 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_LOG_H -#define MS_LOG_H +#ifndef MSAC_LOG_H +#define MSAC_LOG_H #import -@class MSDevice; +@class MSACDevice; -@protocol MSLog +NS_SWIFT_NAME(Log) +@protocol MSACLog /** * Log type. @@ -39,7 +40,7 @@ /** * Device properties associated to this log. */ -@property(nonatomic, strong) MSDevice *device; +@property(nonatomic, strong) MSACDevice *device; /** * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogWithProperties.h similarity index 50% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSLogWithProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogWithProperties.h index 7a3b372..12af6c4 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSLogWithProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogWithProperties.h @@ -1,14 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_LOG_WITH_PROPERTIES_H -#define MS_LOG_WITH_PROPERTIES_H +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H #import -#import "MSAbstractLog.h" +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif -@interface MSLogWithProperties : MSAbstractLog +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog /** * Additional key/value pair parameters. [optional] diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogger.h new file mode 100644 index 0000000..bb4b413 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACService.h new file mode 100644 index 0000000..b9fafff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACServiceAbstract.h similarity index 73% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSServiceAbstract.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACServiceAbstract.h index 3e5e8de..ad7a2ef 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSServiceAbstract.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACServiceAbstract.h @@ -1,20 +1,25 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H #import -#import "MSService.h" +#if __has_include() +#import +#else +#import "MSACService.h" +#endif -@protocol MSChannelGroupProtocol; +@protocol MSACChannelGroupProtocol; /** * Abstraction of services common logic. * This class is intended to be subclassed only not instantiated directly. */ -@interface MSServiceAbstract : NSObject +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject /** * The flag indicates whether the service is started from application or not. @@ -29,7 +34,7 @@ * @param token default transmission target token for this service. * @param fromApplication indicates whether the service started from an application or not. */ -- (void)startWithChannelGroup:(id)channelGroup +- (void)startWithChannelGroup:(id)channelGroup appSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token fromApplication:(BOOL)fromApplication; @@ -44,11 +49,9 @@ - (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; /** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. + * The flag indicate whether the service needs the application secret or not. */ -- (BOOL)isAppSecretRequired; +@property(atomic, readonly) BOOL isAppSecretRequired; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperLogger.h similarity index 50% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSWrapperLogger.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperLogger.h index 1e17ff1..79a1462 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSWrapperLogger.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperLogger.h @@ -3,14 +3,19 @@ #import -#import "MSConstants.h" +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif /** * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App * Center. */ -@interface MSWrapperLogger : NSObject +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject -+ (void)MSWrapperLog:(MSLogMessageProvider)message tag:(NSString *)tag level:(MSLogLevel)level; ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperSdk.h similarity index 94% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSWrapperSdk.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperSdk.h index 647ba7b..2041072 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSWrapperSdk.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperSdk.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_WRAPPER_SDK_H -#define MS_WRAPPER_SDK_H +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H #import -@interface MSWrapperSdk : NSObject +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject /* * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Info.plist new file mode 100644 index 0000000..e1b26f5 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Modules/module.modulemap new file mode 100644 index 0000000..f15d734 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Modules/module.modulemap @@ -0,0 +1,13 @@ +framework module AppCenter { + umbrella header "AppCenter.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "CoreTelephony" + link framework "SystemConfiguration" + link framework "UIKit" + link "sqlite3" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/PrivateHeaders/MSChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h similarity index 63% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/PrivateHeaders/MSChannelDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h index f1985b2..59fb0bf 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/PrivateHeaders/MSChannelDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h @@ -3,14 +3,14 @@ #import -#import "MSConstants+Flags.h" +#import "MSACConstants+Flags.h" -@protocol MSChannelUnitProtocol; -@protocol MSChannelGroupProtocol; -@protocol MSChannelProtocol; -@protocol MSLog; +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; -@protocol MSChannelDelegate +@protocol MSACChannelDelegate @optional @@ -20,14 +20,14 @@ * @param channelGroup The channel group. * @param channel The newly added channel. */ -- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; /** * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. * * @param log The log to prepare. */ -- (void)channel:(id)channel prepareLog:(id)log; +- (void)channel:(id)channel prepareLog:(id)log; /** * A callback that is called after a log is definitely prepared. @@ -36,7 +36,7 @@ * @param internalId An internal Id to keep track of logs. * @param flags Options for the log. */ -- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSFlags)flags; +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; /** * A callback that is called after a log completed the enqueueing process whether it was successful or not. @@ -44,7 +44,7 @@ * @param log The log. * @param internalId An internal Id to keep track of logs. */ -- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; /** * Callback method that will be called before each log will be send to the server. @@ -52,7 +52,7 @@ * @param channel The channel object. * @param log The log to be sent. */ -- (void)channel:(id)channel willSendLog:(id)log; +- (void)channel:(id)channel willSendLog:(id)log; /** * Callback method that will be called in case the SDK was able to send a log. @@ -60,7 +60,7 @@ * @param channel The channel object. * @param log The log to be sent. */ -- (void)channel:(id)channel didSucceedSendingLog:(id)log; +- (void)channel:(id)channel didSucceedSendingLog:(id)log; /** * Callback method that will be called in case the SDK was unable to send a log. @@ -69,7 +69,7 @@ * @param log The log to be sent. * @param error The error that occured. */ -- (void)channel:(id)channel didFailSendingLog:(id)log withError:(NSError *)error; +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(NSError *)error; /** * A callback that is called when setEnabled has been invoked. @@ -78,7 +78,7 @@ * @param isEnabled The boolean that indicates enabled. * @param deletedData The boolean that indicates deleting data on disabled. */ -- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; /** * A callback that is called when pause has been invoked. @@ -86,7 +86,7 @@ * @param channel The channel. * @param identifyingObject The identifying object used to pause the channel. */ -- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; /** * A callback that is called when resume has been invoked. @@ -94,7 +94,7 @@ * @param channel The channel. * @param identifyingObject The identifying object used to resume the channel. */ -- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; /** * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the @@ -105,6 +105,6 @@ * * @return `true` if the log should be filtered out. */ -- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/AppCenter new file mode 100644 index 0000000..70cd93f Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h new file mode 100644 index 0000000..559521e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h similarity index 54% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSAbstractLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h index 76d0268..2d6db26 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSAbstractLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H #import -@interface MSAbstractLog : NSObject +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h similarity index 64% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSAppCenter.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h index c6ceb9c..8d4bb54 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSAppCenter.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h @@ -3,18 +3,26 @@ #import -#import "MSConstants.h" +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER -@class MSWrapperSdk; +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; #if !TARGET_OS_TV -@class MSCustomProperties; +@class MSACCustomProperties; #endif -@interface MSAppCenter : NSObject +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject /** - * Returns the singleton instance of MSAppCenter. + * Returns the singleton instance of MSACAppCenter. */ + (instancetype)sharedInstance; @@ -25,7 +33,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)configureWithAppSecret:(NSString *)appSecret; ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); /** * Configure the SDK. @@ -42,7 +50,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)start:(NSString *)appSecret withServices:(NSArray *)services; ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); /** * Start the SDK with an array of services. @@ -51,7 +59,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)startWithServices:(NSArray *)services; ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); /** * Start a service. @@ -68,76 +76,45 @@ * * @param services Array of services to start. */ -+ (void)startFromLibraryWithServices:(NSArray *)services; ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); /** - * Check whether the SDK has already been configured or not. - * - * @return YES if configured, NO otherwise. + * The flag indicates whether the SDK has already been configured or not. */ -+ (BOOL)isConfigured; +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; /** - * Check whether app is running in App Center Test Cloud. - * - * @return true if running in App Center Test Cloud, false otherwise. + * The flag indicates whether app is running in App Center Test Cloud. */ -+ (BOOL)isRunningInAppCenterTestCloud; +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; /** - * Change the base URL (schema + authority + port only) used to communicate with the backend. + * The flag indicates whether or not the SDK was enabled as a whole * - * @param logUrl Base URL to use for backend communication. - */ -+ (void)setLogUrl:(NSString *)logUrl; - -/** - * Enable or disable the SDK as a whole. In addition to AppCenter resources, it will also enable or disable all registered services. * The state is persisted in the device's storage across application launches. - * - * @param isEnabled YES to enable, NO to disable. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Check whether the SDK is enabled or not as a whole. - * - * @return YES if enabled, NO otherwise. - * - * @see setEnabled: */ -+ (BOOL)isEnabled; +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); /** - * Get log level. - * - * @return Log level. + * The SDK's log level. */ -+ (MSLogLevel)logLevel; +@property(class, nonatomic) MSACLogLevel logLevel; /** - * Set log level. - * - * @param logLevel The log level. + * Base URL to use for backend communication. */ -+ (void)setLogLevel:(MSLogLevel)logLevel; +@property(class, nonatomic, strong) NSString *logUrl; /** - * Set log level handler. - * - * @param logHandler Handler. + * Set log handler. */ -+ (void)setLogHandler:(MSLogHandler)logHandler; +@property(class, nonatomic) MSACLogHandler logHandler; /** * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. - * - * @param wrapperSdk Wrapper SDK information. */ -+ (void)setWrapperSdk:(MSWrapperSdk *)wrapperSdk; +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; #if !TARGET_OS_TV /** @@ -145,14 +122,12 @@ * * @param customProperties Custom properties object. */ -+ (void)setCustomProperties:(MSCustomProperties *)customProperties; ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; #endif /** * Check whether the application delegate forwarder is enabled or not. * - * @return YES if enabled, NO otherwise. - * * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. * It simplifies the SDK integration but may not be suitable to any situations. For * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message @@ -160,29 +135,26 @@ * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it * to `0`. Then you will have to forward any application delegate needed by the SDK manually. */ -+ (BOOL)isAppDelegateForwarderEnabled; +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; /** - * Get unique installation identifier. + * Unique installation identifier. * - * @return Unique installation identifier. */ -+ (NSUUID *)installId; +@property(class, readonly, nonatomic) NSUUID *installId; /** * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect * if the debugger is being attached during runtime! * - * @return BOOL if the debugger is attached. */ -+ (BOOL)isDebuggerAttached; +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; /** - * Get the current version of AppCenter SDK. + * Current version of AppCenter SDK. * - * @return The current version of AppCenter SDK. */ -+ (NSString *)sdkVersion; +@property(class, readonly, nonatomic) NSString *sdkVersion; /** * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for @@ -202,22 +174,22 @@ /** * Set the user identifier. * - * @param userId User identifier. - * * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c - * MSAppCenter:start:withServices: contains "target={targetToken}". + * MSACAppCenter:start:withServices: contains "target={targetToken}". * * For App Center backend the user identifier maximum length is 256 characters. * * AppCenter must be configured or started before this API can be used. */ -+ (void)setUserId:(NSString *)userId; +@property(class, nonatomic, strong) NSString *userId; /** * Set country code to use when building device properties. * - * @param countryCode The two-letter ISO country code. @see https://www.iso.org/obp/ui/#search for more information. + * @see https://www.iso.org/obp/ui/#search for more information. */ -+ (void)setCountryCode:(NSString *)countryCode; +@property(class, nonatomic, strong) NSString *countryCode; @end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h new file mode 100644 index 0000000..8e77d77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 0000000..2d621d8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h similarity index 67% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSChannelProtocol.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h index 4c50baa..09fcb7d 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSChannelProtocol.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h @@ -1,36 +1,41 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_CHANNEL_PROTOCOL_H -#define MS_CHANNEL_PROTOCOL_H +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H #import -#import "MSEnable.h" +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif NS_ASSUME_NONNULL_BEGIN -@protocol MSChannelDelegate; +@protocol MSACChannelDelegate; /** - * `MSChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to the - * backend and/or stored on disk. + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. */ -@protocol MSChannelProtocol +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol /** * Add delegate. * * @param delegate delegate. */ -- (void)addDelegate:(id)delegate; +- (void)addDelegate:(id)delegate; /** * Remove delegate. * * @param delegate delegate. */ -- (void)removeDelegate:(id)delegate; +- (void)removeDelegate:(id)delegate; /** * Pause operations, logs will be stored but not sent. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h new file mode 100644 index 0000000..5408e55 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h new file mode 100644 index 0000000..545e9ea --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h similarity index 78% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSCustomProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h index 34b202e..28f1cf7 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSCustomProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_CUSTOM_PROPERTIES_H -#define MS_CUSTOM_PROPERTIES_H +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H #import @@ -10,7 +10,8 @@ * Custom properties builder. * Collects multiple properties to send in one log. */ -@interface MSCustomProperties : NSObject +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject /** * Set the specified property value with the specified key. @@ -21,7 +22,7 @@ * * @return This instance. */ -- (instancetype)setString:(NSString *)value forKey:(NSString *)key; +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -32,7 +33,7 @@ * * @return This instance. */ -- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key; +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -43,7 +44,7 @@ * * @return This instance. */ -- (instancetype)setBool:(BOOL)value forKey:(NSString *)key; +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -54,7 +55,7 @@ * * @return This instance. */ -- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key; +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Clear the property for the specified key. @@ -63,7 +64,7 @@ * * @return This instance. */ -- (instancetype)clearPropertyForKey:(NSString *)key; +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSDevice.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h index bca5214..b8fd18d 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSDevice.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h @@ -1,14 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_DEVICE_H -#define MS_DEVICE_H +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H #import -#import "MSWrapperSdk.h" +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif -@interface MSDevice : MSWrapperSdk +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk /* * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h similarity index 77% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSEnable.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h index 11e2f60..3feff5b 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSEnable.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h @@ -1,15 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ENABLE_H -#define MS_ENABLE_H +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H #import /** * Protocol to define an instance that can be enabled/disabled. */ -@protocol MSEnable +NS_SWIFT_NAME(Enable) +@protocol MSACEnable @required @@ -19,7 +20,7 @@ * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. * @param deleteData A boolean value set to YES to delete data or NO to keep it. */ -- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData; +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h index 07f1e57..d46b377 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h @@ -1,14 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_LOG_H -#define MS_LOG_H +#ifndef MSAC_LOG_H +#define MSAC_LOG_H #import -@class MSDevice; +@class MSACDevice; -@protocol MSLog +NS_SWIFT_NAME(Log) +@protocol MSACLog /** * Log type. @@ -39,7 +40,7 @@ /** * Device properties associated to this log. */ -@property(nonatomic, strong) MSDevice *device; +@property(nonatomic, strong) MSACDevice *device; /** * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h similarity index 50% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSLogWithProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h index 7a3b372..12af6c4 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSLogWithProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h @@ -1,14 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_LOG_WITH_PROPERTIES_H -#define MS_LOG_WITH_PROPERTIES_H +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H #import -#import "MSAbstractLog.h" +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif -@interface MSLogWithProperties : MSAbstractLog +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog /** * Additional key/value pair parameters. [optional] diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h new file mode 100644 index 0000000..bb4b413 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACService.h new file mode 100644 index 0000000..b9fafff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h similarity index 73% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSServiceAbstract.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h index 3e5e8de..ad7a2ef 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSServiceAbstract.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h @@ -1,20 +1,25 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H #import -#import "MSService.h" +#if __has_include() +#import +#else +#import "MSACService.h" +#endif -@protocol MSChannelGroupProtocol; +@protocol MSACChannelGroupProtocol; /** * Abstraction of services common logic. * This class is intended to be subclassed only not instantiated directly. */ -@interface MSServiceAbstract : NSObject +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject /** * The flag indicates whether the service is started from application or not. @@ -29,7 +34,7 @@ * @param token default transmission target token for this service. * @param fromApplication indicates whether the service started from an application or not. */ -- (void)startWithChannelGroup:(id)channelGroup +- (void)startWithChannelGroup:(id)channelGroup appSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token fromApplication:(BOOL)fromApplication; @@ -44,11 +49,9 @@ - (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; /** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. + * The flag indicate whether the service needs the application secret or not. */ -- (BOOL)isAppSecretRequired; +@property(atomic, readonly) BOOL isAppSecretRequired; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h similarity index 50% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSWrapperLogger.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h index 1e17ff1..79a1462 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSWrapperLogger.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h @@ -3,14 +3,19 @@ #import -#import "MSConstants.h" +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif /** * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App * Center. */ -@interface MSWrapperLogger : NSObject +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject -+ (void)MSWrapperLog:(MSLogMessageProvider)message tag:(NSString *)tag level:(MSLogLevel)level; ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h similarity index 94% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSWrapperSdk.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h index 647ba7b..2041072 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSWrapperSdk.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_WRAPPER_SDK_H -#define MS_WRAPPER_SDK_H +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H #import -@interface MSWrapperSdk : NSObject +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject /* * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Info.plist new file mode 100644 index 0000000..d81d624 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Modules/module.modulemap new file mode 100644 index 0000000..f15d734 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Modules/module.modulemap @@ -0,0 +1,13 @@ +framework module AppCenter { + umbrella header "AppCenter.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "CoreTelephony" + link framework "SystemConfiguration" + link framework "UIKit" + link "sqlite3" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/PrivateHeaders/MSChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h similarity index 63% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/PrivateHeaders/MSChannelDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h index f1985b2..59fb0bf 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/PrivateHeaders/MSChannelDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h @@ -3,14 +3,14 @@ #import -#import "MSConstants+Flags.h" +#import "MSACConstants+Flags.h" -@protocol MSChannelUnitProtocol; -@protocol MSChannelGroupProtocol; -@protocol MSChannelProtocol; -@protocol MSLog; +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; -@protocol MSChannelDelegate +@protocol MSACChannelDelegate @optional @@ -20,14 +20,14 @@ * @param channelGroup The channel group. * @param channel The newly added channel. */ -- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; /** * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. * * @param log The log to prepare. */ -- (void)channel:(id)channel prepareLog:(id)log; +- (void)channel:(id)channel prepareLog:(id)log; /** * A callback that is called after a log is definitely prepared. @@ -36,7 +36,7 @@ * @param internalId An internal Id to keep track of logs. * @param flags Options for the log. */ -- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSFlags)flags; +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; /** * A callback that is called after a log completed the enqueueing process whether it was successful or not. @@ -44,7 +44,7 @@ * @param log The log. * @param internalId An internal Id to keep track of logs. */ -- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; /** * Callback method that will be called before each log will be send to the server. @@ -52,7 +52,7 @@ * @param channel The channel object. * @param log The log to be sent. */ -- (void)channel:(id)channel willSendLog:(id)log; +- (void)channel:(id)channel willSendLog:(id)log; /** * Callback method that will be called in case the SDK was able to send a log. @@ -60,7 +60,7 @@ * @param channel The channel object. * @param log The log to be sent. */ -- (void)channel:(id)channel didSucceedSendingLog:(id)log; +- (void)channel:(id)channel didSucceedSendingLog:(id)log; /** * Callback method that will be called in case the SDK was unable to send a log. @@ -69,7 +69,7 @@ * @param log The log to be sent. * @param error The error that occured. */ -- (void)channel:(id)channel didFailSendingLog:(id)log withError:(NSError *)error; +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(NSError *)error; /** * A callback that is called when setEnabled has been invoked. @@ -78,7 +78,7 @@ * @param isEnabled The boolean that indicates enabled. * @param deletedData The boolean that indicates deleting data on disabled. */ -- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; /** * A callback that is called when pause has been invoked. @@ -86,7 +86,7 @@ * @param channel The channel. * @param identifyingObject The identifying object used to pause the channel. */ -- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; /** * A callback that is called when resume has been invoked. @@ -94,7 +94,7 @@ * @param channel The channel. * @param identifyingObject The identifying object used to resume the channel. */ -- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; /** * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the @@ -105,6 +105,6 @@ * * @return `true` if the log should be filtered out. */ -- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..810d2c1 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..a510e9c Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..986713c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources @@ -0,0 +1,402 @@ + + + + + files + + Headers/AppCenter.h + + qaTNZSZUTXwLe2rrosDNCarRqAM= + + Headers/MSACAbstractLog.h + + +Ikfy/fTOpqwPZM3Fpii3cpsx8Y= + + Headers/MSACAppCenter.h + + 6OfDyMmJMT8W2D+IK7krlhID3Q0= + + Headers/MSACAppCenterErrors.h + + x7h4qpHD4GI3jrJ3F7n4UXAANsk= + + Headers/MSACChannelGroupProtocol.h + + jyWCHN4PSygLVy0IM5565DvDQAc= + + Headers/MSACChannelProtocol.h + + Y1rKi/TsirTR0MGBf1rIO/TTG0A= + + Headers/MSACConstants+Flags.h + + GK1gUSyIjWdv7KBP68wNxjxaH+E= + + Headers/MSACConstants.h + + d9HwKA0/VH3+pLRj1Pd49mqn2gI= + + Headers/MSACCustomProperties.h + + m7A9hEgL3d0gV4SyKmXJYRtwqoQ= + + Headers/MSACDevice.h + + suv4Wkt36Nkscy7jX2SSYzrkLRs= + + Headers/MSACEnable.h + + 3DnplEFkD1LImYNk+84TqcQvBho= + + Headers/MSACLog.h + + 1/7NIwYuYLGHIVMZps8b6/zOpJg= + + Headers/MSACLogWithProperties.h + + I4y13KVE36pyXv85mc5OWlCjplE= + + Headers/MSACLogger.h + + CaYHmB3+psy5/txfMvd2+bWGJkc= + + Headers/MSACService.h + + lz5atiMe+oTdu9e6g74KPC0CjOs= + + Headers/MSACServiceAbstract.h + + rBHatSAJK78PLgsMIpFqkby4tgA= + + Headers/MSACWrapperLogger.h + + qBVuNkF12BZYytRhCKwZ7zkiKhc= + + Headers/MSACWrapperSdk.h + + W9sdhEGnIGk/aFHS3gWwQ6FxUfI= + + Info.plist + + 0KM5Er3SPbSiDZlDo/T0G86NsII= + + Modules/module.modulemap + + go9b9XYQJIVcGlS/K5PS+8A+0dI= + + PrivateHeaders/MSACChannelDelegate.h + + WzX9TX1oxW4ezY/2JpPNH9dUE24= + + + files2 + + Headers/AppCenter.h + + hash + + qaTNZSZUTXwLe2rrosDNCarRqAM= + + hash2 + + 2Wv2BhvzEcs7qHle8K3IXhWh7EVoAIrE2gOs4b0p39c= + + + Headers/MSACAbstractLog.h + + hash + + +Ikfy/fTOpqwPZM3Fpii3cpsx8Y= + + hash2 + + 7hsXFv3UkGsJLcc3eh2pMUrGbGYP2hCUC854z05SzNQ= + + + Headers/MSACAppCenter.h + + hash + + 6OfDyMmJMT8W2D+IK7krlhID3Q0= + + hash2 + + wkkRWhAmDMYH0Z6dge9c/rxWJpTJGJsbRm5kVGn7wdo= + + + Headers/MSACAppCenterErrors.h + + hash + + x7h4qpHD4GI3jrJ3F7n4UXAANsk= + + hash2 + + OcNwIIu4yFxG62mZtiABP3/9DoN9tj1fL/7nSvF8u8s= + + + Headers/MSACChannelGroupProtocol.h + + hash + + jyWCHN4PSygLVy0IM5565DvDQAc= + + hash2 + + d36rCjxsURqDkFv+g5BwWNybz5Zksc9B91gqArFcJbk= + + + Headers/MSACChannelProtocol.h + + hash + + Y1rKi/TsirTR0MGBf1rIO/TTG0A= + + hash2 + + fI1fLkJvo9SXh2bAUWKIYlretRCOoGWJwlyvqMfQZNc= + + + Headers/MSACConstants+Flags.h + + hash + + GK1gUSyIjWdv7KBP68wNxjxaH+E= + + hash2 + + UDnw7GyNXzip13MvAvNKQQsWIUgU296uJHjPEkReCY8= + + + Headers/MSACConstants.h + + hash + + d9HwKA0/VH3+pLRj1Pd49mqn2gI= + + hash2 + + xx69UfYa0qw6aSDuVsUAqd/1+t90QCPkQUae+elZwZ0= + + + Headers/MSACCustomProperties.h + + hash + + m7A9hEgL3d0gV4SyKmXJYRtwqoQ= + + hash2 + + FveTXq+kqUdHHlSdLAoQisgT+95bzAuXTrTOQG/b/P8= + + + Headers/MSACDevice.h + + hash + + suv4Wkt36Nkscy7jX2SSYzrkLRs= + + hash2 + + i3TVX2C+DfcRKn2HTBaydWBYHjryX2Cy/eJJxjTFiT8= + + + Headers/MSACEnable.h + + hash + + 3DnplEFkD1LImYNk+84TqcQvBho= + + hash2 + + XrDKc7bXZaW8JW4NMItSBrHLR6a+LRG1JSLXZ0U0NsI= + + + Headers/MSACLog.h + + hash + + 1/7NIwYuYLGHIVMZps8b6/zOpJg= + + hash2 + + 3GF6xCTfpLDmOqKnacEOEDr5mkM/llKm0IoIEyISZKA= + + + Headers/MSACLogWithProperties.h + + hash + + I4y13KVE36pyXv85mc5OWlCjplE= + + hash2 + + WIrz7Xsi04AboAmZ5dA3d3t8D/8PomKLwsp7oorznVM= + + + Headers/MSACLogger.h + + hash + + CaYHmB3+psy5/txfMvd2+bWGJkc= + + hash2 + + GipSaz+D+Z5eWauQP+10U8xvbAnxPeIRD4HTvn0F5DQ= + + + Headers/MSACService.h + + hash + + lz5atiMe+oTdu9e6g74KPC0CjOs= + + hash2 + + aiO/PWAQDwhbPW1HDGqNM0kn4xYSwqPmdpmcTgpW/CE= + + + Headers/MSACServiceAbstract.h + + hash + + rBHatSAJK78PLgsMIpFqkby4tgA= + + hash2 + + vi9/mVDQylipTtHNfUe9r4GXjlc2bEnKFV8wmN/IXaE= + + + Headers/MSACWrapperLogger.h + + hash + + qBVuNkF12BZYytRhCKwZ7zkiKhc= + + hash2 + + h2VHxvALAogCMocFQMUjmOkhCm+qkJwpGTzxwdxTdwo= + + + Headers/MSACWrapperSdk.h + + hash + + W9sdhEGnIGk/aFHS3gWwQ6FxUfI= + + hash2 + + 5x+0epJnQN2wZKY2xjvsjAYrr6H1QGYIGz0ptux72dU= + + + Modules/module.modulemap + + hash + + go9b9XYQJIVcGlS/K5PS+8A+0dI= + + hash2 + + o0lkqm4+xeVosltUC3U+jCZnS35Tg8gUiUaKXbo0ZbQ= + + + PrivateHeaders/MSACChannelDelegate.h + + hash + + WzX9TX1oxW4ezY/2JpPNH9dUE24= + + hash2 + + AbAoifmIR5SJez5erJnVgTIz81yIMmvbnw6siYXEvaM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/AppCenter new file mode 120000 index 0000000..c6e14dc --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/AppCenter @@ -0,0 +1 @@ +Versions/Current/AppCenter \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/PrivateHeaders b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/PrivateHeaders new file mode 120000 index 0000000..d8e5645 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/PrivateHeaders @@ -0,0 +1 @@ +Versions/Current/PrivateHeaders \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/AppCenter new file mode 100644 index 0000000..031eb8c Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/AppCenter.h new file mode 100644 index 0000000..559521e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h similarity index 54% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAbstractLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h index 76d0268..2d6db26 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAbstractLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H #import -@interface MSAbstractLog : NSObject +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h similarity index 64% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSAppCenter.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h index c6ceb9c..8d4bb54 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSAppCenter.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h @@ -3,18 +3,26 @@ #import -#import "MSConstants.h" +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER -@class MSWrapperSdk; +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; #if !TARGET_OS_TV -@class MSCustomProperties; +@class MSACCustomProperties; #endif -@interface MSAppCenter : NSObject +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject /** - * Returns the singleton instance of MSAppCenter. + * Returns the singleton instance of MSACAppCenter. */ + (instancetype)sharedInstance; @@ -25,7 +33,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)configureWithAppSecret:(NSString *)appSecret; ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); /** * Configure the SDK. @@ -42,7 +50,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)start:(NSString *)appSecret withServices:(NSArray *)services; ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); /** * Start the SDK with an array of services. @@ -51,7 +59,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)startWithServices:(NSArray *)services; ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); /** * Start a service. @@ -68,76 +76,45 @@ * * @param services Array of services to start. */ -+ (void)startFromLibraryWithServices:(NSArray *)services; ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); /** - * Check whether the SDK has already been configured or not. - * - * @return YES if configured, NO otherwise. + * The flag indicates whether the SDK has already been configured or not. */ -+ (BOOL)isConfigured; +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; /** - * Check whether app is running in App Center Test Cloud. - * - * @return true if running in App Center Test Cloud, false otherwise. + * The flag indicates whether app is running in App Center Test Cloud. */ -+ (BOOL)isRunningInAppCenterTestCloud; +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; /** - * Change the base URL (schema + authority + port only) used to communicate with the backend. + * The flag indicates whether or not the SDK was enabled as a whole * - * @param logUrl Base URL to use for backend communication. - */ -+ (void)setLogUrl:(NSString *)logUrl; - -/** - * Enable or disable the SDK as a whole. In addition to AppCenter resources, it will also enable or disable all registered services. * The state is persisted in the device's storage across application launches. - * - * @param isEnabled YES to enable, NO to disable. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Check whether the SDK is enabled or not as a whole. - * - * @return YES if enabled, NO otherwise. - * - * @see setEnabled: */ -+ (BOOL)isEnabled; +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); /** - * Get log level. - * - * @return Log level. + * The SDK's log level. */ -+ (MSLogLevel)logLevel; +@property(class, nonatomic) MSACLogLevel logLevel; /** - * Set log level. - * - * @param logLevel The log level. + * Base URL to use for backend communication. */ -+ (void)setLogLevel:(MSLogLevel)logLevel; +@property(class, nonatomic, strong) NSString *logUrl; /** - * Set log level handler. - * - * @param logHandler Handler. + * Set log handler. */ -+ (void)setLogHandler:(MSLogHandler)logHandler; +@property(class, nonatomic) MSACLogHandler logHandler; /** * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. - * - * @param wrapperSdk Wrapper SDK information. */ -+ (void)setWrapperSdk:(MSWrapperSdk *)wrapperSdk; +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; #if !TARGET_OS_TV /** @@ -145,14 +122,12 @@ * * @param customProperties Custom properties object. */ -+ (void)setCustomProperties:(MSCustomProperties *)customProperties; ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; #endif /** * Check whether the application delegate forwarder is enabled or not. * - * @return YES if enabled, NO otherwise. - * * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. * It simplifies the SDK integration but may not be suitable to any situations. For * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message @@ -160,29 +135,26 @@ * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it * to `0`. Then you will have to forward any application delegate needed by the SDK manually. */ -+ (BOOL)isAppDelegateForwarderEnabled; +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; /** - * Get unique installation identifier. + * Unique installation identifier. * - * @return Unique installation identifier. */ -+ (NSUUID *)installId; +@property(class, readonly, nonatomic) NSUUID *installId; /** * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect * if the debugger is being attached during runtime! * - * @return BOOL if the debugger is attached. */ -+ (BOOL)isDebuggerAttached; +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; /** - * Get the current version of AppCenter SDK. + * Current version of AppCenter SDK. * - * @return The current version of AppCenter SDK. */ -+ (NSString *)sdkVersion; +@property(class, readonly, nonatomic) NSString *sdkVersion; /** * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for @@ -202,22 +174,22 @@ /** * Set the user identifier. * - * @param userId User identifier. - * * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c - * MSAppCenter:start:withServices: contains "target={targetToken}". + * MSACAppCenter:start:withServices: contains "target={targetToken}". * * For App Center backend the user identifier maximum length is 256 characters. * * AppCenter must be configured or started before this API can be used. */ -+ (void)setUserId:(NSString *)userId; +@property(class, nonatomic, strong) NSString *userId; /** * Set country code to use when building device properties. * - * @param countryCode The two-letter ISO country code. @see https://www.iso.org/obp/ui/#search for more information. + * @see https://www.iso.org/obp/ui/#search for more information. */ -+ (void)setCountryCode:(NSString *)countryCode; +@property(class, nonatomic, strong) NSString *countryCode; @end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h new file mode 100644 index 0000000..8e77d77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 0000000..2d621d8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h similarity index 67% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSChannelProtocol.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h index 4c50baa..09fcb7d 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSChannelProtocol.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h @@ -1,36 +1,41 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_CHANNEL_PROTOCOL_H -#define MS_CHANNEL_PROTOCOL_H +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H #import -#import "MSEnable.h" +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif NS_ASSUME_NONNULL_BEGIN -@protocol MSChannelDelegate; +@protocol MSACChannelDelegate; /** - * `MSChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to the - * backend and/or stored on disk. + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. */ -@protocol MSChannelProtocol +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol /** * Add delegate. * * @param delegate delegate. */ -- (void)addDelegate:(id)delegate; +- (void)addDelegate:(id)delegate; /** * Remove delegate. * * @param delegate delegate. */ -- (void)removeDelegate:(id)delegate; +- (void)removeDelegate:(id)delegate; /** * Pause operations, logs will be stored but not sent. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h new file mode 100644 index 0000000..5408e55 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants.h new file mode 100644 index 0000000..545e9ea --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h similarity index 78% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSCustomProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h index 34b202e..28f1cf7 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSCustomProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_CUSTOM_PROPERTIES_H -#define MS_CUSTOM_PROPERTIES_H +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H #import @@ -10,7 +10,8 @@ * Custom properties builder. * Collects multiple properties to send in one log. */ -@interface MSCustomProperties : NSObject +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject /** * Set the specified property value with the specified key. @@ -21,7 +22,7 @@ * * @return This instance. */ -- (instancetype)setString:(NSString *)value forKey:(NSString *)key; +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -32,7 +33,7 @@ * * @return This instance. */ -- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key; +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -43,7 +44,7 @@ * * @return This instance. */ -- (instancetype)setBool:(BOOL)value forKey:(NSString *)key; +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -54,7 +55,7 @@ * * @return This instance. */ -- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key; +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Clear the property for the specified key. @@ -63,7 +64,7 @@ * * @return This instance. */ -- (instancetype)clearPropertyForKey:(NSString *)key; +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACDevice.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSDevice.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACDevice.h index bca5214..b8fd18d 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSDevice.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACDevice.h @@ -1,14 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_DEVICE_H -#define MS_DEVICE_H +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H #import -#import "MSWrapperSdk.h" +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif -@interface MSDevice : MSWrapperSdk +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk /* * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACEnable.h similarity index 77% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSEnable.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACEnable.h index 11e2f60..3feff5b 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSEnable.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACEnable.h @@ -1,15 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ENABLE_H -#define MS_ENABLE_H +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H #import /** * Protocol to define an instance that can be enabled/disabled. */ -@protocol MSEnable +NS_SWIFT_NAME(Enable) +@protocol MSACEnable @required @@ -19,7 +20,7 @@ * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. * @param deleteData A boolean value set to YES to delete data or NO to keep it. */ -- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData; +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLog.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLog.h index 07f1e57..d46b377 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLog.h @@ -1,14 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_LOG_H -#define MS_LOG_H +#ifndef MSAC_LOG_H +#define MSAC_LOG_H #import -@class MSDevice; +@class MSACDevice; -@protocol MSLog +NS_SWIFT_NAME(Log) +@protocol MSACLog /** * Log type. @@ -39,7 +40,7 @@ /** * Device properties associated to this log. */ -@property(nonatomic, strong) MSDevice *device; +@property(nonatomic, strong) MSACDevice *device; /** * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h similarity index 50% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSLogWithProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h index 7a3b372..12af6c4 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSLogWithProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h @@ -1,14 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_LOG_WITH_PROPERTIES_H -#define MS_LOG_WITH_PROPERTIES_H +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H #import -#import "MSAbstractLog.h" +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif -@interface MSLogWithProperties : MSAbstractLog +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog /** * Additional key/value pair parameters. [optional] diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogger.h new file mode 100644 index 0000000..bb4b413 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACService.h new file mode 100644 index 0000000..b9fafff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h similarity index 73% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSServiceAbstract.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h index 3e5e8de..ad7a2ef 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSServiceAbstract.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h @@ -1,20 +1,25 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H #import -#import "MSService.h" +#if __has_include() +#import +#else +#import "MSACService.h" +#endif -@protocol MSChannelGroupProtocol; +@protocol MSACChannelGroupProtocol; /** * Abstraction of services common logic. * This class is intended to be subclassed only not instantiated directly. */ -@interface MSServiceAbstract : NSObject +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject /** * The flag indicates whether the service is started from application or not. @@ -29,7 +34,7 @@ * @param token default transmission target token for this service. * @param fromApplication indicates whether the service started from an application or not. */ -- (void)startWithChannelGroup:(id)channelGroup +- (void)startWithChannelGroup:(id)channelGroup appSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token fromApplication:(BOOL)fromApplication; @@ -44,11 +49,9 @@ - (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; /** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. + * The flag indicate whether the service needs the application secret or not. */ -- (BOOL)isAppSecretRequired; +@property(atomic, readonly) BOOL isAppSecretRequired; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h similarity index 50% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSWrapperLogger.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h index 1e17ff1..79a1462 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSWrapperLogger.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h @@ -3,14 +3,19 @@ #import -#import "MSConstants.h" +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif /** * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App * Center. */ -@interface MSWrapperLogger : NSObject +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject -+ (void)MSWrapperLog:(MSLogMessageProvider)message tag:(NSString *)tag level:(MSLogLevel)level; ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h similarity index 94% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSWrapperSdk.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h index 647ba7b..2041072 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSWrapperSdk.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_WRAPPER_SDK_H -#define MS_WRAPPER_SDK_H +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H #import -@interface MSWrapperSdk : NSObject +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject /* * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..f15d734 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,13 @@ +framework module AppCenter { + umbrella header "AppCenter.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "CoreTelephony" + link framework "SystemConfiguration" + link framework "UIKit" + link "sqlite3" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/PrivateHeaders/MSChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h similarity index 63% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/PrivateHeaders/MSChannelDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h index f1985b2..59fb0bf 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/PrivateHeaders/MSChannelDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h @@ -3,14 +3,14 @@ #import -#import "MSConstants+Flags.h" +#import "MSACConstants+Flags.h" -@protocol MSChannelUnitProtocol; -@protocol MSChannelGroupProtocol; -@protocol MSChannelProtocol; -@protocol MSLog; +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; -@protocol MSChannelDelegate +@protocol MSACChannelDelegate @optional @@ -20,14 +20,14 @@ * @param channelGroup The channel group. * @param channel The newly added channel. */ -- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; /** * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. * * @param log The log to prepare. */ -- (void)channel:(id)channel prepareLog:(id)log; +- (void)channel:(id)channel prepareLog:(id)log; /** * A callback that is called after a log is definitely prepared. @@ -36,7 +36,7 @@ * @param internalId An internal Id to keep track of logs. * @param flags Options for the log. */ -- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSFlags)flags; +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; /** * A callback that is called after a log completed the enqueueing process whether it was successful or not. @@ -44,7 +44,7 @@ * @param log The log. * @param internalId An internal Id to keep track of logs. */ -- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; /** * Callback method that will be called before each log will be send to the server. @@ -52,7 +52,7 @@ * @param channel The channel object. * @param log The log to be sent. */ -- (void)channel:(id)channel willSendLog:(id)log; +- (void)channel:(id)channel willSendLog:(id)log; /** * Callback method that will be called in case the SDK was able to send a log. @@ -60,7 +60,7 @@ * @param channel The channel object. * @param log The log to be sent. */ -- (void)channel:(id)channel didSucceedSendingLog:(id)log; +- (void)channel:(id)channel didSucceedSendingLog:(id)log; /** * Callback method that will be called in case the SDK was unable to send a log. @@ -69,7 +69,7 @@ * @param log The log to be sent. * @param error The error that occured. */ -- (void)channel:(id)channel didFailSendingLog:(id)log withError:(NSError *)error; +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(NSError *)error; /** * A callback that is called when setEnabled has been invoked. @@ -78,7 +78,7 @@ * @param isEnabled The boolean that indicates enabled. * @param deletedData The boolean that indicates deleting data on disabled. */ -- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; /** * A callback that is called when pause has been invoked. @@ -86,7 +86,7 @@ * @param channel The channel. * @param identifyingObject The identifying object used to pause the channel. */ -- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; /** * A callback that is called when resume has been invoked. @@ -94,7 +94,7 @@ * @param channel The channel. * @param identifyingObject The identifying object used to resume the channel. */ -- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; /** * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the @@ -105,6 +105,6 @@ * * @return `true` if the log should be filtered out. */ -- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Resources/Info.plist similarity index 76% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Resources/Info.plist rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Resources/Info.plist index 5799388..c8f24b9 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Resources/Info.plist +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Resources/Info.plist @@ -3,9 +3,9 @@ BuildMachineOSBuild - 18G1012 + 19H512 CFBundleDevelopmentRegion - English + en CFBundleExecutable AppCenter CFBundleIdentifier @@ -27,16 +27,22 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 10B61 + 11C505 DTPlatformVersion GM DTSDKBuild - 18B71 + 19B90 DTSDKName - macosx10.14 + macosx10.15 DTXcode - 1010 + 1130 DTXcodeBuild - 10B61 + 11C505 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/AppCenter new file mode 120000 index 0000000..c6e14dc --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/AppCenter @@ -0,0 +1 @@ +Versions/Current/AppCenter \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/PrivateHeaders b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/PrivateHeaders new file mode 120000 index 0000000..d8e5645 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/PrivateHeaders @@ -0,0 +1 @@ +Versions/Current/PrivateHeaders \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/AppCenter new file mode 100644 index 0000000..9a4f4d2 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/AppCenter.h new file mode 100644 index 0000000..559521e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h similarity index 54% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSAbstractLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h index 76d0268..2d6db26 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSAbstractLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H #import -@interface MSAbstractLog : NSObject +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h new file mode 100644 index 0000000..8d4bb54 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h @@ -0,0 +1,195 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; + +#if !TARGET_OS_TV +@class MSACCustomProperties; +#endif + +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject + +/** + * Returns the singleton instance of MSACAppCenter. + */ ++ (instancetype)sharedInstance; + +/** + * Configure the SDK with an application secret. + * + * @param appSecret A unique and secret key used to identify the application. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); + +/** + * Configure the SDK. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configure; + +/** + * Configure the SDK with an application secret and an array of services to start. + * + * @param appSecret A unique and secret key used to identify the application. + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); + +/** + * Start the SDK with an array of services. + * + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); + +/** + * Start a service. + * + * @param service A service to start. + * + * @discussion This may be called only once per service per application process lifetime. + */ ++ (void)startService:(Class)service; + +/** + * Configure the SDK with an array of services to start from a library. This will not start the service at application level, it will enable + * the service only for the library. + * + * @param services Array of services to start. + */ ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); + +/** + * The flag indicates whether the SDK has already been configured or not. + */ +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; + +/** + * The flag indicates whether app is running in App Center Test Cloud. + */ +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; + +/** + * The flag indicates whether or not the SDK was enabled as a whole + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * The SDK's log level. + */ +@property(class, nonatomic) MSACLogLevel logLevel; + +/** + * Base URL to use for backend communication. + */ +@property(class, nonatomic, strong) NSString *logUrl; + +/** + * Set log handler. + */ +@property(class, nonatomic) MSACLogHandler logHandler; + +/** + * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App + * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. + */ +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; + +#if !TARGET_OS_TV +/** + * Set the custom properties. + * + * @param customProperties Custom properties object. + */ ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; +#endif + +/** + * Check whether the application delegate forwarder is enabled or not. + * + * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. + * It simplifies the SDK integration but may not be suitable to any situations. For + * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message + * forwarding usually implies the implementation of @see NSObject#forwardingTargetForSelector: or @see NSObject#forwardInvocation: methods. + * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it + * to `0`. Then you will have to forward any application delegate needed by the SDK manually. + */ +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; + +/** + * Unique installation identifier. + * + */ +@property(class, readonly, nonatomic) NSUUID *installId; + +/** + * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect + * if the debugger is being attached during runtime! + * + */ +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; + +/** + * Current version of AppCenter SDK. + * + */ +@property(class, readonly, nonatomic) NSString *sdkVersion; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for + * applications. + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 20,480 bytes (20 KiB) will be ignored. + * + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. This parameter can be null. + * + * @discussion This only sets the maximum size of the database, but App Center modules might store additional data. + * The value passed to this method is not persisted on disk. The default maximum database size is 10485760 bytes (10 MiB). + */ ++ (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(void (^)(BOOL))completionHandler; + +/** + * Set the user identifier. + * + * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c + * MSACAppCenter:start:withServices: contains "target={targetToken}". + * + * For App Center backend the user identifier maximum length is 256 characters. + * + * AppCenter must be configured or started before this API can be used. + */ +@property(class, nonatomic, strong) NSString *userId; + +/** + * Set country code to use when building device properties. + * + * @see https://www.iso.org/obp/ui/#search for more information. + */ +@property(class, nonatomic, strong) NSString *countryCode; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h new file mode 100644 index 0000000..8e77d77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 0000000..2d621d8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h new file mode 100644 index 0000000..09fcb7d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate; + +/** + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. + */ +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol + +/** + * Add delegate. + * + * @param delegate delegate. + */ +- (void)addDelegate:(id)delegate; + +/** + * Remove delegate. + * + * @param delegate delegate. + */ +- (void)removeDelegate:(id)delegate; + +/** + * Pause operations, logs will be stored but not sent. + * + * @param identifyingObject Object used to identify the pause request. + * + * @discussion A paused channel doesn't forward logs to the ingestion. The identifying object used to pause the channel can be any unique + * object. The same identifying object must be used to call resume. For simplicity if the caller is the one owning the channel then @c self + * can be used as identifying object. + * + * @see resumeWithIdentifyingObject: + */ +- (void)pauseWithIdentifyingObject:(id)identifyingObject; + +/** + * Resume operations, logs can be sent again. + * + * @param identifyingObject Object used to passed to the pause method. + * + * @discussion The channel only resume when all the outstanding identifying objects have been resumed. + * + * @see pauseWithIdentifyingObject: + */ +- (void)resumeWithIdentifyingObject:(id)identifyingObject; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h new file mode 100644 index 0000000..5408e55 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants.h new file mode 100644 index 0000000..545e9ea --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h new file mode 100644 index 0000000..28f1cf7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H + +#import + +/** + * Custom properties builder. + * Collects multiple properties to send in one log. + */ +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Clear the property for the specified key. + * + * @param key Key whose mapping is to be cleared. + * + * @return This instance. + */ +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACDevice.h new file mode 100644 index 0000000..b8fd18d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACDevice.h @@ -0,0 +1,101 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H + +#import + +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif + +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk + +/* + * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" + */ +@property(nonatomic, copy, readonly) NSString *sdkName; + +/* + * Version of the SDK in semver format, e.g. "1.2.0" or "0.12.3-alpha.1". + */ +@property(nonatomic, copy, readonly) NSString *sdkVersion; + +/* + * Device model (example: iPad2,3). + */ +@property(nonatomic, copy, readonly) NSString *model; + +/* + * Device manufacturer (example: HTC). + */ +@property(nonatomic, copy, readonly) NSString *oemName; + +/* + * OS name (example: iOS). + */ +@property(nonatomic, copy, readonly) NSString *osName; + +/* + * OS version (example: 9.3.0). + */ +@property(nonatomic, copy, readonly) NSString *osVersion; + +/* + * OS build code (example: LMY47X). [optional] + */ +@property(nonatomic, copy, readonly) NSString *osBuild; + +/* + * API level when applicable like in Android (example: 15). [optional] + */ +@property(nonatomic, copy, readonly) NSNumber *osApiLevel; + +/* + * Language code (example: en_US). + */ +@property(nonatomic, copy, readonly) NSString *locale; + +/* + * The offset in minutes from UTC for the device time zone, including daylight savings time. + */ +@property(nonatomic, readonly, strong) NSNumber *timeZoneOffset; + +/* + * Screen size of the device in pixels (example: 640x480). + */ +@property(nonatomic, copy, readonly) NSString *screenSize; + +/* + * Application version name, e.g. 1.1.0 + */ +@property(nonatomic, copy, readonly) NSString *appVersion; + +/* + * Carrier name (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierName; + +/* + * Carrier country code (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierCountry; + +/* + * The app's build number, e.g. 42. + */ +@property(nonatomic, copy, readonly) NSString *appBuild; + +/* + * The bundle identifier, package identifier, or namespace, depending on what the individual plattforms use, .e.g com.microsoft.example. + * [optional] + */ +@property(nonatomic, copy, readonly) NSString *appNamespace; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACEnable.h new file mode 100644 index 0000000..3feff5b --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACEnable.h @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H + +#import + +/** + * Protocol to define an instance that can be enabled/disabled. + */ +NS_SWIFT_NAME(Enable) +@protocol MSACEnable + +@required + +/** + * Enable/disable this instance and delete data on disabled state. + * + * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. + * @param deleteData A boolean value set to YES to delete data or NO to keep it. + */ +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLog.h new file mode 100644 index 0000000..d46b377 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLog.h @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_H +#define MSAC_LOG_H + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(Log) +@protocol MSACLog + +/** + * Log type. + */ +@property(nonatomic, copy) NSString *type; + +/** + * Log timestamp. + */ +@property(nonatomic, strong) NSDate *timestamp; + +/** + * A session identifier is used to correlate logs together. A session is an abstract concept in the API and is not necessarily an analytics + * session, it can be used to only track crashes. + */ +@property(nonatomic, copy) NSString *sid; + +/** + * Optional distribution group ID value. + */ +@property(nonatomic, copy) NSString *distributionGroupId; + +/** + * Optional user identifier. + */ +@property(nonatomic, copy) NSString *userId; + +/** + * Device properties associated to this log. + */ +@property(nonatomic, strong) MSACDevice *device; + +/** + * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being + * applied retroactively to previous logs by comparing their tags. + */ +@property(nonatomic, strong) NSObject *tag; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +/** + * Adds a transmission target token that this log should be sent to. + * + * @param token The transmission target token. + */ +- (void)addTransmissionTargetToken:(NSString *)token; + +/** + * Gets all transmission target tokens that this log should be sent to. + * + * @returns Collection of transmission target tokens that this log should be sent to. + */ +- (NSSet *)transmissionTargetTokens; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h similarity index 50% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSLogWithProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h index 7a3b372..12af6c4 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSLogWithProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h @@ -1,14 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_LOG_WITH_PROPERTIES_H -#define MS_LOG_WITH_PROPERTIES_H +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H #import -#import "MSAbstractLog.h" +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif -@interface MSLogWithProperties : MSAbstractLog +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog /** * Additional key/value pair parameters. [optional] diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogger.h new file mode 100644 index 0000000..bb4b413 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACService.h new file mode 100644 index 0000000..b9fafff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h similarity index 73% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSServiceAbstract.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h index 3e5e8de..ad7a2ef 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSServiceAbstract.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h @@ -1,20 +1,25 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H #import -#import "MSService.h" +#if __has_include() +#import +#else +#import "MSACService.h" +#endif -@protocol MSChannelGroupProtocol; +@protocol MSACChannelGroupProtocol; /** * Abstraction of services common logic. * This class is intended to be subclassed only not instantiated directly. */ -@interface MSServiceAbstract : NSObject +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject /** * The flag indicates whether the service is started from application or not. @@ -29,7 +34,7 @@ * @param token default transmission target token for this service. * @param fromApplication indicates whether the service started from an application or not. */ -- (void)startWithChannelGroup:(id)channelGroup +- (void)startWithChannelGroup:(id)channelGroup appSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token fromApplication:(BOOL)fromApplication; @@ -44,11 +49,9 @@ - (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; /** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. + * The flag indicate whether the service needs the application secret or not. */ -- (BOOL)isAppSecretRequired; +@property(atomic, readonly) BOOL isAppSecretRequired; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h new file mode 100644 index 0000000..79a1462 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +/** + * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App + * Center. + */ +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject + ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h new file mode 100644 index 0000000..2041072 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H + +#import + +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject + +/* + * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific + * version is populated into this field while sdkVersion refers to the original Android SDK. [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkVersion; + +/* + * Name of the wrapper SDK (examples: Xamarin, Cordova). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkName; + +/* + * Version of the wrapper technology framework (Xamarin runtime version or ReactNative or Cordova etc...). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperRuntimeVersion; + +/* + * Label that is used to identify application code 'version' released via Live Update beacon running on device. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateReleaseLabel; + +/* + * Identifier of environment that current application release belongs to, deployment key then maps to environment like Production, Staging. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateDeploymentKey; + +/* + * Hash of all files (ReactNative or Cordova) deployed to device via LiveUpdate beacon. Helps identify the Release version on device or need + * to download updates in future + */ +@property(nonatomic, copy, readonly) NSString *liveUpdatePackageHash; + +- (instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion + wrapperSdkName:(NSString *)wrapperSdkName + wrapperRuntimeVersion:(NSString *)wrapperRuntimeVersion + liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel + liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey + liveUpdatePackageHash:(NSString *)liveUpdatePackageHash; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Modules/module.modulemap similarity index 100% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Modules/module.modulemap diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h new file mode 100644 index 0000000..59fb0bf --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#import "MSACConstants+Flags.h" + +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; + +@protocol MSACChannelDelegate + +@optional + +/** + * A callback that is called when a channel unit is added to the channel group. + * + * @param channelGroup The channel group. + * @param channel The newly added channel. + */ +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; + +/** + * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. + * + * @param log The log to prepare. + */ +- (void)channel:(id)channel prepareLog:(id)log; + +/** + * A callback that is called after a log is definitely prepared. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + * @param flags Options for the log. + */ +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; + +/** + * A callback that is called after a log completed the enqueueing process whether it was successful or not. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + */ +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; + +/** + * Callback method that will be called before each log will be send to the server. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel willSendLog:(id)log; + +/** + * Callback method that will be called in case the SDK was able to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel didSucceedSendingLog:(id)log; + +/** + * Callback method that will be called in case the SDK was unable to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + * @param error The error that occured. + */ +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(NSError *)error; + +/** + * A callback that is called when setEnabled has been invoked. + * + * @param channel The channel. + * @param isEnabled The boolean that indicates enabled. + * @param deletedData The boolean that indicates deleting data on disabled. + */ +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; + +/** + * A callback that is called when pause has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to pause the channel. + */ +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; + +/** + * A callback that is called when resume has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to resume the channel. + */ +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; + +/** + * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the + * log is filtered. + * + * @param channelUnit The channel unit that is going to send the log. + * @param log The log to be filtered or not. + * + * @return `true` if the log should be filtered out. + */ +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Resources/Info.plist similarity index 81% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Resources/Info.plist rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Resources/Info.plist index 5799388..ecd943f 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Resources/Info.plist +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Resources/Info.plist @@ -3,9 +3,9 @@ BuildMachineOSBuild - 18G1012 + 19H512 CFBundleDevelopmentRegion - English + en CFBundleExecutable AppCenter CFBundleIdentifier @@ -27,16 +27,18 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 10B61 + 11C505 DTPlatformVersion GM DTSDKBuild - 18B71 + 19B90 DTSDKName - macosx10.14 + macosx10.15 DTXcode - 1010 + 1130 DTXcodeBuild - 10B61 + 11C505 + LSMinimumSystemVersion + 10.9 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/AppCenter new file mode 100644 index 0000000..bd211f4 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/AppCenter.h new file mode 100644 index 0000000..559521e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAbstractLog.h new file mode 100644 index 0000000..2d6db26 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAbstractLog.h @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H + +#import + +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenter.h new file mode 100644 index 0000000..8d4bb54 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenter.h @@ -0,0 +1,195 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; + +#if !TARGET_OS_TV +@class MSACCustomProperties; +#endif + +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject + +/** + * Returns the singleton instance of MSACAppCenter. + */ ++ (instancetype)sharedInstance; + +/** + * Configure the SDK with an application secret. + * + * @param appSecret A unique and secret key used to identify the application. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); + +/** + * Configure the SDK. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configure; + +/** + * Configure the SDK with an application secret and an array of services to start. + * + * @param appSecret A unique and secret key used to identify the application. + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); + +/** + * Start the SDK with an array of services. + * + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); + +/** + * Start a service. + * + * @param service A service to start. + * + * @discussion This may be called only once per service per application process lifetime. + */ ++ (void)startService:(Class)service; + +/** + * Configure the SDK with an array of services to start from a library. This will not start the service at application level, it will enable + * the service only for the library. + * + * @param services Array of services to start. + */ ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); + +/** + * The flag indicates whether the SDK has already been configured or not. + */ +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; + +/** + * The flag indicates whether app is running in App Center Test Cloud. + */ +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; + +/** + * The flag indicates whether or not the SDK was enabled as a whole + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * The SDK's log level. + */ +@property(class, nonatomic) MSACLogLevel logLevel; + +/** + * Base URL to use for backend communication. + */ +@property(class, nonatomic, strong) NSString *logUrl; + +/** + * Set log handler. + */ +@property(class, nonatomic) MSACLogHandler logHandler; + +/** + * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App + * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. + */ +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; + +#if !TARGET_OS_TV +/** + * Set the custom properties. + * + * @param customProperties Custom properties object. + */ ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; +#endif + +/** + * Check whether the application delegate forwarder is enabled or not. + * + * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. + * It simplifies the SDK integration but may not be suitable to any situations. For + * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message + * forwarding usually implies the implementation of @see NSObject#forwardingTargetForSelector: or @see NSObject#forwardInvocation: methods. + * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it + * to `0`. Then you will have to forward any application delegate needed by the SDK manually. + */ +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; + +/** + * Unique installation identifier. + * + */ +@property(class, readonly, nonatomic) NSUUID *installId; + +/** + * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect + * if the debugger is being attached during runtime! + * + */ +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; + +/** + * Current version of AppCenter SDK. + * + */ +@property(class, readonly, nonatomic) NSString *sdkVersion; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for + * applications. + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 20,480 bytes (20 KiB) will be ignored. + * + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. This parameter can be null. + * + * @discussion This only sets the maximum size of the database, but App Center modules might store additional data. + * The value passed to this method is not persisted on disk. The default maximum database size is 10485760 bytes (10 MiB). + */ ++ (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(void (^)(BOOL))completionHandler; + +/** + * Set the user identifier. + * + * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c + * MSACAppCenter:start:withServices: contains "target={targetToken}". + * + * For App Center backend the user identifier maximum length is 256 characters. + * + * AppCenter must be configured or started before this API can be used. + */ +@property(class, nonatomic, strong) NSString *userId; + +/** + * Set country code to use when building device properties. + * + * @see https://www.iso.org/obp/ui/#search for more information. + */ +@property(class, nonatomic, strong) NSString *countryCode; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenterErrors.h new file mode 100644 index 0000000..8e77d77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 0000000..2d621d8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelProtocol.h new file mode 100644 index 0000000..09fcb7d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelProtocol.h @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate; + +/** + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. + */ +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol + +/** + * Add delegate. + * + * @param delegate delegate. + */ +- (void)addDelegate:(id)delegate; + +/** + * Remove delegate. + * + * @param delegate delegate. + */ +- (void)removeDelegate:(id)delegate; + +/** + * Pause operations, logs will be stored but not sent. + * + * @param identifyingObject Object used to identify the pause request. + * + * @discussion A paused channel doesn't forward logs to the ingestion. The identifying object used to pause the channel can be any unique + * object. The same identifying object must be used to call resume. For simplicity if the caller is the one owning the channel then @c self + * can be used as identifying object. + * + * @see resumeWithIdentifyingObject: + */ +- (void)pauseWithIdentifyingObject:(id)identifyingObject; + +/** + * Resume operations, logs can be sent again. + * + * @param identifyingObject Object used to passed to the pause method. + * + * @discussion The channel only resume when all the outstanding identifying objects have been resumed. + * + * @see pauseWithIdentifyingObject: + */ +- (void)resumeWithIdentifyingObject:(id)identifyingObject; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants+Flags.h new file mode 100644 index 0000000..5408e55 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants.h new file mode 100644 index 0000000..545e9ea --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACCustomProperties.h new file mode 100644 index 0000000..28f1cf7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACCustomProperties.h @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H + +#import + +/** + * Custom properties builder. + * Collects multiple properties to send in one log. + */ +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Clear the property for the specified key. + * + * @param key Key whose mapping is to be cleared. + * + * @return This instance. + */ +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACDevice.h new file mode 100644 index 0000000..b8fd18d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACDevice.h @@ -0,0 +1,101 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H + +#import + +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif + +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk + +/* + * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" + */ +@property(nonatomic, copy, readonly) NSString *sdkName; + +/* + * Version of the SDK in semver format, e.g. "1.2.0" or "0.12.3-alpha.1". + */ +@property(nonatomic, copy, readonly) NSString *sdkVersion; + +/* + * Device model (example: iPad2,3). + */ +@property(nonatomic, copy, readonly) NSString *model; + +/* + * Device manufacturer (example: HTC). + */ +@property(nonatomic, copy, readonly) NSString *oemName; + +/* + * OS name (example: iOS). + */ +@property(nonatomic, copy, readonly) NSString *osName; + +/* + * OS version (example: 9.3.0). + */ +@property(nonatomic, copy, readonly) NSString *osVersion; + +/* + * OS build code (example: LMY47X). [optional] + */ +@property(nonatomic, copy, readonly) NSString *osBuild; + +/* + * API level when applicable like in Android (example: 15). [optional] + */ +@property(nonatomic, copy, readonly) NSNumber *osApiLevel; + +/* + * Language code (example: en_US). + */ +@property(nonatomic, copy, readonly) NSString *locale; + +/* + * The offset in minutes from UTC for the device time zone, including daylight savings time. + */ +@property(nonatomic, readonly, strong) NSNumber *timeZoneOffset; + +/* + * Screen size of the device in pixels (example: 640x480). + */ +@property(nonatomic, copy, readonly) NSString *screenSize; + +/* + * Application version name, e.g. 1.1.0 + */ +@property(nonatomic, copy, readonly) NSString *appVersion; + +/* + * Carrier name (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierName; + +/* + * Carrier country code (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierCountry; + +/* + * The app's build number, e.g. 42. + */ +@property(nonatomic, copy, readonly) NSString *appBuild; + +/* + * The bundle identifier, package identifier, or namespace, depending on what the individual plattforms use, .e.g com.microsoft.example. + * [optional] + */ +@property(nonatomic, copy, readonly) NSString *appNamespace; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACEnable.h new file mode 100644 index 0000000..3feff5b --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACEnable.h @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H + +#import + +/** + * Protocol to define an instance that can be enabled/disabled. + */ +NS_SWIFT_NAME(Enable) +@protocol MSACEnable + +@required + +/** + * Enable/disable this instance and delete data on disabled state. + * + * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. + * @param deleteData A boolean value set to YES to delete data or NO to keep it. + */ +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLog.h new file mode 100644 index 0000000..d46b377 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLog.h @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_H +#define MSAC_LOG_H + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(Log) +@protocol MSACLog + +/** + * Log type. + */ +@property(nonatomic, copy) NSString *type; + +/** + * Log timestamp. + */ +@property(nonatomic, strong) NSDate *timestamp; + +/** + * A session identifier is used to correlate logs together. A session is an abstract concept in the API and is not necessarily an analytics + * session, it can be used to only track crashes. + */ +@property(nonatomic, copy) NSString *sid; + +/** + * Optional distribution group ID value. + */ +@property(nonatomic, copy) NSString *distributionGroupId; + +/** + * Optional user identifier. + */ +@property(nonatomic, copy) NSString *userId; + +/** + * Device properties associated to this log. + */ +@property(nonatomic, strong) MSACDevice *device; + +/** + * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being + * applied retroactively to previous logs by comparing their tags. + */ +@property(nonatomic, strong) NSObject *tag; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +/** + * Adds a transmission target token that this log should be sent to. + * + * @param token The transmission target token. + */ +- (void)addTransmissionTargetToken:(NSString *)token; + +/** + * Gets all transmission target tokens that this log should be sent to. + * + * @returns Collection of transmission target tokens that this log should be sent to. + */ +- (NSSet *)transmissionTargetTokens; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogWithProperties.h new file mode 100644 index 0000000..12af6c4 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogWithProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog + +/** + * Additional key/value pair parameters. [optional] + */ +@property(nonatomic, strong) NSDictionary *properties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogger.h new file mode 100644 index 0000000..bb4b413 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACService.h new file mode 100644 index 0000000..b9fafff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACServiceAbstract.h new file mode 100644 index 0000000..ad7a2ef --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACServiceAbstract.h @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H + +#import + +#if __has_include() +#import +#else +#import "MSACService.h" +#endif + +@protocol MSACChannelGroupProtocol; + +/** + * Abstraction of services common logic. + * This class is intended to be subclassed only not instantiated directly. + */ +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject + +/** + * The flag indicates whether the service is started from application or not. + */ +@property(nonatomic, assign) BOOL startedFromApplication; + +/** + * Start this service with a channel group. Also sets the flag that indicates that a service has been started. + * + * @param channelGroup channel group used to persist and send logs. + * @param appSecret app secret for the SDK. + * @param token default transmission target token for this service. + * @param fromApplication indicates whether the service started from an application or not. + */ +- (void)startWithChannelGroup:(id)channelGroup + appSecret:(NSString *)appSecret + transmissionTargetToken:(NSString *)token + fromApplication:(BOOL)fromApplication; + +/** + * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries + * and then is being started from an application. + * + * @param appSecret app secret for the SDK. + * @param token default transmission target token for this service. + */ +- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; + +/** + * The flag indicate whether the service needs the application secret or not. + */ +@property(atomic, readonly) BOOL isAppSecretRequired; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperLogger.h new file mode 100644 index 0000000..79a1462 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperLogger.h @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +/** + * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App + * Center. + */ +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject + ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperSdk.h new file mode 100644 index 0000000..2041072 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperSdk.h @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H + +#import + +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject + +/* + * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific + * version is populated into this field while sdkVersion refers to the original Android SDK. [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkVersion; + +/* + * Name of the wrapper SDK (examples: Xamarin, Cordova). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkName; + +/* + * Version of the wrapper technology framework (Xamarin runtime version or ReactNative or Cordova etc...). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperRuntimeVersion; + +/* + * Label that is used to identify application code 'version' released via Live Update beacon running on device. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateReleaseLabel; + +/* + * Identifier of environment that current application release belongs to, deployment key then maps to environment like Production, Staging. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateDeploymentKey; + +/* + * Hash of all files (ReactNative or Cordova) deployed to device via LiveUpdate beacon. Helps identify the Release version on device or need + * to download updates in future + */ +@property(nonatomic, copy, readonly) NSString *liveUpdatePackageHash; + +- (instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion + wrapperSdkName:(NSString *)wrapperSdkName + wrapperRuntimeVersion:(NSString *)wrapperRuntimeVersion + liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel + liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey + liveUpdatePackageHash:(NSString *)liveUpdatePackageHash; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Info.plist new file mode 100644 index 0000000..00c0900 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Modules/module.modulemap similarity index 87% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Modules/module.modulemap index 32c35bd..ec02d0f 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Modules/module.modulemap +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Modules/module.modulemap @@ -1,12 +1,12 @@ framework module AppCenter { umbrella header "AppCenter.h" - + export * module * { export * } link framework "Foundation" link framework "SystemConfiguration" - link framework "AppKit" + link framework "UIKit" link "sqlite3" link "z" } diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h new file mode 100644 index 0000000..59fb0bf --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#import "MSACConstants+Flags.h" + +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; + +@protocol MSACChannelDelegate + +@optional + +/** + * A callback that is called when a channel unit is added to the channel group. + * + * @param channelGroup The channel group. + * @param channel The newly added channel. + */ +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; + +/** + * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. + * + * @param log The log to prepare. + */ +- (void)channel:(id)channel prepareLog:(id)log; + +/** + * A callback that is called after a log is definitely prepared. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + * @param flags Options for the log. + */ +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; + +/** + * A callback that is called after a log completed the enqueueing process whether it was successful or not. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + */ +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; + +/** + * Callback method that will be called before each log will be send to the server. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel willSendLog:(id)log; + +/** + * Callback method that will be called in case the SDK was able to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel didSucceedSendingLog:(id)log; + +/** + * Callback method that will be called in case the SDK was unable to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + * @param error The error that occured. + */ +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(NSError *)error; + +/** + * A callback that is called when setEnabled has been invoked. + * + * @param channel The channel. + * @param isEnabled The boolean that indicates enabled. + * @param deletedData The boolean that indicates deleting data on disabled. + */ +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; + +/** + * A callback that is called when pause has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to pause the channel. + */ +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; + +/** + * A callback that is called when resume has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to resume the channel. + */ +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; + +/** + * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the + * log is filtered. + * + * @param channelUnit The channel unit that is going to send the log. + * @param log The log to be filtered or not. + * + * @return `true` if the log should be filtered out. + */ +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/AppCenter new file mode 100644 index 0000000..6850796 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h new file mode 100644 index 0000000..559521e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h new file mode 100644 index 0000000..2d6db26 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H + +#import + +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h new file mode 100644 index 0000000..8d4bb54 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h @@ -0,0 +1,195 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; + +#if !TARGET_OS_TV +@class MSACCustomProperties; +#endif + +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject + +/** + * Returns the singleton instance of MSACAppCenter. + */ ++ (instancetype)sharedInstance; + +/** + * Configure the SDK with an application secret. + * + * @param appSecret A unique and secret key used to identify the application. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); + +/** + * Configure the SDK. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configure; + +/** + * Configure the SDK with an application secret and an array of services to start. + * + * @param appSecret A unique and secret key used to identify the application. + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); + +/** + * Start the SDK with an array of services. + * + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); + +/** + * Start a service. + * + * @param service A service to start. + * + * @discussion This may be called only once per service per application process lifetime. + */ ++ (void)startService:(Class)service; + +/** + * Configure the SDK with an array of services to start from a library. This will not start the service at application level, it will enable + * the service only for the library. + * + * @param services Array of services to start. + */ ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); + +/** + * The flag indicates whether the SDK has already been configured or not. + */ +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; + +/** + * The flag indicates whether app is running in App Center Test Cloud. + */ +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; + +/** + * The flag indicates whether or not the SDK was enabled as a whole + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * The SDK's log level. + */ +@property(class, nonatomic) MSACLogLevel logLevel; + +/** + * Base URL to use for backend communication. + */ +@property(class, nonatomic, strong) NSString *logUrl; + +/** + * Set log handler. + */ +@property(class, nonatomic) MSACLogHandler logHandler; + +/** + * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App + * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. + */ +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; + +#if !TARGET_OS_TV +/** + * Set the custom properties. + * + * @param customProperties Custom properties object. + */ ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; +#endif + +/** + * Check whether the application delegate forwarder is enabled or not. + * + * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. + * It simplifies the SDK integration but may not be suitable to any situations. For + * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message + * forwarding usually implies the implementation of @see NSObject#forwardingTargetForSelector: or @see NSObject#forwardInvocation: methods. + * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it + * to `0`. Then you will have to forward any application delegate needed by the SDK manually. + */ +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; + +/** + * Unique installation identifier. + * + */ +@property(class, readonly, nonatomic) NSUUID *installId; + +/** + * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect + * if the debugger is being attached during runtime! + * + */ +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; + +/** + * Current version of AppCenter SDK. + * + */ +@property(class, readonly, nonatomic) NSString *sdkVersion; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for + * applications. + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 20,480 bytes (20 KiB) will be ignored. + * + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. This parameter can be null. + * + * @discussion This only sets the maximum size of the database, but App Center modules might store additional data. + * The value passed to this method is not persisted on disk. The default maximum database size is 10485760 bytes (10 MiB). + */ ++ (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(void (^)(BOOL))completionHandler; + +/** + * Set the user identifier. + * + * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c + * MSACAppCenter:start:withServices: contains "target={targetToken}". + * + * For App Center backend the user identifier maximum length is 256 characters. + * + * AppCenter must be configured or started before this API can be used. + */ +@property(class, nonatomic, strong) NSString *userId; + +/** + * Set country code to use when building device properties. + * + * @see https://www.iso.org/obp/ui/#search for more information. + */ +@property(class, nonatomic, strong) NSString *countryCode; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h new file mode 100644 index 0000000..8e77d77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 0000000..2d621d8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h new file mode 100644 index 0000000..09fcb7d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate; + +/** + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. + */ +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol + +/** + * Add delegate. + * + * @param delegate delegate. + */ +- (void)addDelegate:(id)delegate; + +/** + * Remove delegate. + * + * @param delegate delegate. + */ +- (void)removeDelegate:(id)delegate; + +/** + * Pause operations, logs will be stored but not sent. + * + * @param identifyingObject Object used to identify the pause request. + * + * @discussion A paused channel doesn't forward logs to the ingestion. The identifying object used to pause the channel can be any unique + * object. The same identifying object must be used to call resume. For simplicity if the caller is the one owning the channel then @c self + * can be used as identifying object. + * + * @see resumeWithIdentifyingObject: + */ +- (void)pauseWithIdentifyingObject:(id)identifyingObject; + +/** + * Resume operations, logs can be sent again. + * + * @param identifyingObject Object used to passed to the pause method. + * + * @discussion The channel only resume when all the outstanding identifying objects have been resumed. + * + * @see pauseWithIdentifyingObject: + */ +- (void)resumeWithIdentifyingObject:(id)identifyingObject; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h new file mode 100644 index 0000000..5408e55 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h new file mode 100644 index 0000000..545e9ea --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h new file mode 100644 index 0000000..28f1cf7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H + +#import + +/** + * Custom properties builder. + * Collects multiple properties to send in one log. + */ +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Clear the property for the specified key. + * + * @param key Key whose mapping is to be cleared. + * + * @return This instance. + */ +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h new file mode 100644 index 0000000..b8fd18d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h @@ -0,0 +1,101 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H + +#import + +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif + +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk + +/* + * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" + */ +@property(nonatomic, copy, readonly) NSString *sdkName; + +/* + * Version of the SDK in semver format, e.g. "1.2.0" or "0.12.3-alpha.1". + */ +@property(nonatomic, copy, readonly) NSString *sdkVersion; + +/* + * Device model (example: iPad2,3). + */ +@property(nonatomic, copy, readonly) NSString *model; + +/* + * Device manufacturer (example: HTC). + */ +@property(nonatomic, copy, readonly) NSString *oemName; + +/* + * OS name (example: iOS). + */ +@property(nonatomic, copy, readonly) NSString *osName; + +/* + * OS version (example: 9.3.0). + */ +@property(nonatomic, copy, readonly) NSString *osVersion; + +/* + * OS build code (example: LMY47X). [optional] + */ +@property(nonatomic, copy, readonly) NSString *osBuild; + +/* + * API level when applicable like in Android (example: 15). [optional] + */ +@property(nonatomic, copy, readonly) NSNumber *osApiLevel; + +/* + * Language code (example: en_US). + */ +@property(nonatomic, copy, readonly) NSString *locale; + +/* + * The offset in minutes from UTC for the device time zone, including daylight savings time. + */ +@property(nonatomic, readonly, strong) NSNumber *timeZoneOffset; + +/* + * Screen size of the device in pixels (example: 640x480). + */ +@property(nonatomic, copy, readonly) NSString *screenSize; + +/* + * Application version name, e.g. 1.1.0 + */ +@property(nonatomic, copy, readonly) NSString *appVersion; + +/* + * Carrier name (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierName; + +/* + * Carrier country code (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierCountry; + +/* + * The app's build number, e.g. 42. + */ +@property(nonatomic, copy, readonly) NSString *appBuild; + +/* + * The bundle identifier, package identifier, or namespace, depending on what the individual plattforms use, .e.g com.microsoft.example. + * [optional] + */ +@property(nonatomic, copy, readonly) NSString *appNamespace; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h new file mode 100644 index 0000000..3feff5b --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H + +#import + +/** + * Protocol to define an instance that can be enabled/disabled. + */ +NS_SWIFT_NAME(Enable) +@protocol MSACEnable + +@required + +/** + * Enable/disable this instance and delete data on disabled state. + * + * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. + * @param deleteData A boolean value set to YES to delete data or NO to keep it. + */ +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h new file mode 100644 index 0000000..d46b377 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_H +#define MSAC_LOG_H + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(Log) +@protocol MSACLog + +/** + * Log type. + */ +@property(nonatomic, copy) NSString *type; + +/** + * Log timestamp. + */ +@property(nonatomic, strong) NSDate *timestamp; + +/** + * A session identifier is used to correlate logs together. A session is an abstract concept in the API and is not necessarily an analytics + * session, it can be used to only track crashes. + */ +@property(nonatomic, copy) NSString *sid; + +/** + * Optional distribution group ID value. + */ +@property(nonatomic, copy) NSString *distributionGroupId; + +/** + * Optional user identifier. + */ +@property(nonatomic, copy) NSString *userId; + +/** + * Device properties associated to this log. + */ +@property(nonatomic, strong) MSACDevice *device; + +/** + * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being + * applied retroactively to previous logs by comparing their tags. + */ +@property(nonatomic, strong) NSObject *tag; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +/** + * Adds a transmission target token that this log should be sent to. + * + * @param token The transmission target token. + */ +- (void)addTransmissionTargetToken:(NSString *)token; + +/** + * Gets all transmission target tokens that this log should be sent to. + * + * @returns Collection of transmission target tokens that this log should be sent to. + */ +- (NSSet *)transmissionTargetTokens; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h new file mode 100644 index 0000000..12af6c4 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog + +/** + * Additional key/value pair parameters. [optional] + */ +@property(nonatomic, strong) NSDictionary *properties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h new file mode 100644 index 0000000..bb4b413 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACService.h new file mode 100644 index 0000000..b9fafff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h new file mode 100644 index 0000000..ad7a2ef --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H + +#import + +#if __has_include() +#import +#else +#import "MSACService.h" +#endif + +@protocol MSACChannelGroupProtocol; + +/** + * Abstraction of services common logic. + * This class is intended to be subclassed only not instantiated directly. + */ +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject + +/** + * The flag indicates whether the service is started from application or not. + */ +@property(nonatomic, assign) BOOL startedFromApplication; + +/** + * Start this service with a channel group. Also sets the flag that indicates that a service has been started. + * + * @param channelGroup channel group used to persist and send logs. + * @param appSecret app secret for the SDK. + * @param token default transmission target token for this service. + * @param fromApplication indicates whether the service started from an application or not. + */ +- (void)startWithChannelGroup:(id)channelGroup + appSecret:(NSString *)appSecret + transmissionTargetToken:(NSString *)token + fromApplication:(BOOL)fromApplication; + +/** + * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries + * and then is being started from an application. + * + * @param appSecret app secret for the SDK. + * @param token default transmission target token for this service. + */ +- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; + +/** + * The flag indicate whether the service needs the application secret or not. + */ +@property(atomic, readonly) BOOL isAppSecretRequired; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h new file mode 100644 index 0000000..79a1462 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +/** + * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App + * Center. + */ +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject + ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h new file mode 100644 index 0000000..2041072 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H + +#import + +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject + +/* + * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific + * version is populated into this field while sdkVersion refers to the original Android SDK. [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkVersion; + +/* + * Name of the wrapper SDK (examples: Xamarin, Cordova). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkName; + +/* + * Version of the wrapper technology framework (Xamarin runtime version or ReactNative or Cordova etc...). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperRuntimeVersion; + +/* + * Label that is used to identify application code 'version' released via Live Update beacon running on device. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateReleaseLabel; + +/* + * Identifier of environment that current application release belongs to, deployment key then maps to environment like Production, Staging. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateDeploymentKey; + +/* + * Hash of all files (ReactNative or Cordova) deployed to device via LiveUpdate beacon. Helps identify the Release version on device or need + * to download updates in future + */ +@property(nonatomic, copy, readonly) NSString *liveUpdatePackageHash; + +- (instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion + wrapperSdkName:(NSString *)wrapperSdkName + wrapperRuntimeVersion:(NSString *)wrapperRuntimeVersion + liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel + liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey + liveUpdatePackageHash:(NSString *)liveUpdatePackageHash; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Info.plist new file mode 100644 index 0000000..a3e425c Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Modules/module.modulemap similarity index 87% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Modules/module.modulemap index 32c35bd..ec02d0f 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Modules/module.modulemap +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Modules/module.modulemap @@ -1,12 +1,12 @@ framework module AppCenter { umbrella header "AppCenter.h" - + export * module * { export * } link framework "Foundation" link framework "SystemConfiguration" - link framework "AppKit" + link framework "UIKit" link "sqlite3" link "z" } diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h new file mode 100644 index 0000000..59fb0bf --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#import "MSACConstants+Flags.h" + +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; + +@protocol MSACChannelDelegate + +@optional + +/** + * A callback that is called when a channel unit is added to the channel group. + * + * @param channelGroup The channel group. + * @param channel The newly added channel. + */ +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; + +/** + * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. + * + * @param log The log to prepare. + */ +- (void)channel:(id)channel prepareLog:(id)log; + +/** + * A callback that is called after a log is definitely prepared. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + * @param flags Options for the log. + */ +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; + +/** + * A callback that is called after a log completed the enqueueing process whether it was successful or not. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + */ +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; + +/** + * Callback method that will be called before each log will be send to the server. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel willSendLog:(id)log; + +/** + * Callback method that will be called in case the SDK was able to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel didSucceedSendingLog:(id)log; + +/** + * Callback method that will be called in case the SDK was unable to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + * @param error The error that occured. + */ +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(NSError *)error; + +/** + * A callback that is called when setEnabled has been invoked. + * + * @param channel The channel. + * @param isEnabled The boolean that indicates enabled. + * @param deletedData The boolean that indicates deleting data on disabled. + */ +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; + +/** + * A callback that is called when pause has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to pause the channel. + */ +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; + +/** + * A callback that is called when resume has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to resume the channel. + */ +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; + +/** + * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the + * log is filtered. + * + * @param channelUnit The channel unit that is going to send the log. + * @param log The log to be filtered or not. + * + * @return `true` if the log should be filtered out. + */ +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..81b254c Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..2498967 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..79122c1 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources @@ -0,0 +1,402 @@ + + + + + files + + Headers/AppCenter.h + + qaTNZSZUTXwLe2rrosDNCarRqAM= + + Headers/MSACAbstractLog.h + + +Ikfy/fTOpqwPZM3Fpii3cpsx8Y= + + Headers/MSACAppCenter.h + + 6OfDyMmJMT8W2D+IK7krlhID3Q0= + + Headers/MSACAppCenterErrors.h + + x7h4qpHD4GI3jrJ3F7n4UXAANsk= + + Headers/MSACChannelGroupProtocol.h + + jyWCHN4PSygLVy0IM5565DvDQAc= + + Headers/MSACChannelProtocol.h + + Y1rKi/TsirTR0MGBf1rIO/TTG0A= + + Headers/MSACConstants+Flags.h + + GK1gUSyIjWdv7KBP68wNxjxaH+E= + + Headers/MSACConstants.h + + d9HwKA0/VH3+pLRj1Pd49mqn2gI= + + Headers/MSACCustomProperties.h + + m7A9hEgL3d0gV4SyKmXJYRtwqoQ= + + Headers/MSACDevice.h + + suv4Wkt36Nkscy7jX2SSYzrkLRs= + + Headers/MSACEnable.h + + 3DnplEFkD1LImYNk+84TqcQvBho= + + Headers/MSACLog.h + + 1/7NIwYuYLGHIVMZps8b6/zOpJg= + + Headers/MSACLogWithProperties.h + + I4y13KVE36pyXv85mc5OWlCjplE= + + Headers/MSACLogger.h + + CaYHmB3+psy5/txfMvd2+bWGJkc= + + Headers/MSACService.h + + lz5atiMe+oTdu9e6g74KPC0CjOs= + + Headers/MSACServiceAbstract.h + + rBHatSAJK78PLgsMIpFqkby4tgA= + + Headers/MSACWrapperLogger.h + + qBVuNkF12BZYytRhCKwZ7zkiKhc= + + Headers/MSACWrapperSdk.h + + W9sdhEGnIGk/aFHS3gWwQ6FxUfI= + + Info.plist + + wD1DIGbSoqP+C0KWyrO8ilCSiTM= + + Modules/module.modulemap + + t1baR2vqWVS9lklYdqufO1QCWTw= + + PrivateHeaders/MSACChannelDelegate.h + + WzX9TX1oxW4ezY/2JpPNH9dUE24= + + + files2 + + Headers/AppCenter.h + + hash + + qaTNZSZUTXwLe2rrosDNCarRqAM= + + hash2 + + 2Wv2BhvzEcs7qHle8K3IXhWh7EVoAIrE2gOs4b0p39c= + + + Headers/MSACAbstractLog.h + + hash + + +Ikfy/fTOpqwPZM3Fpii3cpsx8Y= + + hash2 + + 7hsXFv3UkGsJLcc3eh2pMUrGbGYP2hCUC854z05SzNQ= + + + Headers/MSACAppCenter.h + + hash + + 6OfDyMmJMT8W2D+IK7krlhID3Q0= + + hash2 + + wkkRWhAmDMYH0Z6dge9c/rxWJpTJGJsbRm5kVGn7wdo= + + + Headers/MSACAppCenterErrors.h + + hash + + x7h4qpHD4GI3jrJ3F7n4UXAANsk= + + hash2 + + OcNwIIu4yFxG62mZtiABP3/9DoN9tj1fL/7nSvF8u8s= + + + Headers/MSACChannelGroupProtocol.h + + hash + + jyWCHN4PSygLVy0IM5565DvDQAc= + + hash2 + + d36rCjxsURqDkFv+g5BwWNybz5Zksc9B91gqArFcJbk= + + + Headers/MSACChannelProtocol.h + + hash + + Y1rKi/TsirTR0MGBf1rIO/TTG0A= + + hash2 + + fI1fLkJvo9SXh2bAUWKIYlretRCOoGWJwlyvqMfQZNc= + + + Headers/MSACConstants+Flags.h + + hash + + GK1gUSyIjWdv7KBP68wNxjxaH+E= + + hash2 + + UDnw7GyNXzip13MvAvNKQQsWIUgU296uJHjPEkReCY8= + + + Headers/MSACConstants.h + + hash + + d9HwKA0/VH3+pLRj1Pd49mqn2gI= + + hash2 + + xx69UfYa0qw6aSDuVsUAqd/1+t90QCPkQUae+elZwZ0= + + + Headers/MSACCustomProperties.h + + hash + + m7A9hEgL3d0gV4SyKmXJYRtwqoQ= + + hash2 + + FveTXq+kqUdHHlSdLAoQisgT+95bzAuXTrTOQG/b/P8= + + + Headers/MSACDevice.h + + hash + + suv4Wkt36Nkscy7jX2SSYzrkLRs= + + hash2 + + i3TVX2C+DfcRKn2HTBaydWBYHjryX2Cy/eJJxjTFiT8= + + + Headers/MSACEnable.h + + hash + + 3DnplEFkD1LImYNk+84TqcQvBho= + + hash2 + + XrDKc7bXZaW8JW4NMItSBrHLR6a+LRG1JSLXZ0U0NsI= + + + Headers/MSACLog.h + + hash + + 1/7NIwYuYLGHIVMZps8b6/zOpJg= + + hash2 + + 3GF6xCTfpLDmOqKnacEOEDr5mkM/llKm0IoIEyISZKA= + + + Headers/MSACLogWithProperties.h + + hash + + I4y13KVE36pyXv85mc5OWlCjplE= + + hash2 + + WIrz7Xsi04AboAmZ5dA3d3t8D/8PomKLwsp7oorznVM= + + + Headers/MSACLogger.h + + hash + + CaYHmB3+psy5/txfMvd2+bWGJkc= + + hash2 + + GipSaz+D+Z5eWauQP+10U8xvbAnxPeIRD4HTvn0F5DQ= + + + Headers/MSACService.h + + hash + + lz5atiMe+oTdu9e6g74KPC0CjOs= + + hash2 + + aiO/PWAQDwhbPW1HDGqNM0kn4xYSwqPmdpmcTgpW/CE= + + + Headers/MSACServiceAbstract.h + + hash + + rBHatSAJK78PLgsMIpFqkby4tgA= + + hash2 + + vi9/mVDQylipTtHNfUe9r4GXjlc2bEnKFV8wmN/IXaE= + + + Headers/MSACWrapperLogger.h + + hash + + qBVuNkF12BZYytRhCKwZ7zkiKhc= + + hash2 + + h2VHxvALAogCMocFQMUjmOkhCm+qkJwpGTzxwdxTdwo= + + + Headers/MSACWrapperSdk.h + + hash + + W9sdhEGnIGk/aFHS3gWwQ6FxUfI= + + hash2 + + 5x+0epJnQN2wZKY2xjvsjAYrr6H1QGYIGz0ptux72dU= + + + Modules/module.modulemap + + hash + + t1baR2vqWVS9lklYdqufO1QCWTw= + + hash2 + + 5qLs8dZcOI6erIxzPWKKcuSoIAsqfM+tkwpxwTgmAZ4= + + + PrivateHeaders/MSACChannelDelegate.h + + hash + + WzX9TX1oxW4ezY/2JpPNH9dUE24= + + hash2 + + AbAoifmIR5SJez5erJnVgTIz81yIMmvbnw6siYXEvaM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/Info.plist new file mode 100644 index 0000000..da2df73 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/Info.plist @@ -0,0 +1,99 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + tvos-arm64 + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + LibraryIdentifier + ios-arm64_arm64e_armv7_armv7s + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + arm64e + armv7 + armv7s + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_i386_x86_64-simulator + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + i386 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 100644 index 0000000..93f4b21 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h new file mode 100644 index 0000000..5ab691f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalytics.h similarity index 80% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalytics.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalytics.h index 43b3b30..ccc516e 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalytics.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalytics.h @@ -1,17 +1,30 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSAnalyticsTransmissionTarget.h" -#import "MSServiceAbstract.h" +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H -@class MSEventProperties; +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; NS_ASSUME_NONNULL_BEGIN /** * App Center analytics service. */ -@interface MSAnalytics : MSServiceAbstract +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract /** * Track an event. @@ -60,9 +73,9 @@ NS_ASSUME_NONNULL_BEGIN * * @param eventName Event name. Cannot be `nil` or empty. * @param properties Dictionary of properties. Keys and values must not be `nil`. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion Additional validation rules apply depending on the configured secret. * @@ -85,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN * * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ -+ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSFlags)flags; ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; /** * Track a custom event with name and optional typed properties. @@ -124,16 +137,16 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ + (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); /** * Track a custom event with name and optional typed properties. * * @param eventName Event name. * @param properties Typed properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion The following validation rules are applied: * @@ -166,8 +179,8 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ + (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties - flags:(MSFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); /** * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. @@ -195,19 +208,19 @@ NS_ASSUME_NONNULL_BEGIN * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that * doesn't get translated like a setter in Swift. * - * @see MSAnalyticsTransmissionTarget for comparison. + * @see MSACAnalyticsTransmissionTarget for comparison. */ -+ (MSAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token; ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); /** - * Set the send time interval for non-critical logs. + * Send time interval for non-critical logs. * Must be between 3 seconds and 86400 seconds (1 day). * Must be called before Analytics service start. - * - * @param interval The flush interval for logs. */ -+ (void)setTransmissionInterval:(NSUInteger)interval; +@property(class, atomic) NSUInteger transmissionInterval; @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h similarity index 52% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalyticsAuthenticationProvider.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h index 6b5089e..b8d6ed9 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalyticsAuthenticationProvider.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h @@ -3,32 +3,37 @@ #import -#import "MSAnalyticsAuthenticationProviderDelegate.h" +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif /** * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . */ -typedef NS_ENUM(NSUInteger, MSAnalyticsAuthenticationType) { +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { /** * AuthenticationType MSA Compact. */ - MSAnalyticsAuthenticationTypeMsaCompact, + MSACAnalyticsAuthenticationTypeMsaCompact, /** * AuthenticationType MSA Delegate. */ - MSAnalyticsAuthenticationTypeMsaDelegate -}; + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); NS_ASSUME_NONNULL_BEGIN -@interface MSAnalyticsAuthenticationProvider : NSObject +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject /** * The type. */ -@property(nonatomic, readonly, assign) MSAnalyticsAuthenticationType type; +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; /** * The ticket key for this authentication provider. @@ -40,7 +45,7 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, readonly, copy) NSString *ticketKeyHash; -@property(nonatomic, readonly, weak) id delegate; +@property(nonatomic, readonly, weak) id delegate; /** * Create a new authentication provider. @@ -51,9 +56,9 @@ NS_ASSUME_NONNULL_BEGIN * * @return A new authentication provider. */ -- (instancetype)initWithAuthenticationType:(MSAnalyticsAuthenticationType)type +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type ticketKey:(NSString *)ticketKey - delegate:(id)delegate; + delegate:(id)delegate; /** * Check expiration. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 0000000..9f7be7c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h similarity index 62% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalyticsTransmissionTarget.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h index 2c0aa00..4b735ba 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalyticsTransmissionTarget.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h @@ -3,22 +3,36 @@ #import -#import "MSAnalyticsAuthenticationProvider.h" -#import "MSConstants+Flags.h" -#import "MSPropertyConfigurator.h" +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET -@class MSEventProperties; +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; NS_ASSUME_NONNULL_BEGIN -@interface MSAnalyticsTransmissionTarget : NSObject +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject /** * Property configurator. */ -@property(nonatomic, readonly, strong) MSPropertyConfigurator *propertyConfigurator; +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; -+ (void)addAuthenticationProvider:(MSAnalyticsAuthenticationProvider *)authenticationProvider ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); /** @@ -41,11 +55,11 @@ NS_ASSUME_NONNULL_BEGIN * * @param eventName event name. * @param properties dictionary of properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. */ -- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSFlags)flags; +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; /** * Track a custom event with name and optional typed properties. @@ -70,16 +84,16 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ - (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); /** * Track a custom event with name and optional typed properties. * * @param eventName Event name. * @param properties Typed properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion The following validation rules are applied: * @@ -98,8 +112,8 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ - (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties - flags:(MSFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); /** * Get a nested transmission target. @@ -108,25 +122,13 @@ NS_ASSUME_NONNULL_BEGIN * * @returns A transmission target object nested to this parent transmission target. */ -- (MSAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); - -/** - * Enable or disable this transmission target. It will also enable or disable nested transmission targets. - * - * @param isEnabled YES to enable, NO to disable. - * - * @see isEnabled - */ -- (void)setEnabled:(BOOL)isEnabled; +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); /** - * Check whether this transmission target is enabled or not. - * - * @return YES if enabled, NO otherwise. - * - * @see setEnabled: + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. */ -- (BOOL)isEnabled; +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); /** * Pause sending logs for the transmission target. It doesn't pause any of its decendants. @@ -145,3 +147,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventLog.h new file mode 100644 index 0000000..21c47ee --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventProperties.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSEventProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventProperties.h index 84388eb..f20b978 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSEventProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventProperties.h @@ -3,12 +3,16 @@ #import +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + NS_ASSUME_NONNULL_BEGIN /** * Contains typed event properties. */ -@interface MSEventProperties : NSObject +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject /** * Set a string property. @@ -53,3 +57,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 0000000..81dbf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h similarity index 88% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSPropertyConfigurator.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h index 4522652..18da672 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSPropertyConfigurator.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h @@ -5,36 +5,33 @@ NS_ASSUME_NONNULL_BEGIN -@interface MSPropertyConfigurator : NSObject +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject /** * Override the application version. * - * @param appVersion New application version for a transmission target. */ -- (void)setAppVersion:(nullable NSString *)appVersion; +@property(nonatomic, copy) NSString *_Nullable appVersion; /** * Override the application name. * - * @param appName New application name for a transmission target. */ -- (void)setAppName:(nullable NSString *)appName; +@property(nonatomic, copy) NSString *_Nullable appName; /** * Override the application locale. * - * @param appLocale New application locale for a transmission target. */ -- (void)setAppLocale:(nullable NSString *)appLocale; +@property(nonatomic, copy) NSString *_Nullable appLocale; /** - * Set the user identifier. - * The user identifier needs to start with c: or i: or d: or w: prefixes. + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. * - * @param userId user identifier. */ -- (void)setUserId:(nullable NSString *)userId; +@property(nonatomic, copy) NSString *_Nullable userId; /** * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Info.plist new file mode 100644 index 0000000..d7b9dee Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Modules/module.modulemap similarity index 85% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Modules/module.modulemap index e8726e3..ea370ea 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Modules/module.modulemap @@ -5,5 +5,5 @@ framework module AppCenterAnalytics { module * { export * } link framework "Foundation" - link framework "AppKit" + link framework "UIKit" } diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 100644 index 0000000..8261f65 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h new file mode 100644 index 0000000..5ab691f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h similarity index 80% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalytics.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h index 43b3b30..ccc516e 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalytics.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h @@ -1,17 +1,30 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSAnalyticsTransmissionTarget.h" -#import "MSServiceAbstract.h" +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H -@class MSEventProperties; +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; NS_ASSUME_NONNULL_BEGIN /** * App Center analytics service. */ -@interface MSAnalytics : MSServiceAbstract +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract /** * Track an event. @@ -60,9 +73,9 @@ NS_ASSUME_NONNULL_BEGIN * * @param eventName Event name. Cannot be `nil` or empty. * @param properties Dictionary of properties. Keys and values must not be `nil`. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion Additional validation rules apply depending on the configured secret. * @@ -85,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN * * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ -+ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSFlags)flags; ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; /** * Track a custom event with name and optional typed properties. @@ -124,16 +137,16 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ + (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); /** * Track a custom event with name and optional typed properties. * * @param eventName Event name. * @param properties Typed properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion The following validation rules are applied: * @@ -166,8 +179,8 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ + (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties - flags:(MSFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); /** * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. @@ -195,19 +208,19 @@ NS_ASSUME_NONNULL_BEGIN * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that * doesn't get translated like a setter in Swift. * - * @see MSAnalyticsTransmissionTarget for comparison. + * @see MSACAnalyticsTransmissionTarget for comparison. */ -+ (MSAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token; ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); /** - * Set the send time interval for non-critical logs. + * Send time interval for non-critical logs. * Must be between 3 seconds and 86400 seconds (1 day). * Must be called before Analytics service start. - * - * @param interval The flush interval for logs. */ -+ (void)setTransmissionInterval:(NSUInteger)interval; +@property(class, atomic) NSUInteger transmissionInterval; @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h similarity index 52% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalyticsAuthenticationProvider.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h index 6b5089e..b8d6ed9 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalyticsAuthenticationProvider.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h @@ -3,32 +3,37 @@ #import -#import "MSAnalyticsAuthenticationProviderDelegate.h" +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif /** * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . */ -typedef NS_ENUM(NSUInteger, MSAnalyticsAuthenticationType) { +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { /** * AuthenticationType MSA Compact. */ - MSAnalyticsAuthenticationTypeMsaCompact, + MSACAnalyticsAuthenticationTypeMsaCompact, /** * AuthenticationType MSA Delegate. */ - MSAnalyticsAuthenticationTypeMsaDelegate -}; + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); NS_ASSUME_NONNULL_BEGIN -@interface MSAnalyticsAuthenticationProvider : NSObject +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject /** * The type. */ -@property(nonatomic, readonly, assign) MSAnalyticsAuthenticationType type; +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; /** * The ticket key for this authentication provider. @@ -40,7 +45,7 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, readonly, copy) NSString *ticketKeyHash; -@property(nonatomic, readonly, weak) id delegate; +@property(nonatomic, readonly, weak) id delegate; /** * Create a new authentication provider. @@ -51,9 +56,9 @@ NS_ASSUME_NONNULL_BEGIN * * @return A new authentication provider. */ -- (instancetype)initWithAuthenticationType:(MSAnalyticsAuthenticationType)type +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type ticketKey:(NSString *)ticketKey - delegate:(id)delegate; + delegate:(id)delegate; /** * Check expiration. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 0000000..9f7be7c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h similarity index 62% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalyticsTransmissionTarget.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h index 2c0aa00..4b735ba 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalyticsTransmissionTarget.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h @@ -3,22 +3,36 @@ #import -#import "MSAnalyticsAuthenticationProvider.h" -#import "MSConstants+Flags.h" -#import "MSPropertyConfigurator.h" +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET -@class MSEventProperties; +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; NS_ASSUME_NONNULL_BEGIN -@interface MSAnalyticsTransmissionTarget : NSObject +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject /** * Property configurator. */ -@property(nonatomic, readonly, strong) MSPropertyConfigurator *propertyConfigurator; +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; -+ (void)addAuthenticationProvider:(MSAnalyticsAuthenticationProvider *)authenticationProvider ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); /** @@ -41,11 +55,11 @@ NS_ASSUME_NONNULL_BEGIN * * @param eventName event name. * @param properties dictionary of properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. */ -- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSFlags)flags; +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; /** * Track a custom event with name and optional typed properties. @@ -70,16 +84,16 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ - (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); /** * Track a custom event with name and optional typed properties. * * @param eventName Event name. * @param properties Typed properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion The following validation rules are applied: * @@ -98,8 +112,8 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ - (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties - flags:(MSFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); /** * Get a nested transmission target. @@ -108,25 +122,13 @@ NS_ASSUME_NONNULL_BEGIN * * @returns A transmission target object nested to this parent transmission target. */ -- (MSAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); - -/** - * Enable or disable this transmission target. It will also enable or disable nested transmission targets. - * - * @param isEnabled YES to enable, NO to disable. - * - * @see isEnabled - */ -- (void)setEnabled:(BOOL)isEnabled; +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); /** - * Check whether this transmission target is enabled or not. - * - * @return YES if enabled, NO otherwise. - * - * @see setEnabled: + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. */ -- (BOOL)isEnabled; +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); /** * Pause sending logs for the transmission target. It doesn't pause any of its decendants. @@ -145,3 +147,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h new file mode 100644 index 0000000..21c47ee --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSEventProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h index 84388eb..f20b978 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSEventProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h @@ -3,12 +3,16 @@ #import +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + NS_ASSUME_NONNULL_BEGIN /** * Contains typed event properties. */ -@interface MSEventProperties : NSObject +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject /** * Set a string property. @@ -53,3 +57,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 0000000..81dbf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h similarity index 88% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSPropertyConfigurator.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h index 4522652..18da672 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSPropertyConfigurator.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h @@ -5,36 +5,33 @@ NS_ASSUME_NONNULL_BEGIN -@interface MSPropertyConfigurator : NSObject +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject /** * Override the application version. * - * @param appVersion New application version for a transmission target. */ -- (void)setAppVersion:(nullable NSString *)appVersion; +@property(nonatomic, copy) NSString *_Nullable appVersion; /** * Override the application name. * - * @param appName New application name for a transmission target. */ -- (void)setAppName:(nullable NSString *)appName; +@property(nonatomic, copy) NSString *_Nullable appName; /** * Override the application locale. * - * @param appLocale New application locale for a transmission target. */ -- (void)setAppLocale:(nullable NSString *)appLocale; +@property(nonatomic, copy) NSString *_Nullable appLocale; /** - * Set the user identifier. - * The user identifier needs to start with c: or i: or d: or w: prefixes. + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. * - * @param userId user identifier. */ -- (void)setUserId:(nullable NSString *)userId; +@property(nonatomic, copy) NSString *_Nullable userId; /** * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Info.plist new file mode 100644 index 0000000..f637ce0 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap similarity index 85% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap index e8726e3..ea370ea 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Modules/module.modulemap +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap @@ -5,5 +5,5 @@ framework module AppCenterAnalytics { module * { export * } link framework "Foundation" - link framework "AppKit" + link framework "UIKit" } diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..67cc2b6 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..4dce04d Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..cb494d6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources @@ -0,0 +1,252 @@ + + + + + files + + Headers/AppCenterAnalytics.h + + Fs0dGlBGkuUc6Z7ZP7gfuSWOzCw= + + Headers/MSACAnalytics.h + + eCMFL/VXD+rG/k/pKssa1WHyXIU= + + Headers/MSACAnalyticsAuthenticationProvider.h + + ovXSzTsXH+JOx+GCBxqVc/esug8= + + Headers/MSACAnalyticsAuthenticationProviderDelegate.h + + NSi6Ny9C3NeGJ+RsBPbZk9SIuGY= + + Headers/MSACAnalyticsTransmissionTarget.h + + qPZxWKGB/GiufN0hpB5xma4wEKI= + + Headers/MSACEventLog.h + + oYQXdiN+3K5CCvIMbbOo00U8TZc= + + Headers/MSACEventProperties.h + + vZGg4s6Q/1QSzsGWD84S+mFnfBE= + + Headers/MSACLogWithNameAndProperties.h + + 6S/dPB/fT2ggNWRoYwZ7wmcOBSE= + + Headers/MSACPropertyConfigurator.h + + lGP+L5ChWN1AcKaFjfGSH2nFJUk= + + Info.plist + + AvESngf1TMo7csoP6ylTCyN5Ovs= + + Modules/module.modulemap + + 0El015qOEJTmLPFDCepYjK0g4k8= + + + files2 + + Headers/AppCenterAnalytics.h + + hash + + Fs0dGlBGkuUc6Z7ZP7gfuSWOzCw= + + hash2 + + ftbFFrrERdYkA9lfSEvaW2HIu31AMc+674Bn4t/sgpA= + + + Headers/MSACAnalytics.h + + hash + + eCMFL/VXD+rG/k/pKssa1WHyXIU= + + hash2 + + y5cJfuEQdXJdW1JBMov56b0g6JqAaYxWjoITEjDhrLM= + + + Headers/MSACAnalyticsAuthenticationProvider.h + + hash + + ovXSzTsXH+JOx+GCBxqVc/esug8= + + hash2 + + VX9x8iyr6H8IUJ5Il7fDoiBxPefviCMbiKnftN9etaI= + + + Headers/MSACAnalyticsAuthenticationProviderDelegate.h + + hash + + NSi6Ny9C3NeGJ+RsBPbZk9SIuGY= + + hash2 + + 5GoAw0otoErj3IS/wneF0BalH1RnXmAakM2X1KLchWk= + + + Headers/MSACAnalyticsTransmissionTarget.h + + hash + + qPZxWKGB/GiufN0hpB5xma4wEKI= + + hash2 + + GAoo5JHjROE4618AsMecbEH9mzOj1TejY5iCBeU/Yds= + + + Headers/MSACEventLog.h + + hash + + oYQXdiN+3K5CCvIMbbOo00U8TZc= + + hash2 + + eTIJL3LVp+gDX2sWuYnj8nqlfyp9+bFNZNKeMN9M6Q0= + + + Headers/MSACEventProperties.h + + hash + + vZGg4s6Q/1QSzsGWD84S+mFnfBE= + + hash2 + + Y4BEaISVry4wv+Z7jjbM6KP8fiyiHk+aB9YMzAvfUV0= + + + Headers/MSACLogWithNameAndProperties.h + + hash + + 6S/dPB/fT2ggNWRoYwZ7wmcOBSE= + + hash2 + + DiLnJ6tiJacyKthLgB4INSWg7l0ZArp2pNmSbFfsfsk= + + + Headers/MSACPropertyConfigurator.h + + hash + + lGP+L5ChWN1AcKaFjfGSH2nFJUk= + + hash2 + + ZkNl6d5lmIMMijjVhtMAYeTglhpKH68UK9mRuvnYNGg= + + + Modules/module.modulemap + + hash + + 0El015qOEJTmLPFDCepYjK0g4k8= + + hash2 + + GCgZkS19ITwtztUxDCQ265uvlfL0cwEgwEIakSFJyDM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 120000 index 0000000..fe4af8a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/AppCenterAnalytics @@ -0,0 +1 @@ +Versions/Current/AppCenterAnalytics \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics new file mode 100644 index 0000000..a06c60a Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h new file mode 100644 index 0000000..5ab691f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h similarity index 80% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalytics.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h index 43b3b30..ccc516e 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalytics.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h @@ -1,17 +1,30 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSAnalyticsTransmissionTarget.h" -#import "MSServiceAbstract.h" +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H -@class MSEventProperties; +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; NS_ASSUME_NONNULL_BEGIN /** * App Center analytics service. */ -@interface MSAnalytics : MSServiceAbstract +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract /** * Track an event. @@ -60,9 +73,9 @@ NS_ASSUME_NONNULL_BEGIN * * @param eventName Event name. Cannot be `nil` or empty. * @param properties Dictionary of properties. Keys and values must not be `nil`. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion Additional validation rules apply depending on the configured secret. * @@ -85,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN * * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ -+ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSFlags)flags; ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; /** * Track a custom event with name and optional typed properties. @@ -124,16 +137,16 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ + (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); /** * Track a custom event with name and optional typed properties. * * @param eventName Event name. * @param properties Typed properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion The following validation rules are applied: * @@ -166,8 +179,8 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ + (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties - flags:(MSFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); /** * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. @@ -195,19 +208,19 @@ NS_ASSUME_NONNULL_BEGIN * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that * doesn't get translated like a setter in Swift. * - * @see MSAnalyticsTransmissionTarget for comparison. + * @see MSACAnalyticsTransmissionTarget for comparison. */ -+ (MSAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token; ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); /** - * Set the send time interval for non-critical logs. + * Send time interval for non-critical logs. * Must be between 3 seconds and 86400 seconds (1 day). * Must be called before Analytics service start. - * - * @param interval The flush interval for logs. */ -+ (void)setTransmissionInterval:(NSUInteger)interval; +@property(class, atomic) NSUInteger transmissionInterval; @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h similarity index 52% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProvider.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h index 6b5089e..b8d6ed9 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProvider.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h @@ -3,32 +3,37 @@ #import -#import "MSAnalyticsAuthenticationProviderDelegate.h" +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif /** * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . */ -typedef NS_ENUM(NSUInteger, MSAnalyticsAuthenticationType) { +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { /** * AuthenticationType MSA Compact. */ - MSAnalyticsAuthenticationTypeMsaCompact, + MSACAnalyticsAuthenticationTypeMsaCompact, /** * AuthenticationType MSA Delegate. */ - MSAnalyticsAuthenticationTypeMsaDelegate -}; + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); NS_ASSUME_NONNULL_BEGIN -@interface MSAnalyticsAuthenticationProvider : NSObject +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject /** * The type. */ -@property(nonatomic, readonly, assign) MSAnalyticsAuthenticationType type; +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; /** * The ticket key for this authentication provider. @@ -40,7 +45,7 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, readonly, copy) NSString *ticketKeyHash; -@property(nonatomic, readonly, weak) id delegate; +@property(nonatomic, readonly, weak) id delegate; /** * Create a new authentication provider. @@ -51,9 +56,9 @@ NS_ASSUME_NONNULL_BEGIN * * @return A new authentication provider. */ -- (instancetype)initWithAuthenticationType:(MSAnalyticsAuthenticationType)type +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type ticketKey:(NSString *)ticketKey - delegate:(id)delegate; + delegate:(id)delegate; /** * Check expiration. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 0000000..9f7be7c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h similarity index 62% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalyticsTransmissionTarget.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h index 2c0aa00..4b735ba 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalyticsTransmissionTarget.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h @@ -3,22 +3,36 @@ #import -#import "MSAnalyticsAuthenticationProvider.h" -#import "MSConstants+Flags.h" -#import "MSPropertyConfigurator.h" +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET -@class MSEventProperties; +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; NS_ASSUME_NONNULL_BEGIN -@interface MSAnalyticsTransmissionTarget : NSObject +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject /** * Property configurator. */ -@property(nonatomic, readonly, strong) MSPropertyConfigurator *propertyConfigurator; +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; -+ (void)addAuthenticationProvider:(MSAnalyticsAuthenticationProvider *)authenticationProvider ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); /** @@ -41,11 +55,11 @@ NS_ASSUME_NONNULL_BEGIN * * @param eventName event name. * @param properties dictionary of properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. */ -- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSFlags)flags; +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; /** * Track a custom event with name and optional typed properties. @@ -70,16 +84,16 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ - (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); /** * Track a custom event with name and optional typed properties. * * @param eventName Event name. * @param properties Typed properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion The following validation rules are applied: * @@ -98,8 +112,8 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ - (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties - flags:(MSFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); /** * Get a nested transmission target. @@ -108,25 +122,13 @@ NS_ASSUME_NONNULL_BEGIN * * @returns A transmission target object nested to this parent transmission target. */ -- (MSAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); - -/** - * Enable or disable this transmission target. It will also enable or disable nested transmission targets. - * - * @param isEnabled YES to enable, NO to disable. - * - * @see isEnabled - */ -- (void)setEnabled:(BOOL)isEnabled; +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); /** - * Check whether this transmission target is enabled or not. - * - * @return YES if enabled, NO otherwise. - * - * @see setEnabled: + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. */ -- (BOOL)isEnabled; +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); /** * Pause sending logs for the transmission target. It doesn't pause any of its decendants. @@ -145,3 +147,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h new file mode 100644 index 0000000..21c47ee --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSEventProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h index 84388eb..f20b978 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSEventProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h @@ -3,12 +3,16 @@ #import +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + NS_ASSUME_NONNULL_BEGIN /** * Contains typed event properties. */ -@interface MSEventProperties : NSObject +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject /** * Set a string property. @@ -53,3 +57,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 0000000..81dbf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h similarity index 88% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSPropertyConfigurator.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h index 4522652..18da672 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSPropertyConfigurator.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h @@ -5,36 +5,33 @@ NS_ASSUME_NONNULL_BEGIN -@interface MSPropertyConfigurator : NSObject +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject /** * Override the application version. * - * @param appVersion New application version for a transmission target. */ -- (void)setAppVersion:(nullable NSString *)appVersion; +@property(nonatomic, copy) NSString *_Nullable appVersion; /** * Override the application name. * - * @param appName New application name for a transmission target. */ -- (void)setAppName:(nullable NSString *)appName; +@property(nonatomic, copy) NSString *_Nullable appName; /** * Override the application locale. * - * @param appLocale New application locale for a transmission target. */ -- (void)setAppLocale:(nullable NSString *)appLocale; +@property(nonatomic, copy) NSString *_Nullable appLocale; /** - * Set the user identifier. - * The user identifier needs to start with c: or i: or d: or w: prefixes. + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. * - * @param userId user identifier. */ -- (void)setUserId:(nullable NSString *)userId; +@property(nonatomic, copy) NSString *_Nullable userId; /** * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..ea370ea --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module AppCenterAnalytics { + umbrella header "AppCenterAnalytics.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "UIKit" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist similarity index 79% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Resources/Info.plist rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist index b8176e1..984c2cd 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Resources/Info.plist +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 18G1012 + 19H512 CFBundleDevelopmentRegion English CFBundleExecutable @@ -27,16 +27,22 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 10B61 + 11C505 DTPlatformVersion GM DTSDKBuild - 18B71 + 19B90 DTSDKName - macosx10.14 + macosx10.15 DTXcode - 1010 + 1130 DTXcodeBuild - 10B61 + 11C505 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 120000 index 0000000..fe4af8a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/AppCenterAnalytics @@ -0,0 +1 @@ +Versions/Current/AppCenterAnalytics \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics new file mode 100644 index 0000000..3fd53e4 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h new file mode 100644 index 0000000..5ab691f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h new file mode 100644 index 0000000..ccc516e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +/** + * App Center analytics service. + */ +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract + +/** + * Track an event. + * + * @param eventName Event name. Cannot be `nil` or empty. + * + * @discussion Validation rules apply depending on the configured secret. + * + * For App Center, the name cannot be longer than 256 and is truncated otherwise. + * + * For One Collector, the name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + */ ++ (void)trackEvent:(NSString *)eventName; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. + * + * @see resume + */ ++ (void)pause; + +/** + * Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the + * server. + * + * @see pause + */ ++ (void)resume; + +/** + * Get a transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns The transmission target object. + * + * @discussion This method does not need to be annotated with + * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that + * doesn't get translated like a setter in Swift. + * + * @see MSACAnalyticsTransmissionTarget for comparison. + */ ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * Send time interval for non-critical logs. + * Must be between 3 seconds and 86400 seconds (1 day). + * Must be called before Analytics service start. + */ +@property(class, atomic) NSUInteger transmissionInterval; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h new file mode 100644 index 0000000..b8d6ed9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif + +/** + * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . + */ +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { + + /** + * AuthenticationType MSA Compact. + */ + MSACAnalyticsAuthenticationTypeMsaCompact, + + /** + * AuthenticationType MSA Delegate. + */ + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject + +/** + * The type. + */ +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; + +/** + * The ticket key for this authentication provider. + */ +@property(nonatomic, readonly, copy) NSString *ticketKey; + +/** + * The ticket key as hash. + */ +@property(nonatomic, readonly, copy) NSString *ticketKeyHash; + +@property(nonatomic, readonly, weak) id delegate; + +/** + * Create a new authentication provider. + * + * @param type The type for the provider, e.g. MSA. + * @param ticketKey The ticket key for the provider. + * @param delegate The delegate. + * + * @return A new authentication provider. + */ +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type + ticketKey:(NSString *)ticketKey + delegate:(id)delegate; + +/** + * Check expiration. + */ +- (void)checkTokenExpiry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 0000000..9f7be7c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h new file mode 100644 index 0000000..4b735ba --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET + +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject + +/** + * Property configurator. + */ +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; + ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); + +/** + * Track an event. + * + * @param eventName event name. + */ +- (void)trackEvent:(NSString *)eventName; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Get a nested transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns A transmission target object nested to this parent transmission target. + */ +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. + */ +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Pause sending logs for the transmission target. It doesn't pause any of its decendants. + * + * @see resume + */ +- (void)pause; + +/** + * Resume sending logs for the transmission target. + * + * @see pause + */ +- (void)resume; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h new file mode 100644 index 0000000..21c47ee --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h new file mode 100644 index 0000000..f20b978 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + +NS_ASSUME_NONNULL_BEGIN + +/** + * Contains typed event properties. + */ +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject + +/** + * Set a string property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double property. + * + * @param value Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param key Property key. + */ +- (instancetype)setDouble:(double)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setInt64:(int64_t)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 0000000..81dbf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h new file mode 100644 index 0000000..18da672 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject + +/** + * Override the application version. + * + */ +@property(nonatomic, copy) NSString *_Nullable appVersion; + +/** + * Override the application name. + * + */ +@property(nonatomic, copy) NSString *_Nullable appName; + +/** + * Override the application locale. + * + */ +@property(nonatomic, copy) NSString *_Nullable appLocale; + +/** + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. + * + */ +@property(nonatomic, copy) NSString *_Nullable userId; + +/** + * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyString:(NSString *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDouble:(double)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyInt64:(int64_t)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyBool:(BOOL)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDate:(NSDate *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Remove an event property from this transmission target. + * + * @param propertyKey Property key. + * + * @discussion This won't remove properties with the same name declared in other nested transmission targets. + */ +- (void)removeEventPropertyForKey:(NSString *)propertyKey NS_SWIFT_NAME(removeEventProperty(forKey:)); + +/** + * Once called, the App Center SDK will automatically add UIDevice.identifierForVendor to common schema logs. + * + * @discussion Call this before starting the SDK. This setting is not persisted, so you need to call this when setting up the SDK every + * time. If you want to provide a way for users to opt-in or opt-out of this setting, it is on you to persist their choice and configure the + * App Center SDK accordingly. + */ +- (void)collectDeviceId; + +NS_ASSUME_NONNULL_END + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap similarity index 100% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist similarity index 83% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist index b8176e1..3e73fdc 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 18G1012 + 19H512 CFBundleDevelopmentRegion English CFBundleExecutable @@ -27,16 +27,18 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 10B61 + 11C505 DTPlatformVersion GM DTSDKBuild - 18B71 + 19B90 DTSDKName - macosx10.14 + macosx10.15 DTXcode - 1010 + 1130 DTXcodeBuild - 10B61 + 11C505 + LSMinimumSystemVersion + 10.9 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 100644 index 0000000..cc1c334 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h new file mode 100644 index 0000000..5ab691f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalytics.h new file mode 100644 index 0000000..ccc516e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalytics.h @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +/** + * App Center analytics service. + */ +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract + +/** + * Track an event. + * + * @param eventName Event name. Cannot be `nil` or empty. + * + * @discussion Validation rules apply depending on the configured secret. + * + * For App Center, the name cannot be longer than 256 and is truncated otherwise. + * + * For One Collector, the name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + */ ++ (void)trackEvent:(NSString *)eventName; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. + * + * @see resume + */ ++ (void)pause; + +/** + * Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the + * server. + * + * @see pause + */ ++ (void)resume; + +/** + * Get a transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns The transmission target object. + * + * @discussion This method does not need to be annotated with + * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that + * doesn't get translated like a setter in Swift. + * + * @see MSACAnalyticsTransmissionTarget for comparison. + */ ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * Send time interval for non-critical logs. + * Must be between 3 seconds and 86400 seconds (1 day). + * Must be called before Analytics service start. + */ +@property(class, atomic) NSUInteger transmissionInterval; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h new file mode 100644 index 0000000..b8d6ed9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif + +/** + * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . + */ +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { + + /** + * AuthenticationType MSA Compact. + */ + MSACAnalyticsAuthenticationTypeMsaCompact, + + /** + * AuthenticationType MSA Delegate. + */ + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject + +/** + * The type. + */ +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; + +/** + * The ticket key for this authentication provider. + */ +@property(nonatomic, readonly, copy) NSString *ticketKey; + +/** + * The ticket key as hash. + */ +@property(nonatomic, readonly, copy) NSString *ticketKeyHash; + +@property(nonatomic, readonly, weak) id delegate; + +/** + * Create a new authentication provider. + * + * @param type The type for the provider, e.g. MSA. + * @param ticketKey The ticket key for the provider. + * @param delegate The delegate. + * + * @return A new authentication provider. + */ +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type + ticketKey:(NSString *)ticketKey + delegate:(id)delegate; + +/** + * Check expiration. + */ +- (void)checkTokenExpiry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 0000000..9f7be7c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h new file mode 100644 index 0000000..4b735ba --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET + +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject + +/** + * Property configurator. + */ +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; + ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); + +/** + * Track an event. + * + * @param eventName event name. + */ +- (void)trackEvent:(NSString *)eventName; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Get a nested transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns A transmission target object nested to this parent transmission target. + */ +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. + */ +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Pause sending logs for the transmission target. It doesn't pause any of its decendants. + * + * @see resume + */ +- (void)pause; + +/** + * Resume sending logs for the transmission target. + * + * @see pause + */ +- (void)resume; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventLog.h new file mode 100644 index 0000000..21c47ee --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventProperties.h new file mode 100644 index 0000000..f20b978 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventProperties.h @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + +NS_ASSUME_NONNULL_BEGIN + +/** + * Contains typed event properties. + */ +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject + +/** + * Set a string property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double property. + * + * @param value Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param key Property key. + */ +- (instancetype)setDouble:(double)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setInt64:(int64_t)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 0000000..81dbf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h new file mode 100644 index 0000000..18da672 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject + +/** + * Override the application version. + * + */ +@property(nonatomic, copy) NSString *_Nullable appVersion; + +/** + * Override the application name. + * + */ +@property(nonatomic, copy) NSString *_Nullable appName; + +/** + * Override the application locale. + * + */ +@property(nonatomic, copy) NSString *_Nullable appLocale; + +/** + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. + * + */ +@property(nonatomic, copy) NSString *_Nullable userId; + +/** + * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyString:(NSString *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDouble:(double)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyInt64:(int64_t)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyBool:(BOOL)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDate:(NSDate *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Remove an event property from this transmission target. + * + * @param propertyKey Property key. + * + * @discussion This won't remove properties with the same name declared in other nested transmission targets. + */ +- (void)removeEventPropertyForKey:(NSString *)propertyKey NS_SWIFT_NAME(removeEventProperty(forKey:)); + +/** + * Once called, the App Center SDK will automatically add UIDevice.identifierForVendor to common schema logs. + * + * @discussion Call this before starting the SDK. This setting is not persisted, so you need to call this when setting up the SDK every + * time. If you want to provide a way for users to opt-in or opt-out of this setting, it is on you to persist their choice and configure the + * App Center SDK accordingly. + */ +- (void)collectDeviceId; + +NS_ASSUME_NONNULL_END + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Info.plist new file mode 100644 index 0000000..e3c5309 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Modules/module.modulemap new file mode 100644 index 0000000..ea370ea --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module AppCenterAnalytics { + umbrella header "AppCenterAnalytics.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "UIKit" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 100644 index 0000000..557fb78 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h new file mode 100644 index 0000000..5ab691f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h new file mode 100644 index 0000000..ccc516e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +/** + * App Center analytics service. + */ +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract + +/** + * Track an event. + * + * @param eventName Event name. Cannot be `nil` or empty. + * + * @discussion Validation rules apply depending on the configured secret. + * + * For App Center, the name cannot be longer than 256 and is truncated otherwise. + * + * For One Collector, the name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + */ ++ (void)trackEvent:(NSString *)eventName; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. + * + * @see resume + */ ++ (void)pause; + +/** + * Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the + * server. + * + * @see pause + */ ++ (void)resume; + +/** + * Get a transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns The transmission target object. + * + * @discussion This method does not need to be annotated with + * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that + * doesn't get translated like a setter in Swift. + * + * @see MSACAnalyticsTransmissionTarget for comparison. + */ ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * Send time interval for non-critical logs. + * Must be between 3 seconds and 86400 seconds (1 day). + * Must be called before Analytics service start. + */ +@property(class, atomic) NSUInteger transmissionInterval; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h new file mode 100644 index 0000000..b8d6ed9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif + +/** + * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . + */ +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { + + /** + * AuthenticationType MSA Compact. + */ + MSACAnalyticsAuthenticationTypeMsaCompact, + + /** + * AuthenticationType MSA Delegate. + */ + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject + +/** + * The type. + */ +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; + +/** + * The ticket key for this authentication provider. + */ +@property(nonatomic, readonly, copy) NSString *ticketKey; + +/** + * The ticket key as hash. + */ +@property(nonatomic, readonly, copy) NSString *ticketKeyHash; + +@property(nonatomic, readonly, weak) id delegate; + +/** + * Create a new authentication provider. + * + * @param type The type for the provider, e.g. MSA. + * @param ticketKey The ticket key for the provider. + * @param delegate The delegate. + * + * @return A new authentication provider. + */ +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type + ticketKey:(NSString *)ticketKey + delegate:(id)delegate; + +/** + * Check expiration. + */ +- (void)checkTokenExpiry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 0000000..9f7be7c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h new file mode 100644 index 0000000..4b735ba --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET + +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject + +/** + * Property configurator. + */ +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; + ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); + +/** + * Track an event. + * + * @param eventName event name. + */ +- (void)trackEvent:(NSString *)eventName; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Get a nested transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns A transmission target object nested to this parent transmission target. + */ +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. + */ +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Pause sending logs for the transmission target. It doesn't pause any of its decendants. + * + * @see resume + */ +- (void)pause; + +/** + * Resume sending logs for the transmission target. + * + * @see pause + */ +- (void)resume; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h new file mode 100644 index 0000000..21c47ee --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h new file mode 100644 index 0000000..f20b978 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + +NS_ASSUME_NONNULL_BEGIN + +/** + * Contains typed event properties. + */ +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject + +/** + * Set a string property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double property. + * + * @param value Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param key Property key. + */ +- (instancetype)setDouble:(double)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setInt64:(int64_t)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 0000000..81dbf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h new file mode 100644 index 0000000..18da672 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject + +/** + * Override the application version. + * + */ +@property(nonatomic, copy) NSString *_Nullable appVersion; + +/** + * Override the application name. + * + */ +@property(nonatomic, copy) NSString *_Nullable appName; + +/** + * Override the application locale. + * + */ +@property(nonatomic, copy) NSString *_Nullable appLocale; + +/** + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. + * + */ +@property(nonatomic, copy) NSString *_Nullable userId; + +/** + * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyString:(NSString *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDouble:(double)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyInt64:(int64_t)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyBool:(BOOL)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDate:(NSDate *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Remove an event property from this transmission target. + * + * @param propertyKey Property key. + * + * @discussion This won't remove properties with the same name declared in other nested transmission targets. + */ +- (void)removeEventPropertyForKey:(NSString *)propertyKey NS_SWIFT_NAME(removeEventProperty(forKey:)); + +/** + * Once called, the App Center SDK will automatically add UIDevice.identifierForVendor to common schema logs. + * + * @discussion Call this before starting the SDK. This setting is not persisted, so you need to call this when setting up the SDK every + * time. If you want to provide a way for users to opt-in or opt-out of this setting, it is on you to persist their choice and configure the + * App Center SDK accordingly. + */ +- (void)collectDeviceId; + +NS_ASSUME_NONNULL_END + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Info.plist new file mode 100644 index 0000000..2b09e32 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap new file mode 100644 index 0000000..ea370ea --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module AppCenterAnalytics { + umbrella header "AppCenterAnalytics.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "UIKit" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..a895ffe Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..9c69181 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..f6f93b0 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources @@ -0,0 +1,252 @@ + + + + + files + + Headers/AppCenterAnalytics.h + + Fs0dGlBGkuUc6Z7ZP7gfuSWOzCw= + + Headers/MSACAnalytics.h + + eCMFL/VXD+rG/k/pKssa1WHyXIU= + + Headers/MSACAnalyticsAuthenticationProvider.h + + ovXSzTsXH+JOx+GCBxqVc/esug8= + + Headers/MSACAnalyticsAuthenticationProviderDelegate.h + + NSi6Ny9C3NeGJ+RsBPbZk9SIuGY= + + Headers/MSACAnalyticsTransmissionTarget.h + + qPZxWKGB/GiufN0hpB5xma4wEKI= + + Headers/MSACEventLog.h + + oYQXdiN+3K5CCvIMbbOo00U8TZc= + + Headers/MSACEventProperties.h + + vZGg4s6Q/1QSzsGWD84S+mFnfBE= + + Headers/MSACLogWithNameAndProperties.h + + 6S/dPB/fT2ggNWRoYwZ7wmcOBSE= + + Headers/MSACPropertyConfigurator.h + + lGP+L5ChWN1AcKaFjfGSH2nFJUk= + + Info.plist + + KkSeZFNo/R4fhjgb+0zGGmHG+ug= + + Modules/module.modulemap + + 0El015qOEJTmLPFDCepYjK0g4k8= + + + files2 + + Headers/AppCenterAnalytics.h + + hash + + Fs0dGlBGkuUc6Z7ZP7gfuSWOzCw= + + hash2 + + ftbFFrrERdYkA9lfSEvaW2HIu31AMc+674Bn4t/sgpA= + + + Headers/MSACAnalytics.h + + hash + + eCMFL/VXD+rG/k/pKssa1WHyXIU= + + hash2 + + y5cJfuEQdXJdW1JBMov56b0g6JqAaYxWjoITEjDhrLM= + + + Headers/MSACAnalyticsAuthenticationProvider.h + + hash + + ovXSzTsXH+JOx+GCBxqVc/esug8= + + hash2 + + VX9x8iyr6H8IUJ5Il7fDoiBxPefviCMbiKnftN9etaI= + + + Headers/MSACAnalyticsAuthenticationProviderDelegate.h + + hash + + NSi6Ny9C3NeGJ+RsBPbZk9SIuGY= + + hash2 + + 5GoAw0otoErj3IS/wneF0BalH1RnXmAakM2X1KLchWk= + + + Headers/MSACAnalyticsTransmissionTarget.h + + hash + + qPZxWKGB/GiufN0hpB5xma4wEKI= + + hash2 + + GAoo5JHjROE4618AsMecbEH9mzOj1TejY5iCBeU/Yds= + + + Headers/MSACEventLog.h + + hash + + oYQXdiN+3K5CCvIMbbOo00U8TZc= + + hash2 + + eTIJL3LVp+gDX2sWuYnj8nqlfyp9+bFNZNKeMN9M6Q0= + + + Headers/MSACEventProperties.h + + hash + + vZGg4s6Q/1QSzsGWD84S+mFnfBE= + + hash2 + + Y4BEaISVry4wv+Z7jjbM6KP8fiyiHk+aB9YMzAvfUV0= + + + Headers/MSACLogWithNameAndProperties.h + + hash + + 6S/dPB/fT2ggNWRoYwZ7wmcOBSE= + + hash2 + + DiLnJ6tiJacyKthLgB4INSWg7l0ZArp2pNmSbFfsfsk= + + + Headers/MSACPropertyConfigurator.h + + hash + + lGP+L5ChWN1AcKaFjfGSH2nFJUk= + + hash2 + + ZkNl6d5lmIMMijjVhtMAYeTglhpKH68UK9mRuvnYNGg= + + + Modules/module.modulemap + + hash + + 0El015qOEJTmLPFDCepYjK0g4k8= + + hash2 + + GCgZkS19ITwtztUxDCQ265uvlfL0cwEgwEIakSFJyDM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/Info.plist new file mode 100644 index 0000000..ec72d96 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/Info.plist @@ -0,0 +1,99 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64_i386_x86_64-simulator + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + i386 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + LibraryIdentifier + tvos-arm64 + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + ios-arm64_arm64e_armv7_armv7s + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + arm64e + armv7 + armv7s + + SupportedPlatform + ios + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/AppCenterCrashes new file mode 100644 index 0000000..ecc4bf2 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/AppCenterCrashes.h new file mode 100644 index 0000000..30d2759 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h similarity index 91% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSCrashHandlerSetupDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h index 0a214be..0a05beb 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSCrashHandlerSetupDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h @@ -6,7 +6,8 @@ /** * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. */ -@protocol MSCrashHandlerSetupDelegate +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate @optional diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashes.h similarity index 66% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSCrashes.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashes.h index aab6ed1..9b24740 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSCrashes.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashes.h @@ -1,63 +1,73 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSErrorReport.h" -#import "MSServiceAbstract.h" +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif -@class MSCrashesDelegate; +@class MSACCrashesDelegate; /** * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. * * @return Returns YES to discard crash reports, otherwise NO. */ -typedef BOOL (^MSUserConfirmationHandler)(NSArray *_Nonnull errorReports); +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); /** * Error Logging status. */ -typedef NS_ENUM(NSUInteger, MSErrorLogSetting) { +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { /** * Crash reporting is disabled. */ - MSErrorLogSettingDisabled = 0, + MSACErrorLogSettingDisabled = 0, /** * User is asked each time before sending error logs. */ - MSErrorLogSettingAlwaysAsk = 1, + MSACErrorLogSettingAlwaysAsk = 1, /** * Each error log is send automatically. */ - MSErrorLogSettingAutoSend = 2 -}; + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); /** * Crash Manager alert user input. */ -typedef NS_ENUM(NSUInteger, MSUserConfirmation) { +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { /** * User chose not to send the crash report. */ - MSUserConfirmationDontSend = 0, + MSACUserConfirmationDontSend = 0, /** * User wants the crash report to be sent. */ - MSUserConfirmationSend = 1, + MSACUserConfirmationSend = 1, /** * User wants to send all error logs. */ - MSUserConfirmationAlways = 2 -}; + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); -@protocol MSCrashesDelegate; +@protocol MSACCrashesDelegate; -@interface MSCrashes : MSServiceAbstract +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract ///----------------------------------------------------------------------------- /// @name Testing Crashes Feature @@ -87,21 +97,21 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { * * @return Returns YES is the app has crashed in the last session. */ -+ (BOOL)hasCrashedInLastSession; +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; /** * Check if the app received memory warning in the last session. * * @return Returns YES is the app received memory warning in the last session. */ -+ (BOOL)hasReceivedMemoryWarningInLastSession; +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; /** * Provides details about the crash that occurred in the last app session */ -+ (nullable MSErrorReport *)lastSessionCrashReport; +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; -#if TARGET_OS_OSX +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST /** * Callback for report exception. * @@ -125,13 +135,13 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look * like this: * - * `[MSCrashes disableMachExceptionHandler]`; - * `[MSAppCenter start:@"YOUR_APP_ID" withServices:@[[MSCrashes class]]];` + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` * * or if you are using Swift: * - * `MSCrashes.disableMachExceptionHandler()` - * `MSAppCenter.start("YOUR_APP_ID", withServices: [MSAnalytics.self, MSCrashes.self])` + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` * * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, * disabling the Mach exception server is not available in the tvOS SDK. @@ -144,28 +154,26 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { /** * Set the delegate - * Defines the class that implements the optional protocol `MSCrashesDelegate`. + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. * - * @see MSCrashesDelegate + * @see MSACCrashesDelegate */ -+ (void)setDelegate:(_Nullable id)delegate; +@property(class, nonatomic, weak) id _Nullable delegate; /** * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. * - * @param userConfirmationHandler A handler for user confirmation. - * - * @see MSUserConfirmationHandler + * @see MSACUserConfirmationHandler */ -+ (void)setUserConfirmationHandler:(_Nullable MSUserConfirmationHandler)userConfirmationHandler; +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; /** * Notify SDK with a confirmation to handle the crash report. * * @param userConfirmation A user confirmation. * - * @see MSUserConfirmation. + * @see MSACUserConfirmation. */ -+ (void)notifyWithUserConfirmation:(MSUserConfirmation)userConfirmation; ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h similarity index 55% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSCrashesDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h index ecc249f..a5232b2 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSCrashesDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h @@ -3,63 +3,68 @@ #import -@class MSCrashes; -@class MSErrorReport; -@class MSErrorAttachmentLog; +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; -@protocol MSCrashesDelegate +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate @optional /** * Callback method that will be called before processing errors. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that will be sent. * * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. */ -- (BOOL)crashes:(MSCrashes *)crashes shouldProcessErrorReport:(MSErrorReport *)errorReport; +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); /** * Callback method that will be called before each error will be send to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that will be sent. * * @discussion Use this callback to display custom UI while crashes are sent to the server. */ -- (void)crashes:(MSCrashes *)crashes willSendErrorReport:(MSErrorReport *)errorReport; +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; /** - * Callback method that will be called in case the SDK was unable to send an error report to the server. + * Callback method that will be called after the SDK successfully sent an error report to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that App Center sent. * * @discussion Use this method to hide your custom UI. */ -- (void)crashes:(MSCrashes *)crashes didSucceedSendingErrorReport:(MSErrorReport *)errorReport; +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; /** * Callback method that will be called in case the SDK was unable to send an error report to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that App Center tried to send. * @param error The error that occurred. */ -- (void)crashes:(MSCrashes *)crashes didFailSendingErrorReport:(MSErrorReport *)errorReport withError:(NSError *)error; +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error; /** * Method to get the attachments associated to an error report. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport associated with the returned attachments. * * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. * * @discussion Implement this method if you want attachments to the given error report. */ -- (NSArray *)attachmentsWithCrashes:(MSCrashes *)crashes forErrorReport:(MSErrorReport *)errorReport; +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; @end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h similarity index 52% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog+Utility.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h index 585c353..3d667f4 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog+Utility.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h @@ -1,12 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSErrorAttachmentLog.h" +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif // Exporting symbols for category. -extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; -@interface MSErrorAttachmentLog (Utility) +@interface MSACErrorAttachmentLog (Utility) /** * Create an attachment with a given filename and text. @@ -14,9 +18,9 @@ extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; * @param filename The filename the attachment should get. If nil will get an automatically generated filename. * @param text The attachment text. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ -+ (MSErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; /** * Create an attachment with a given filename and `NSData` object. @@ -25,8 +29,8 @@ extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; * @param data The attachment data as NSData. * @param contentType The content type of your data as MIME type. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ -+ (MSErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h similarity index 78% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h index 3ffc3c7..d3482f5 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h @@ -3,12 +3,17 @@ #import -#import "MSAbstractLog.h" +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif /** * Error attachment log. */ -@interface MSErrorAttachmentLog : MSAbstractLog +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog /** * Content type (text/plain for text). @@ -32,7 +37,7 @@ * @param data The attachment data as `NSData`. * @param contentType The content type of your data as MIME type. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ - (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; @@ -42,7 +47,7 @@ * @param filename The filename the attachment should get. If nil will get an automatically generated filename. * @param text The attachment text. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ - (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorReport.h similarity index 85% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSErrorReport.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorReport.h index cf524a2..fb64937 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSErrorReport.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorReport.h @@ -3,9 +3,10 @@ #import -@class MSDevice; +@class MSACDevice; -@interface MSErrorReport : NSObject +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject /** * UUID for the crash report. @@ -45,7 +46,7 @@ /** * Device information of the app when it crashed. */ -@property(nonatomic, readonly, strong) MSDevice *device; +@property(nonatomic, readonly, strong) MSACDevice *device; /** * Identifier of the app process that crashed. @@ -59,10 +60,8 @@ * thread for too long, or other reasons. See Apple documentation: * https://developer.apple.com/library/ios/qa/qa1693/_index.html. * - * @return YES if the details represent an app kill instead of a crash. - * - * @see `[MSCrashes didReceiveMemoryWarningInLastSession]` + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` */ -- (BOOL)isAppKill; +@property(nonatomic, readonly) BOOL isAppKill; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h similarity index 53% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSWrapperCrashesHelper.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h index d380ed4..da38a3d 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSWrapperCrashesHelper.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h @@ -3,46 +3,50 @@ #import -#import "MSCrashHandlerSetupDelegate.h" +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif NS_ASSUME_NONNULL_BEGIN -@class MSErrorReport; -@class MSErrorAttachmentLog; -@class MSException; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; /** * This general class allows wrappers to supplement the Crashes SDK with their own behavior. */ -@interface MSWrapperCrashesHelper : NSObject +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject /** - * Sets the crash handler setup delegate. + * The crash handler setup delegate. * - * @param delegate The delegate to set. */ -+ (void)setCrashHandlerSetupDelegate:(id)delegate; +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; /** * Gets the crash handler setup delegate. * + * @deprecated + * * @return The delegate being used by Crashes. */ -+ (id)getCrashHandlerSetupDelegate; ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); /** - * Enables or disables automatic crash processing. - * - * @param automaticProcessing Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. */ -+ (void)setAutomaticProcessing:(BOOL)automaticProcessing; +@property(class, nonatomic) BOOL automaticProcessing; /** * Gets a list of unprocessed crash reports. Will block until the service starts. * * @return An array of unprocessed error reports. */ -+ (NSArray *)unprocessedCrashReports; +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; /** * Resumes processing for a given subset of the unprocessed reports. @@ -59,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN * @param errorAttachments An array of error attachments that should be sent. * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. */ -+ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; /** * Track handled exception directly as model form. @@ -71,9 +75,9 @@ NS_ASSUME_NONNULL_BEGIN * * @return handled error ID. */ -+ (NSString *)trackModelException:(MSException *)exception - withProperties:(nullable NSDictionary *)properties - withAttachments:(nullable NSArray *)attachments; ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; /** * Get a generic error report representation for an handled exception. @@ -83,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return an error report. */ -+ (MSErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Info.plist new file mode 100644 index 0000000..cfd3707 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Modules/module.modulemap similarity index 98% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Modules/module.modulemap index 58d5076..858a529 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Modules/module.modulemap @@ -1,6 +1,6 @@ framework module AppCenterCrashes { umbrella header "AppCenterCrashes.h" - + export * module * { export * } diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes new file mode 100644 index 0000000..1f9ab1d Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h new file mode 100644 index 0000000..30d2759 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h similarity index 91% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSCrashHandlerSetupDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h index 0a214be..0a05beb 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSCrashHandlerSetupDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h @@ -6,7 +6,8 @@ /** * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. */ -@protocol MSCrashHandlerSetupDelegate +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate @optional diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h similarity index 66% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSCrashes.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h index aab6ed1..9b24740 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSCrashes.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h @@ -1,63 +1,73 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSErrorReport.h" -#import "MSServiceAbstract.h" +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif -@class MSCrashesDelegate; +@class MSACCrashesDelegate; /** * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. * * @return Returns YES to discard crash reports, otherwise NO. */ -typedef BOOL (^MSUserConfirmationHandler)(NSArray *_Nonnull errorReports); +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); /** * Error Logging status. */ -typedef NS_ENUM(NSUInteger, MSErrorLogSetting) { +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { /** * Crash reporting is disabled. */ - MSErrorLogSettingDisabled = 0, + MSACErrorLogSettingDisabled = 0, /** * User is asked each time before sending error logs. */ - MSErrorLogSettingAlwaysAsk = 1, + MSACErrorLogSettingAlwaysAsk = 1, /** * Each error log is send automatically. */ - MSErrorLogSettingAutoSend = 2 -}; + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); /** * Crash Manager alert user input. */ -typedef NS_ENUM(NSUInteger, MSUserConfirmation) { +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { /** * User chose not to send the crash report. */ - MSUserConfirmationDontSend = 0, + MSACUserConfirmationDontSend = 0, /** * User wants the crash report to be sent. */ - MSUserConfirmationSend = 1, + MSACUserConfirmationSend = 1, /** * User wants to send all error logs. */ - MSUserConfirmationAlways = 2 -}; + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); -@protocol MSCrashesDelegate; +@protocol MSACCrashesDelegate; -@interface MSCrashes : MSServiceAbstract +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract ///----------------------------------------------------------------------------- /// @name Testing Crashes Feature @@ -87,21 +97,21 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { * * @return Returns YES is the app has crashed in the last session. */ -+ (BOOL)hasCrashedInLastSession; +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; /** * Check if the app received memory warning in the last session. * * @return Returns YES is the app received memory warning in the last session. */ -+ (BOOL)hasReceivedMemoryWarningInLastSession; +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; /** * Provides details about the crash that occurred in the last app session */ -+ (nullable MSErrorReport *)lastSessionCrashReport; +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; -#if TARGET_OS_OSX +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST /** * Callback for report exception. * @@ -125,13 +135,13 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look * like this: * - * `[MSCrashes disableMachExceptionHandler]`; - * `[MSAppCenter start:@"YOUR_APP_ID" withServices:@[[MSCrashes class]]];` + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` * * or if you are using Swift: * - * `MSCrashes.disableMachExceptionHandler()` - * `MSAppCenter.start("YOUR_APP_ID", withServices: [MSAnalytics.self, MSCrashes.self])` + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` * * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, * disabling the Mach exception server is not available in the tvOS SDK. @@ -144,28 +154,26 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { /** * Set the delegate - * Defines the class that implements the optional protocol `MSCrashesDelegate`. + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. * - * @see MSCrashesDelegate + * @see MSACCrashesDelegate */ -+ (void)setDelegate:(_Nullable id)delegate; +@property(class, nonatomic, weak) id _Nullable delegate; /** * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. * - * @param userConfirmationHandler A handler for user confirmation. - * - * @see MSUserConfirmationHandler + * @see MSACUserConfirmationHandler */ -+ (void)setUserConfirmationHandler:(_Nullable MSUserConfirmationHandler)userConfirmationHandler; +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; /** * Notify SDK with a confirmation to handle the crash report. * * @param userConfirmation A user confirmation. * - * @see MSUserConfirmation. + * @see MSACUserConfirmation. */ -+ (void)notifyWithUserConfirmation:(MSUserConfirmation)userConfirmation; ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h similarity index 55% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSCrashesDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h index ecc249f..a5232b2 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSCrashesDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h @@ -3,63 +3,68 @@ #import -@class MSCrashes; -@class MSErrorReport; -@class MSErrorAttachmentLog; +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; -@protocol MSCrashesDelegate +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate @optional /** * Callback method that will be called before processing errors. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that will be sent. * * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. */ -- (BOOL)crashes:(MSCrashes *)crashes shouldProcessErrorReport:(MSErrorReport *)errorReport; +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); /** * Callback method that will be called before each error will be send to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that will be sent. * * @discussion Use this callback to display custom UI while crashes are sent to the server. */ -- (void)crashes:(MSCrashes *)crashes willSendErrorReport:(MSErrorReport *)errorReport; +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; /** - * Callback method that will be called in case the SDK was unable to send an error report to the server. + * Callback method that will be called after the SDK successfully sent an error report to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that App Center sent. * * @discussion Use this method to hide your custom UI. */ -- (void)crashes:(MSCrashes *)crashes didSucceedSendingErrorReport:(MSErrorReport *)errorReport; +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; /** * Callback method that will be called in case the SDK was unable to send an error report to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that App Center tried to send. * @param error The error that occurred. */ -- (void)crashes:(MSCrashes *)crashes didFailSendingErrorReport:(MSErrorReport *)errorReport withError:(NSError *)error; +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error; /** * Method to get the attachments associated to an error report. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport associated with the returned attachments. * * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. * * @discussion Implement this method if you want attachments to the given error report. */ -- (NSArray *)attachmentsWithCrashes:(MSCrashes *)crashes forErrorReport:(MSErrorReport *)errorReport; +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; @end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h similarity index 52% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSErrorAttachmentLog+Utility.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h index 585c353..3d667f4 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSErrorAttachmentLog+Utility.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h @@ -1,12 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSErrorAttachmentLog.h" +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif // Exporting symbols for category. -extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; -@interface MSErrorAttachmentLog (Utility) +@interface MSACErrorAttachmentLog (Utility) /** * Create an attachment with a given filename and text. @@ -14,9 +18,9 @@ extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; * @param filename The filename the attachment should get. If nil will get an automatically generated filename. * @param text The attachment text. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ -+ (MSErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; /** * Create an attachment with a given filename and `NSData` object. @@ -25,8 +29,8 @@ extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; * @param data The attachment data as NSData. * @param contentType The content type of your data as MIME type. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ -+ (MSErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h similarity index 78% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSErrorAttachmentLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h index 3ffc3c7..d3482f5 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSErrorAttachmentLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h @@ -3,12 +3,17 @@ #import -#import "MSAbstractLog.h" +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif /** * Error attachment log. */ -@interface MSErrorAttachmentLog : MSAbstractLog +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog /** * Content type (text/plain for text). @@ -32,7 +37,7 @@ * @param data The attachment data as `NSData`. * @param contentType The content type of your data as MIME type. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ - (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; @@ -42,7 +47,7 @@ * @param filename The filename the attachment should get. If nil will get an automatically generated filename. * @param text The attachment text. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ - (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h similarity index 85% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSErrorReport.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h index cf524a2..fb64937 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSErrorReport.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h @@ -3,9 +3,10 @@ #import -@class MSDevice; +@class MSACDevice; -@interface MSErrorReport : NSObject +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject /** * UUID for the crash report. @@ -45,7 +46,7 @@ /** * Device information of the app when it crashed. */ -@property(nonatomic, readonly, strong) MSDevice *device; +@property(nonatomic, readonly, strong) MSACDevice *device; /** * Identifier of the app process that crashed. @@ -59,10 +60,8 @@ * thread for too long, or other reasons. See Apple documentation: * https://developer.apple.com/library/ios/qa/qa1693/_index.html. * - * @return YES if the details represent an app kill instead of a crash. - * - * @see `[MSCrashes didReceiveMemoryWarningInLastSession]` + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` */ -- (BOOL)isAppKill; +@property(nonatomic, readonly) BOOL isAppKill; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h similarity index 53% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSWrapperCrashesHelper.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h index d380ed4..da38a3d 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSWrapperCrashesHelper.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h @@ -3,46 +3,50 @@ #import -#import "MSCrashHandlerSetupDelegate.h" +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif NS_ASSUME_NONNULL_BEGIN -@class MSErrorReport; -@class MSErrorAttachmentLog; -@class MSException; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; /** * This general class allows wrappers to supplement the Crashes SDK with their own behavior. */ -@interface MSWrapperCrashesHelper : NSObject +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject /** - * Sets the crash handler setup delegate. + * The crash handler setup delegate. * - * @param delegate The delegate to set. */ -+ (void)setCrashHandlerSetupDelegate:(id)delegate; +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; /** * Gets the crash handler setup delegate. * + * @deprecated + * * @return The delegate being used by Crashes. */ -+ (id)getCrashHandlerSetupDelegate; ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); /** - * Enables or disables automatic crash processing. - * - * @param automaticProcessing Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. */ -+ (void)setAutomaticProcessing:(BOOL)automaticProcessing; +@property(class, nonatomic) BOOL automaticProcessing; /** * Gets a list of unprocessed crash reports. Will block until the service starts. * * @return An array of unprocessed error reports. */ -+ (NSArray *)unprocessedCrashReports; +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; /** * Resumes processing for a given subset of the unprocessed reports. @@ -59,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN * @param errorAttachments An array of error attachments that should be sent. * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. */ -+ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; /** * Track handled exception directly as model form. @@ -71,9 +75,9 @@ NS_ASSUME_NONNULL_BEGIN * * @return handled error ID. */ -+ (NSString *)trackModelException:(MSException *)exception - withProperties:(nullable NSDictionary *)properties - withAttachments:(nullable NSArray *)attachments; ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; /** * Get a generic error report representation for an handled exception. @@ -83,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return an error report. */ -+ (MSErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Info.plist new file mode 100644 index 0000000..8acc8e4 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap similarity index 98% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap index 58d5076..858a529 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Modules/module.modulemap +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap @@ -1,6 +1,6 @@ framework module AppCenterCrashes { umbrella header "AppCenterCrashes.h" - + export * module * { export * } diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..1eeb069 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..77884c0 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..1c1eff7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources @@ -0,0 +1,237 @@ + + + + + files + + Headers/AppCenterCrashes.h + + eS1L4vZ9uOJZWtS26mqGyfAfCvE= + + Headers/MSACCrashHandlerSetupDelegate.h + + uzF7JXTLqzHmtvY1P75OKDVr5eA= + + Headers/MSACCrashes.h + + eHC+/SrZ0R08kZxHQSoVyQf+vCo= + + Headers/MSACCrashesDelegate.h + + czYUE2OOoD3lc+2UHRPFMakb0jQ= + + Headers/MSACErrorAttachmentLog+Utility.h + + ckZsMUyucVQ1SglcnBVzx7JxiOg= + + Headers/MSACErrorAttachmentLog.h + + dMy2azn9T1iXSiDDZer3HSNemjc= + + Headers/MSACErrorReport.h + + OZkejnc70UL+wPdiV8fw2UAcBR0= + + Headers/MSACWrapperCrashesHelper.h + + hOnzBmQWDawGfE7ml3y93JiamCw= + + Info.plist + + VauVtcHJuRj9FZyrpxQjDSQCj3Q= + + Modules/module.modulemap + + GcHl2+DKz5+ccrOUhvzEQR/7ph8= + + + files2 + + Headers/AppCenterCrashes.h + + hash + + eS1L4vZ9uOJZWtS26mqGyfAfCvE= + + hash2 + + NFGxm6YjpGCjJNEfjv5SM7MyktNj/PHvSXflRV/5FPQ= + + + Headers/MSACCrashHandlerSetupDelegate.h + + hash + + uzF7JXTLqzHmtvY1P75OKDVr5eA= + + hash2 + + VFNM3t9XTyOH2PM7hKUjHlq+mSBtYie1QqWzP4Y/X2Y= + + + Headers/MSACCrashes.h + + hash + + eHC+/SrZ0R08kZxHQSoVyQf+vCo= + + hash2 + + y7g3W+WahfsOp6fIuAPSEK9JbhjeFSzuTLIVlH5ij2o= + + + Headers/MSACCrashesDelegate.h + + hash + + czYUE2OOoD3lc+2UHRPFMakb0jQ= + + hash2 + + XWIFycuL8uPuweg15Kuzu0MAYjRG7O7p0VyVRzG0Ay0= + + + Headers/MSACErrorAttachmentLog+Utility.h + + hash + + ckZsMUyucVQ1SglcnBVzx7JxiOg= + + hash2 + + 1rzGYpSxmqx0iwrRdYi3QVDTPYeSHeJ98Rc12R2qAyk= + + + Headers/MSACErrorAttachmentLog.h + + hash + + dMy2azn9T1iXSiDDZer3HSNemjc= + + hash2 + + vK9kyTt1KPC2TzzlnqLJlPp8CAel2LBSWTTYc55owTw= + + + Headers/MSACErrorReport.h + + hash + + OZkejnc70UL+wPdiV8fw2UAcBR0= + + hash2 + + Ph0QprvD6QWBekvlfshUpVdljO98TuiI8PRbZO/MB0Y= + + + Headers/MSACWrapperCrashesHelper.h + + hash + + hOnzBmQWDawGfE7ml3y93JiamCw= + + hash2 + + dlGy++pjkWr8/y3Lw/UjWLU1uyIibB55gFuXhI7YdcM= + + + Modules/module.modulemap + + hash + + GcHl2+DKz5+ccrOUhvzEQR/7ph8= + + hash2 + + H27O4QPsA81Fgd3E2EpY562XQeivkHXpLp46tsiqAD8= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/AppCenterCrashes new file mode 120000 index 0000000..3ee2274 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/AppCenterCrashes @@ -0,0 +1 @@ +Versions/Current/AppCenterCrashes \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/AppCenterCrashes new file mode 100644 index 0000000..b1ad6a0 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h new file mode 100644 index 0000000..30d2759 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h similarity index 91% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSCrashHandlerSetupDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h index 0a214be..0a05beb 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSCrashHandlerSetupDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h @@ -6,7 +6,8 @@ /** * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. */ -@protocol MSCrashHandlerSetupDelegate +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate @optional diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h similarity index 66% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSCrashes.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h index aab6ed1..9b24740 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSCrashes.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h @@ -1,63 +1,73 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSErrorReport.h" -#import "MSServiceAbstract.h" +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif -@class MSCrashesDelegate; +@class MSACCrashesDelegate; /** * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. * * @return Returns YES to discard crash reports, otherwise NO. */ -typedef BOOL (^MSUserConfirmationHandler)(NSArray *_Nonnull errorReports); +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); /** * Error Logging status. */ -typedef NS_ENUM(NSUInteger, MSErrorLogSetting) { +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { /** * Crash reporting is disabled. */ - MSErrorLogSettingDisabled = 0, + MSACErrorLogSettingDisabled = 0, /** * User is asked each time before sending error logs. */ - MSErrorLogSettingAlwaysAsk = 1, + MSACErrorLogSettingAlwaysAsk = 1, /** * Each error log is send automatically. */ - MSErrorLogSettingAutoSend = 2 -}; + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); /** * Crash Manager alert user input. */ -typedef NS_ENUM(NSUInteger, MSUserConfirmation) { +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { /** * User chose not to send the crash report. */ - MSUserConfirmationDontSend = 0, + MSACUserConfirmationDontSend = 0, /** * User wants the crash report to be sent. */ - MSUserConfirmationSend = 1, + MSACUserConfirmationSend = 1, /** * User wants to send all error logs. */ - MSUserConfirmationAlways = 2 -}; + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); -@protocol MSCrashesDelegate; +@protocol MSACCrashesDelegate; -@interface MSCrashes : MSServiceAbstract +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract ///----------------------------------------------------------------------------- /// @name Testing Crashes Feature @@ -87,21 +97,21 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { * * @return Returns YES is the app has crashed in the last session. */ -+ (BOOL)hasCrashedInLastSession; +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; /** * Check if the app received memory warning in the last session. * * @return Returns YES is the app received memory warning in the last session. */ -+ (BOOL)hasReceivedMemoryWarningInLastSession; +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; /** * Provides details about the crash that occurred in the last app session */ -+ (nullable MSErrorReport *)lastSessionCrashReport; +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; -#if TARGET_OS_OSX +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST /** * Callback for report exception. * @@ -125,13 +135,13 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look * like this: * - * `[MSCrashes disableMachExceptionHandler]`; - * `[MSAppCenter start:@"YOUR_APP_ID" withServices:@[[MSCrashes class]]];` + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` * * or if you are using Swift: * - * `MSCrashes.disableMachExceptionHandler()` - * `MSAppCenter.start("YOUR_APP_ID", withServices: [MSAnalytics.self, MSCrashes.self])` + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` * * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, * disabling the Mach exception server is not available in the tvOS SDK. @@ -144,28 +154,26 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { /** * Set the delegate - * Defines the class that implements the optional protocol `MSCrashesDelegate`. + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. * - * @see MSCrashesDelegate + * @see MSACCrashesDelegate */ -+ (void)setDelegate:(_Nullable id)delegate; +@property(class, nonatomic, weak) id _Nullable delegate; /** * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. * - * @param userConfirmationHandler A handler for user confirmation. - * - * @see MSUserConfirmationHandler + * @see MSACUserConfirmationHandler */ -+ (void)setUserConfirmationHandler:(_Nullable MSUserConfirmationHandler)userConfirmationHandler; +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; /** * Notify SDK with a confirmation to handle the crash report. * * @param userConfirmation A user confirmation. * - * @see MSUserConfirmation. + * @see MSACUserConfirmation. */ -+ (void)notifyWithUserConfirmation:(MSUserConfirmation)userConfirmation; ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h similarity index 55% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSCrashesDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h index ecc249f..a5232b2 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSCrashesDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h @@ -3,63 +3,68 @@ #import -@class MSCrashes; -@class MSErrorReport; -@class MSErrorAttachmentLog; +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; -@protocol MSCrashesDelegate +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate @optional /** * Callback method that will be called before processing errors. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that will be sent. * * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. */ -- (BOOL)crashes:(MSCrashes *)crashes shouldProcessErrorReport:(MSErrorReport *)errorReport; +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); /** * Callback method that will be called before each error will be send to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that will be sent. * * @discussion Use this callback to display custom UI while crashes are sent to the server. */ -- (void)crashes:(MSCrashes *)crashes willSendErrorReport:(MSErrorReport *)errorReport; +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; /** - * Callback method that will be called in case the SDK was unable to send an error report to the server. + * Callback method that will be called after the SDK successfully sent an error report to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that App Center sent. * * @discussion Use this method to hide your custom UI. */ -- (void)crashes:(MSCrashes *)crashes didSucceedSendingErrorReport:(MSErrorReport *)errorReport; +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; /** * Callback method that will be called in case the SDK was unable to send an error report to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that App Center tried to send. * @param error The error that occurred. */ -- (void)crashes:(MSCrashes *)crashes didFailSendingErrorReport:(MSErrorReport *)errorReport withError:(NSError *)error; +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error; /** * Method to get the attachments associated to an error report. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport associated with the returned attachments. * * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. * * @discussion Implement this method if you want attachments to the given error report. */ -- (NSArray *)attachmentsWithCrashes:(MSCrashes *)crashes forErrorReport:(MSErrorReport *)errorReport; +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; @end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h similarity index 52% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSErrorAttachmentLog+Utility.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h index 585c353..3d667f4 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSErrorAttachmentLog+Utility.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h @@ -1,12 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSErrorAttachmentLog.h" +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif // Exporting symbols for category. -extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; -@interface MSErrorAttachmentLog (Utility) +@interface MSACErrorAttachmentLog (Utility) /** * Create an attachment with a given filename and text. @@ -14,9 +18,9 @@ extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; * @param filename The filename the attachment should get. If nil will get an automatically generated filename. * @param text The attachment text. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ -+ (MSErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; /** * Create an attachment with a given filename and `NSData` object. @@ -25,8 +29,8 @@ extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; * @param data The attachment data as NSData. * @param contentType The content type of your data as MIME type. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ -+ (MSErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h similarity index 78% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSErrorAttachmentLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h index 3ffc3c7..d3482f5 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSErrorAttachmentLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h @@ -3,12 +3,17 @@ #import -#import "MSAbstractLog.h" +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif /** * Error attachment log. */ -@interface MSErrorAttachmentLog : MSAbstractLog +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog /** * Content type (text/plain for text). @@ -32,7 +37,7 @@ * @param data The attachment data as `NSData`. * @param contentType The content type of your data as MIME type. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ - (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; @@ -42,7 +47,7 @@ * @param filename The filename the attachment should get. If nil will get an automatically generated filename. * @param text The attachment text. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ - (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h similarity index 85% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSErrorReport.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h index cf524a2..fb64937 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSErrorReport.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h @@ -3,9 +3,10 @@ #import -@class MSDevice; +@class MSACDevice; -@interface MSErrorReport : NSObject +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject /** * UUID for the crash report. @@ -45,7 +46,7 @@ /** * Device information of the app when it crashed. */ -@property(nonatomic, readonly, strong) MSDevice *device; +@property(nonatomic, readonly, strong) MSACDevice *device; /** * Identifier of the app process that crashed. @@ -59,10 +60,8 @@ * thread for too long, or other reasons. See Apple documentation: * https://developer.apple.com/library/ios/qa/qa1693/_index.html. * - * @return YES if the details represent an app kill instead of a crash. - * - * @see `[MSCrashes didReceiveMemoryWarningInLastSession]` + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` */ -- (BOOL)isAppKill; +@property(nonatomic, readonly) BOOL isAppKill; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h similarity index 53% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSWrapperCrashesHelper.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h index d380ed4..da38a3d 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSWrapperCrashesHelper.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h @@ -3,46 +3,50 @@ #import -#import "MSCrashHandlerSetupDelegate.h" +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif NS_ASSUME_NONNULL_BEGIN -@class MSErrorReport; -@class MSErrorAttachmentLog; -@class MSException; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; /** * This general class allows wrappers to supplement the Crashes SDK with their own behavior. */ -@interface MSWrapperCrashesHelper : NSObject +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject /** - * Sets the crash handler setup delegate. + * The crash handler setup delegate. * - * @param delegate The delegate to set. */ -+ (void)setCrashHandlerSetupDelegate:(id)delegate; +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; /** * Gets the crash handler setup delegate. * + * @deprecated + * * @return The delegate being used by Crashes. */ -+ (id)getCrashHandlerSetupDelegate; ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); /** - * Enables or disables automatic crash processing. - * - * @param automaticProcessing Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. */ -+ (void)setAutomaticProcessing:(BOOL)automaticProcessing; +@property(class, nonatomic) BOOL automaticProcessing; /** * Gets a list of unprocessed crash reports. Will block until the service starts. * * @return An array of unprocessed error reports. */ -+ (NSArray *)unprocessedCrashReports; +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; /** * Resumes processing for a given subset of the unprocessed reports. @@ -59,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN * @param errorAttachments An array of error attachments that should be sent. * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. */ -+ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; /** * Track handled exception directly as model form. @@ -71,9 +75,9 @@ NS_ASSUME_NONNULL_BEGIN * * @return handled error ID. */ -+ (NSString *)trackModelException:(MSException *)exception - withProperties:(nullable NSDictionary *)properties - withAttachments:(nullable NSArray *)attachments; ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; /** * Get a generic error report representation for an handled exception. @@ -83,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return an error report. */ -+ (MSErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..858a529 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module AppCenterCrashes { + umbrella header "AppCenterCrashes.h" + + export * + module * { export * } + + link framework "Foundation" + link "c++" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Resources/Info.plist similarity index 78% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Resources/Info.plist rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Resources/Info.plist index cf47387..f1a1f75 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Resources/Info.plist +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 18G1012 + 19H512 CFBundleDevelopmentRegion English CFBundleExecutable @@ -27,16 +27,22 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 10B61 + 11C505 DTPlatformVersion GM DTSDKBuild - 18B71 + 19B90 DTSDKName - macosx10.14 + macosx10.15 DTXcode - 1010 + 1130 DTXcodeBuild - 10B61 + 11C505 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/AppCenterCrashes new file mode 120000 index 0000000..3ee2274 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/AppCenterCrashes @@ -0,0 +1 @@ +Versions/Current/AppCenterCrashes \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/AppCenterCrashes new file mode 100644 index 0000000..bd966e7 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h new file mode 100644 index 0000000..30d2759 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h new file mode 100644 index 0000000..0a05beb --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. + */ +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate + +@optional + +/** + * Callback method that will be called immediately before crash handlers are set up. + */ +- (void)willSetUpCrashHandlers; + +/** + * Callback method that will be called immediately after crash handlers are set up. + */ +- (void)didSetUpCrashHandlers; + +/** + * Callback method that gets a value indicating whether the SDK should enable an uncaught exception handler. + * + * @return YES if SDK should enable uncaught exception handler, otherwise NO. + * + * @discussion Do not register an UncaughtExceptionHandler for Xamarin as we rely on the Xamarin runtime to report NSExceptions. Registering + * our own UncaughtExceptionHandler will cause the Xamarin debugger to not work properly (it will not stop for NSExceptions). + */ +- (BOOL)shouldEnableUncaughtExceptionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h new file mode 100644 index 0000000..9b24740 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h @@ -0,0 +1,179 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif + +@class MSACCrashesDelegate; + +/** + * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. + * + * @return Returns YES to discard crash reports, otherwise NO. + */ +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); + +/** + * Error Logging status. + */ +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { + + /** + * Crash reporting is disabled. + */ + MSACErrorLogSettingDisabled = 0, + + /** + * User is asked each time before sending error logs. + */ + MSACErrorLogSettingAlwaysAsk = 1, + + /** + * Each error log is send automatically. + */ + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); + +/** + * Crash Manager alert user input. + */ +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { + + /** + * User chose not to send the crash report. + */ + MSACUserConfirmationDontSend = 0, + + /** + * User wants the crash report to be sent. + */ + MSACUserConfirmationSend = 1, + + /** + * User wants to send all error logs. + */ + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); + +@protocol MSACCrashesDelegate; + +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract + +///----------------------------------------------------------------------------- +/// @name Testing Crashes Feature +///----------------------------------------------------------------------------- + +/** + * Lets the app crash for easy testing of the SDK. + * + * The best way to use this is to trigger the crash with a button action. + * + * Make sure not to let the app crash in `applicationDidFinishLaunching` or any other startup method! Since otherwise the app would crash + * before the SDK could process it. + * + * Note that our SDK provides support for handling crashes that happen early on startup. Check the documentation for more information on how + * to use this. + * + * If the SDK detects an App Store environment, it will _NOT_ cause the app to crash! + */ ++ (void)generateTestCrash; + +///----------------------------------------------------------------------------- +/// @name Helpers +///----------------------------------------------------------------------------- + +/** + * Check if the app has crashed in the last session. + * + * @return Returns YES is the app has crashed in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; + +/** + * Check if the app received memory warning in the last session. + * + * @return Returns YES is the app received memory warning in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; + +/** + * Provides details about the crash that occurred in the last app session + */ +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; + +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST +/** + * Callback for report exception. + * + * NOTE: This method should be called only if you explicitly disabled swizzling for it. + * + * On OS X runtime, not all uncaught exceptions end in a custom `NSUncaughtExceptionHandler`. + * Forward exception from overrided `[NSApplication reportException:]` to catch additional exceptions. + */ ++ (void)applicationDidReportException:(NSException *_Nonnull)exception; +#endif + +///----------------------------------------------------------------------------- +/// @name Configuration +///----------------------------------------------------------------------------- + +#if !TARGET_OS_TV +/** + * Disable the Mach exception server. + * + * By default, the SDK uses the Mach exception handler to catch fatal signals, e.g. stack overflows, via a Mach exception server. If you + * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look + * like this: + * + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` + * + * or if you are using Swift: + * + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` + * + * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, + * disabling the Mach exception server is not available in the tvOS SDK. + * + * @discussion It can be useful to disable the Mach exception handler when you are debugging the Crashes service while developing, + * especially when you attach the debugger to your application after launch. + */ ++ (void)disableMachExceptionHandler; +#endif + +/** + * Set the delegate + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. + * + * @see MSACCrashesDelegate + */ +@property(class, nonatomic, weak) id _Nullable delegate; + +/** + * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. + * + * @see MSACUserConfirmationHandler + */ +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; + +/** + * Notify SDK with a confirmation to handle the crash report. + * + * @param userConfirmation A user confirmation. + * + * @see MSACUserConfirmation. + */ ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h new file mode 100644 index 0000000..a5232b2 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate + +@optional + +/** + * Callback method that will be called before processing errors. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. + */ +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); + +/** + * Callback method that will be called before each error will be send to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Use this callback to display custom UI while crashes are sent to the server. + */ +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called after the SDK successfully sent an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center sent. + * + * @discussion Use this method to hide your custom UI. + */ +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called in case the SDK was unable to send an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center tried to send. + * @param error The error that occurred. + */ +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error; + +/** + * Method to get the attachments associated to an error report. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport associated with the returned attachments. + * + * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. + * + * @discussion Implement this method if you want attachments to the given error report. + */ +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h new file mode 100644 index 0000000..3d667f4 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif + +// Exporting symbols for category. +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; + +@interface MSACErrorAttachmentLog (Utility) + +/** + * Create an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; + +/** + * Create an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as NSData. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h new file mode 100644 index 0000000..d3482f5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +/** + * Error attachment log. + */ +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog + +/** + * Content type (text/plain for text). + */ +@property(nonatomic, copy) NSString *contentType; + +/** + * File name. + */ +@property(nonatomic, copy) NSString *filename; + +/** + * The attachment data. + */ +@property(nonatomic, copy) NSData *data; + +/** + * Initialize an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as `NSData`. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; + +/** + * Initialize an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h new file mode 100644 index 0000000..fb64937 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject + +/** + * UUID for the crash report. + */ +@property(nonatomic, copy, readonly) NSString *incidentIdentifier; + +/** + * UUID for the app installation on the device. + */ +@property(nonatomic, copy, readonly) NSString *reporterKey; + +/** + * Signal that caused the crash. + */ +@property(nonatomic, copy, readonly) NSString *signal; + +/** + * Exception name that triggered the crash, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionName; + +/** + * Exception reason, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionReason; + +/** + * Date and time the app started, nil if unknown. + */ +@property(nonatomic, readonly, strong) NSDate *appStartTime; + +/** + * Date and time the error occurred, nil if unknown + */ +@property(nonatomic, readonly, strong) NSDate *appErrorTime; + +/** + * Device information of the app when it crashed. + */ +@property(nonatomic, readonly, strong) MSACDevice *device; + +/** + * Identifier of the app process that crashed. + */ +@property(nonatomic, readonly, assign) NSUInteger appProcessIdentifier; + +/** + * Indicates if the app was killed while being in foreground from the iOS. + * + * This can happen if it consumed too much memory or the watchdog killed the app because it took too long to startup or blocks the main + * thread for too long, or other reasons. See Apple documentation: + * https://developer.apple.com/library/ios/qa/qa1693/_index.html. + * + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` + */ +@property(nonatomic, readonly) BOOL isAppKill; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h new file mode 100644 index 0000000..da38a3d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; + +/** + * This general class allows wrappers to supplement the Crashes SDK with their own behavior. + */ +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject + +/** + * The crash handler setup delegate. + * + */ +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; + +/** + * Gets the crash handler setup delegate. + * + * @deprecated + * + * @return The delegate being used by Crashes. + */ ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); + +/** + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + */ +@property(class, nonatomic) BOOL automaticProcessing; + +/** + * Gets a list of unprocessed crash reports. Will block until the service starts. + * + * @return An array of unprocessed error reports. + */ +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; + +/** + * Resumes processing for a given subset of the unprocessed reports. + * + * @param filteredIds An array containing the errorId/incidentIdentifier of each report that should be sent. + * + * @return YES if should "Always Send" is true. + */ ++ (BOOL)sendCrashReportsOrAwaitUserConfirmationForFilteredIds:(NSArray *)filteredIds; + +/** + * Sends error attachments for a particular error report. + * + * @param errorAttachments An array of error attachments that should be sent. + * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. + */ ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; + +/** + * Track handled exception directly as model form. + * This API is used by wrapper SDKs. + * + * @param exception model form exception. + * @param properties dictionary of properties. + * @param attachments a list of attachments. + * + * @return handled error ID. + */ ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; + +/** + * Get a generic error report representation for an handled exception. + * This API is used by wrapper SDKs. + * + * @param errorID handled error ID. + * + * @return an error report. + */ ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap similarity index 100% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Resources/Info.plist similarity index 83% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Resources/Info.plist rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Resources/Info.plist index cf47387..9bde151 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Resources/Info.plist +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 18G1012 + 19H512 CFBundleDevelopmentRegion English CFBundleExecutable @@ -27,16 +27,18 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 10B61 + 11C505 DTPlatformVersion GM DTSDKBuild - 18B71 + 19B90 DTSDKName - macosx10.14 + macosx10.15 DTXcode - 1010 + 1130 DTXcodeBuild - 10B61 + 11C505 + LSMinimumSystemVersion + 10.9 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/AppCenterCrashes new file mode 100644 index 0000000..6334b2e Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/AppCenterCrashes.h new file mode 100644 index 0000000..30d2759 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h new file mode 100644 index 0000000..0a05beb --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. + */ +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate + +@optional + +/** + * Callback method that will be called immediately before crash handlers are set up. + */ +- (void)willSetUpCrashHandlers; + +/** + * Callback method that will be called immediately after crash handlers are set up. + */ +- (void)didSetUpCrashHandlers; + +/** + * Callback method that gets a value indicating whether the SDK should enable an uncaught exception handler. + * + * @return YES if SDK should enable uncaught exception handler, otherwise NO. + * + * @discussion Do not register an UncaughtExceptionHandler for Xamarin as we rely on the Xamarin runtime to report NSExceptions. Registering + * our own UncaughtExceptionHandler will cause the Xamarin debugger to not work properly (it will not stop for NSExceptions). + */ +- (BOOL)shouldEnableUncaughtExceptionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashes.h new file mode 100644 index 0000000..9b24740 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashes.h @@ -0,0 +1,179 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif + +@class MSACCrashesDelegate; + +/** + * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. + * + * @return Returns YES to discard crash reports, otherwise NO. + */ +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); + +/** + * Error Logging status. + */ +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { + + /** + * Crash reporting is disabled. + */ + MSACErrorLogSettingDisabled = 0, + + /** + * User is asked each time before sending error logs. + */ + MSACErrorLogSettingAlwaysAsk = 1, + + /** + * Each error log is send automatically. + */ + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); + +/** + * Crash Manager alert user input. + */ +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { + + /** + * User chose not to send the crash report. + */ + MSACUserConfirmationDontSend = 0, + + /** + * User wants the crash report to be sent. + */ + MSACUserConfirmationSend = 1, + + /** + * User wants to send all error logs. + */ + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); + +@protocol MSACCrashesDelegate; + +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract + +///----------------------------------------------------------------------------- +/// @name Testing Crashes Feature +///----------------------------------------------------------------------------- + +/** + * Lets the app crash for easy testing of the SDK. + * + * The best way to use this is to trigger the crash with a button action. + * + * Make sure not to let the app crash in `applicationDidFinishLaunching` or any other startup method! Since otherwise the app would crash + * before the SDK could process it. + * + * Note that our SDK provides support for handling crashes that happen early on startup. Check the documentation for more information on how + * to use this. + * + * If the SDK detects an App Store environment, it will _NOT_ cause the app to crash! + */ ++ (void)generateTestCrash; + +///----------------------------------------------------------------------------- +/// @name Helpers +///----------------------------------------------------------------------------- + +/** + * Check if the app has crashed in the last session. + * + * @return Returns YES is the app has crashed in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; + +/** + * Check if the app received memory warning in the last session. + * + * @return Returns YES is the app received memory warning in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; + +/** + * Provides details about the crash that occurred in the last app session + */ +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; + +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST +/** + * Callback for report exception. + * + * NOTE: This method should be called only if you explicitly disabled swizzling for it. + * + * On OS X runtime, not all uncaught exceptions end in a custom `NSUncaughtExceptionHandler`. + * Forward exception from overrided `[NSApplication reportException:]` to catch additional exceptions. + */ ++ (void)applicationDidReportException:(NSException *_Nonnull)exception; +#endif + +///----------------------------------------------------------------------------- +/// @name Configuration +///----------------------------------------------------------------------------- + +#if !TARGET_OS_TV +/** + * Disable the Mach exception server. + * + * By default, the SDK uses the Mach exception handler to catch fatal signals, e.g. stack overflows, via a Mach exception server. If you + * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look + * like this: + * + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` + * + * or if you are using Swift: + * + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` + * + * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, + * disabling the Mach exception server is not available in the tvOS SDK. + * + * @discussion It can be useful to disable the Mach exception handler when you are debugging the Crashes service while developing, + * especially when you attach the debugger to your application after launch. + */ ++ (void)disableMachExceptionHandler; +#endif + +/** + * Set the delegate + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. + * + * @see MSACCrashesDelegate + */ +@property(class, nonatomic, weak) id _Nullable delegate; + +/** + * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. + * + * @see MSACUserConfirmationHandler + */ +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; + +/** + * Notify SDK with a confirmation to handle the crash report. + * + * @param userConfirmation A user confirmation. + * + * @see MSACUserConfirmation. + */ ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h new file mode 100644 index 0000000..a5232b2 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate + +@optional + +/** + * Callback method that will be called before processing errors. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. + */ +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); + +/** + * Callback method that will be called before each error will be send to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Use this callback to display custom UI while crashes are sent to the server. + */ +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called after the SDK successfully sent an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center sent. + * + * @discussion Use this method to hide your custom UI. + */ +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called in case the SDK was unable to send an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center tried to send. + * @param error The error that occurred. + */ +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error; + +/** + * Method to get the attachments associated to an error report. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport associated with the returned attachments. + * + * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. + * + * @discussion Implement this method if you want attachments to the given error report. + */ +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h new file mode 100644 index 0000000..3d667f4 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif + +// Exporting symbols for category. +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; + +@interface MSACErrorAttachmentLog (Utility) + +/** + * Create an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; + +/** + * Create an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as NSData. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h new file mode 100644 index 0000000..d3482f5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +/** + * Error attachment log. + */ +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog + +/** + * Content type (text/plain for text). + */ +@property(nonatomic, copy) NSString *contentType; + +/** + * File name. + */ +@property(nonatomic, copy) NSString *filename; + +/** + * The attachment data. + */ +@property(nonatomic, copy) NSData *data; + +/** + * Initialize an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as `NSData`. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; + +/** + * Initialize an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorReport.h new file mode 100644 index 0000000..fb64937 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorReport.h @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject + +/** + * UUID for the crash report. + */ +@property(nonatomic, copy, readonly) NSString *incidentIdentifier; + +/** + * UUID for the app installation on the device. + */ +@property(nonatomic, copy, readonly) NSString *reporterKey; + +/** + * Signal that caused the crash. + */ +@property(nonatomic, copy, readonly) NSString *signal; + +/** + * Exception name that triggered the crash, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionName; + +/** + * Exception reason, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionReason; + +/** + * Date and time the app started, nil if unknown. + */ +@property(nonatomic, readonly, strong) NSDate *appStartTime; + +/** + * Date and time the error occurred, nil if unknown + */ +@property(nonatomic, readonly, strong) NSDate *appErrorTime; + +/** + * Device information of the app when it crashed. + */ +@property(nonatomic, readonly, strong) MSACDevice *device; + +/** + * Identifier of the app process that crashed. + */ +@property(nonatomic, readonly, assign) NSUInteger appProcessIdentifier; + +/** + * Indicates if the app was killed while being in foreground from the iOS. + * + * This can happen if it consumed too much memory or the watchdog killed the app because it took too long to startup or blocks the main + * thread for too long, or other reasons. See Apple documentation: + * https://developer.apple.com/library/ios/qa/qa1693/_index.html. + * + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` + */ +@property(nonatomic, readonly) BOOL isAppKill; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h new file mode 100644 index 0000000..da38a3d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; + +/** + * This general class allows wrappers to supplement the Crashes SDK with their own behavior. + */ +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject + +/** + * The crash handler setup delegate. + * + */ +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; + +/** + * Gets the crash handler setup delegate. + * + * @deprecated + * + * @return The delegate being used by Crashes. + */ ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); + +/** + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + */ +@property(class, nonatomic) BOOL automaticProcessing; + +/** + * Gets a list of unprocessed crash reports. Will block until the service starts. + * + * @return An array of unprocessed error reports. + */ +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; + +/** + * Resumes processing for a given subset of the unprocessed reports. + * + * @param filteredIds An array containing the errorId/incidentIdentifier of each report that should be sent. + * + * @return YES if should "Always Send" is true. + */ ++ (BOOL)sendCrashReportsOrAwaitUserConfirmationForFilteredIds:(NSArray *)filteredIds; + +/** + * Sends error attachments for a particular error report. + * + * @param errorAttachments An array of error attachments that should be sent. + * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. + */ ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; + +/** + * Track handled exception directly as model form. + * This API is used by wrapper SDKs. + * + * @param exception model form exception. + * @param properties dictionary of properties. + * @param attachments a list of attachments. + * + * @return handled error ID. + */ ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; + +/** + * Get a generic error report representation for an handled exception. + * This API is used by wrapper SDKs. + * + * @param errorID handled error ID. + * + * @return an error report. + */ ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Info.plist new file mode 100644 index 0000000..ab38635 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Modules/module.modulemap new file mode 100644 index 0000000..858a529 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module AppCenterCrashes { + umbrella header "AppCenterCrashes.h" + + export * + module * { export * } + + link framework "Foundation" + link "c++" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes new file mode 100644 index 0000000..93d8d1c Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h new file mode 100644 index 0000000..30d2759 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h new file mode 100644 index 0000000..0a05beb --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. + */ +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate + +@optional + +/** + * Callback method that will be called immediately before crash handlers are set up. + */ +- (void)willSetUpCrashHandlers; + +/** + * Callback method that will be called immediately after crash handlers are set up. + */ +- (void)didSetUpCrashHandlers; + +/** + * Callback method that gets a value indicating whether the SDK should enable an uncaught exception handler. + * + * @return YES if SDK should enable uncaught exception handler, otherwise NO. + * + * @discussion Do not register an UncaughtExceptionHandler for Xamarin as we rely on the Xamarin runtime to report NSExceptions. Registering + * our own UncaughtExceptionHandler will cause the Xamarin debugger to not work properly (it will not stop for NSExceptions). + */ +- (BOOL)shouldEnableUncaughtExceptionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h new file mode 100644 index 0000000..9b24740 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h @@ -0,0 +1,179 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif + +@class MSACCrashesDelegate; + +/** + * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. + * + * @return Returns YES to discard crash reports, otherwise NO. + */ +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); + +/** + * Error Logging status. + */ +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { + + /** + * Crash reporting is disabled. + */ + MSACErrorLogSettingDisabled = 0, + + /** + * User is asked each time before sending error logs. + */ + MSACErrorLogSettingAlwaysAsk = 1, + + /** + * Each error log is send automatically. + */ + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); + +/** + * Crash Manager alert user input. + */ +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { + + /** + * User chose not to send the crash report. + */ + MSACUserConfirmationDontSend = 0, + + /** + * User wants the crash report to be sent. + */ + MSACUserConfirmationSend = 1, + + /** + * User wants to send all error logs. + */ + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); + +@protocol MSACCrashesDelegate; + +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract + +///----------------------------------------------------------------------------- +/// @name Testing Crashes Feature +///----------------------------------------------------------------------------- + +/** + * Lets the app crash for easy testing of the SDK. + * + * The best way to use this is to trigger the crash with a button action. + * + * Make sure not to let the app crash in `applicationDidFinishLaunching` or any other startup method! Since otherwise the app would crash + * before the SDK could process it. + * + * Note that our SDK provides support for handling crashes that happen early on startup. Check the documentation for more information on how + * to use this. + * + * If the SDK detects an App Store environment, it will _NOT_ cause the app to crash! + */ ++ (void)generateTestCrash; + +///----------------------------------------------------------------------------- +/// @name Helpers +///----------------------------------------------------------------------------- + +/** + * Check if the app has crashed in the last session. + * + * @return Returns YES is the app has crashed in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; + +/** + * Check if the app received memory warning in the last session. + * + * @return Returns YES is the app received memory warning in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; + +/** + * Provides details about the crash that occurred in the last app session + */ +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; + +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST +/** + * Callback for report exception. + * + * NOTE: This method should be called only if you explicitly disabled swizzling for it. + * + * On OS X runtime, not all uncaught exceptions end in a custom `NSUncaughtExceptionHandler`. + * Forward exception from overrided `[NSApplication reportException:]` to catch additional exceptions. + */ ++ (void)applicationDidReportException:(NSException *_Nonnull)exception; +#endif + +///----------------------------------------------------------------------------- +/// @name Configuration +///----------------------------------------------------------------------------- + +#if !TARGET_OS_TV +/** + * Disable the Mach exception server. + * + * By default, the SDK uses the Mach exception handler to catch fatal signals, e.g. stack overflows, via a Mach exception server. If you + * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look + * like this: + * + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` + * + * or if you are using Swift: + * + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` + * + * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, + * disabling the Mach exception server is not available in the tvOS SDK. + * + * @discussion It can be useful to disable the Mach exception handler when you are debugging the Crashes service while developing, + * especially when you attach the debugger to your application after launch. + */ ++ (void)disableMachExceptionHandler; +#endif + +/** + * Set the delegate + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. + * + * @see MSACCrashesDelegate + */ +@property(class, nonatomic, weak) id _Nullable delegate; + +/** + * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. + * + * @see MSACUserConfirmationHandler + */ +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; + +/** + * Notify SDK with a confirmation to handle the crash report. + * + * @param userConfirmation A user confirmation. + * + * @see MSACUserConfirmation. + */ ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h new file mode 100644 index 0000000..a5232b2 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate + +@optional + +/** + * Callback method that will be called before processing errors. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. + */ +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); + +/** + * Callback method that will be called before each error will be send to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Use this callback to display custom UI while crashes are sent to the server. + */ +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called after the SDK successfully sent an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center sent. + * + * @discussion Use this method to hide your custom UI. + */ +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called in case the SDK was unable to send an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center tried to send. + * @param error The error that occurred. + */ +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error; + +/** + * Method to get the attachments associated to an error report. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport associated with the returned attachments. + * + * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. + * + * @discussion Implement this method if you want attachments to the given error report. + */ +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h new file mode 100644 index 0000000..3d667f4 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif + +// Exporting symbols for category. +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; + +@interface MSACErrorAttachmentLog (Utility) + +/** + * Create an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; + +/** + * Create an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as NSData. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h new file mode 100644 index 0000000..d3482f5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +/** + * Error attachment log. + */ +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog + +/** + * Content type (text/plain for text). + */ +@property(nonatomic, copy) NSString *contentType; + +/** + * File name. + */ +@property(nonatomic, copy) NSString *filename; + +/** + * The attachment data. + */ +@property(nonatomic, copy) NSData *data; + +/** + * Initialize an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as `NSData`. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; + +/** + * Initialize an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h new file mode 100644 index 0000000..fb64937 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject + +/** + * UUID for the crash report. + */ +@property(nonatomic, copy, readonly) NSString *incidentIdentifier; + +/** + * UUID for the app installation on the device. + */ +@property(nonatomic, copy, readonly) NSString *reporterKey; + +/** + * Signal that caused the crash. + */ +@property(nonatomic, copy, readonly) NSString *signal; + +/** + * Exception name that triggered the crash, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionName; + +/** + * Exception reason, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionReason; + +/** + * Date and time the app started, nil if unknown. + */ +@property(nonatomic, readonly, strong) NSDate *appStartTime; + +/** + * Date and time the error occurred, nil if unknown + */ +@property(nonatomic, readonly, strong) NSDate *appErrorTime; + +/** + * Device information of the app when it crashed. + */ +@property(nonatomic, readonly, strong) MSACDevice *device; + +/** + * Identifier of the app process that crashed. + */ +@property(nonatomic, readonly, assign) NSUInteger appProcessIdentifier; + +/** + * Indicates if the app was killed while being in foreground from the iOS. + * + * This can happen if it consumed too much memory or the watchdog killed the app because it took too long to startup or blocks the main + * thread for too long, or other reasons. See Apple documentation: + * https://developer.apple.com/library/ios/qa/qa1693/_index.html. + * + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` + */ +@property(nonatomic, readonly) BOOL isAppKill; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h new file mode 100644 index 0000000..da38a3d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; + +/** + * This general class allows wrappers to supplement the Crashes SDK with their own behavior. + */ +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject + +/** + * The crash handler setup delegate. + * + */ +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; + +/** + * Gets the crash handler setup delegate. + * + * @deprecated + * + * @return The delegate being used by Crashes. + */ ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); + +/** + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + */ +@property(class, nonatomic) BOOL automaticProcessing; + +/** + * Gets a list of unprocessed crash reports. Will block until the service starts. + * + * @return An array of unprocessed error reports. + */ +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; + +/** + * Resumes processing for a given subset of the unprocessed reports. + * + * @param filteredIds An array containing the errorId/incidentIdentifier of each report that should be sent. + * + * @return YES if should "Always Send" is true. + */ ++ (BOOL)sendCrashReportsOrAwaitUserConfirmationForFilteredIds:(NSArray *)filteredIds; + +/** + * Sends error attachments for a particular error report. + * + * @param errorAttachments An array of error attachments that should be sent. + * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. + */ ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; + +/** + * Track handled exception directly as model form. + * This API is used by wrapper SDKs. + * + * @param exception model form exception. + * @param properties dictionary of properties. + * @param attachments a list of attachments. + * + * @return handled error ID. + */ ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; + +/** + * Get a generic error report representation for an handled exception. + * This API is used by wrapper SDKs. + * + * @param errorID handled error ID. + * + * @return an error report. + */ ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Info.plist new file mode 100644 index 0000000..5effdce Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap new file mode 100644 index 0000000..858a529 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module AppCenterCrashes { + umbrella header "AppCenterCrashes.h" + + export * + module * { export * } + + link framework "Foundation" + link "c++" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..129b224 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..1ca19c9 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..a4ba148 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources @@ -0,0 +1,237 @@ + + + + + files + + Headers/AppCenterCrashes.h + + eS1L4vZ9uOJZWtS26mqGyfAfCvE= + + Headers/MSACCrashHandlerSetupDelegate.h + + uzF7JXTLqzHmtvY1P75OKDVr5eA= + + Headers/MSACCrashes.h + + eHC+/SrZ0R08kZxHQSoVyQf+vCo= + + Headers/MSACCrashesDelegate.h + + czYUE2OOoD3lc+2UHRPFMakb0jQ= + + Headers/MSACErrorAttachmentLog+Utility.h + + ckZsMUyucVQ1SglcnBVzx7JxiOg= + + Headers/MSACErrorAttachmentLog.h + + dMy2azn9T1iXSiDDZer3HSNemjc= + + Headers/MSACErrorReport.h + + OZkejnc70UL+wPdiV8fw2UAcBR0= + + Headers/MSACWrapperCrashesHelper.h + + hOnzBmQWDawGfE7ml3y93JiamCw= + + Info.plist + + TWWSwPydXjdPW8nKdj89y5V1nwc= + + Modules/module.modulemap + + GcHl2+DKz5+ccrOUhvzEQR/7ph8= + + + files2 + + Headers/AppCenterCrashes.h + + hash + + eS1L4vZ9uOJZWtS26mqGyfAfCvE= + + hash2 + + NFGxm6YjpGCjJNEfjv5SM7MyktNj/PHvSXflRV/5FPQ= + + + Headers/MSACCrashHandlerSetupDelegate.h + + hash + + uzF7JXTLqzHmtvY1P75OKDVr5eA= + + hash2 + + VFNM3t9XTyOH2PM7hKUjHlq+mSBtYie1QqWzP4Y/X2Y= + + + Headers/MSACCrashes.h + + hash + + eHC+/SrZ0R08kZxHQSoVyQf+vCo= + + hash2 + + y7g3W+WahfsOp6fIuAPSEK9JbhjeFSzuTLIVlH5ij2o= + + + Headers/MSACCrashesDelegate.h + + hash + + czYUE2OOoD3lc+2UHRPFMakb0jQ= + + hash2 + + XWIFycuL8uPuweg15Kuzu0MAYjRG7O7p0VyVRzG0Ay0= + + + Headers/MSACErrorAttachmentLog+Utility.h + + hash + + ckZsMUyucVQ1SglcnBVzx7JxiOg= + + hash2 + + 1rzGYpSxmqx0iwrRdYi3QVDTPYeSHeJ98Rc12R2qAyk= + + + Headers/MSACErrorAttachmentLog.h + + hash + + dMy2azn9T1iXSiDDZer3HSNemjc= + + hash2 + + vK9kyTt1KPC2TzzlnqLJlPp8CAel2LBSWTTYc55owTw= + + + Headers/MSACErrorReport.h + + hash + + OZkejnc70UL+wPdiV8fw2UAcBR0= + + hash2 + + Ph0QprvD6QWBekvlfshUpVdljO98TuiI8PRbZO/MB0Y= + + + Headers/MSACWrapperCrashesHelper.h + + hash + + hOnzBmQWDawGfE7ml3y93JiamCw= + + hash2 + + dlGy++pjkWr8/y3Lw/UjWLU1uyIibB55gFuXhI7YdcM= + + + Modules/module.modulemap + + hash + + GcHl2+DKz5+ccrOUhvzEQR/7ph8= + + hash2 + + H27O4QPsA81Fgd3E2EpY562XQeivkHXpLp46tsiqAD8= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/LICENSE b/Pods/AppCenter/AppCenter-SDK-Apple/LICENSE similarity index 100% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/LICENSE rename to Pods/AppCenter/AppCenter-SDK-Apple/LICENSE diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/README.md b/Pods/AppCenter/AppCenter-SDK-Apple/README.md similarity index 63% rename from Pods/AppCenter/AppCenter-SDK-Apple/macOS/README.md rename to Pods/AppCenter/AppCenter-SDK-Apple/README.md index 7690379..fc8690a 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/README.md +++ b/Pods/AppCenter/AppCenter-SDK-Apple/README.md @@ -16,12 +16,6 @@ The App Center SDK uses a modular architecture so you can use any or all of the 3. **App Center Distribute**: App Center Distribute lets your users install a new version of the app when you distribute it with App Center. With a new version of the app available, the SDK will present an update dialog to the users to either download or postpone the new version. Once they choose to update, the SDK will start to update your application. This feature is automatically disabled on versions of your app deployed to the Apple App Store. **Not available for macOS and tvOS*. -4. **App Center Push**: App Center Push enables you to send push notifications to users of your app from the App Center portal. You can also segment your user base based on a set of properties and send them targeted notifications. **Not available for tvOS*. - -5. **App Center Data**: The App Center Data service provides functionality enabling developers to persist app data in the cloud in both online and offline scenarios. This enables you to store and manage both user-specific data as well as data shared between users and across platforms. **Not available for macOS and tvOS*. - -6. **App Center Auth**: App Center Auth is a cloud-based identity management service that enables developers to authenticate application users and manage user identities. The service integrates with other parts of App Center, enabling developers to leverage the user identity to view user data in other services and even send push notifications to users instead of individual devices. **Not available for macOS and tvOS*. - ## 1. Get started It is super easy to use App Center. Have a look at our [get started documentation](https://docs.microsoft.com/en-us/appcenter/sdk/getting-started/ios) and onboard your app within minutes. Our [detailed documentation](https://docs.microsoft.com/en-us/appcenter/sdk/) is available as well. @@ -30,12 +24,6 @@ It is super easy to use App Center. Have a look at our [get started documentatio We are looking forward to your contributions via pull requests. -To contribute to the SDK, please - -* install Xcode 10.1 on your Mac. -* install [Jazzy](https://github.com/realm/jazzy) to be able to generate documentation. -* install `clang-format` for code formatting via [Homebrew](https://brew.sh) using the command `brew install clang-format`. - ### 2.1 Code of Conduct This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. @@ -44,22 +32,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope You must sign a [Contributor License Agreement](https://cla.microsoft.com/) before submitting your pull request. To complete the Contributor License Agreement (CLA), you will need to submit a request via the [form](https://cla.microsoft.com/) and then electronically sign the CLA when you receive the email containing the link to the document. You need to sign the CLA only once to cover submission to any Microsoft OSS project. -### 2.3 Checking out the repository - -App Center Auth has a dependency on [Microsoft Authentication Library](https://github.com/AzureAD/microsoft-authentication-library-for-objc) as a git submodule. Use below command to clone App Center Apple SDK repository or update the repository if you have already cloned it. - -``` -git clone --recursive https://github.com/microsoft/appcenter-sdk-apple -``` - -``` -git submodule update --init --recursive -``` - -### 2.4 Code Formatting - -All Objective-C files follow LLVM coding style (with a few exceptions) and are formatted accordingly. To format your changes, make sure you have the `clang-format` tool. It can be installed with [Homebrew](https://brew.sh) using the command `brew install clang-format`. Once you have installed `clang-format`, run `./clang-format-changed-files.sh` from the repository root - this will format all files that have changes against the remote `develop` branch (it will also perform a `git fetch`). - ## 3. Contact ### 3.1 Support diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/AppCenter deleted file mode 100644 index 1e40b4b..0000000 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/AppCenter and /dev/null differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/AppCenter.h deleted file mode 100644 index 6ff9d88..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/AppCenter.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSAbstractLog.h" -#import "MSAppCenter.h" -#import "MSAppCenterErrors.h" -#import "MSChannelGroupProtocol.h" -#import "MSChannelProtocol.h" -#import "MSConstants.h" -#import "MSCustomProperties.h" -#import "MSDevice.h" -#import "MSEnable.h" -#import "MSLog.h" -#import "MSLogWithProperties.h" -#import "MSLogger.h" -#import "MSService.h" -#import "MSServiceAbstract.h" -#import "MSWrapperLogger.h" -#import "MSWrapperSdk.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSAppCenterErrors.h deleted file mode 100644 index e57cf92..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSAppCenterErrors.h +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_APP_CENTER_ERRORS_H -#define MS_APP_CENTER_ERRORS_H - -#import - -#define MS_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Domain - -static NSString *const kMSACErrorDomain = MS_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; - -#pragma mark - General - -// Error codes. -NS_ENUM(NSInteger){MSACLogInvalidContainerErrorCode = 1, MSACCanceledErrorCode = 2, MSACDisabledErrorCode = 3}; - -// Error descriptions. -static NSString const *kMSACLogInvalidContainerErrorDesc = @"Invalid log container."; -static NSString const *kMSACCanceledErrorDesc = @"The operation was canceled."; -static NSString const *kMSACDisabledErrorDesc = @"The service is disabled."; - -#pragma mark - Connection - -// Error codes. -NS_ENUM(NSInteger){MSACConnectionPausedErrorCode = 100, MSACConnectionHttpErrorCode = 101}; - -// Error descriptions. -static NSString const *kMSACConnectionHttpErrorDesc = @"An HTTP error occured."; -static NSString const *kMSACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; - -// Error user info keys. -static NSString const *kMSACConnectionHttpCodeErrorKey = @"MSACConnectionHttpCode"; - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSChannelGroupProtocol.h deleted file mode 100644 index b786ff0..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSChannelGroupProtocol.h +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_CHANNEL_GROUP_PROTOCOL_H -#define MS_CHANNEL_GROUP_PROTOCOL_H - -#import - -#import "MSChannelProtocol.h" - -NS_ASSUME_NONNULL_BEGIN - -@class MSChannelUnitConfiguration; - -@protocol MSIngestionProtocol; -@protocol MSChannelUnitProtocol; - -/** - * `MSChannelGroupProtocol` represents a kind of channel that contains constituent MSChannelUnit objects. When an operation from the - * `MSChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSChannelUnit objects. - */ -@protocol MSChannelGroupProtocol - -/** - * Initialize a channel unit with the given configuration. - * - * @param configuration channel configuration. - * - * @return The added `MSChannelUnitProtocol`. Use this object to enqueue logs. - */ -- (id)addChannelUnitWithConfiguration:(MSChannelUnitConfiguration *)configuration; - -/** - * Initialize a channel unit with the given configuration. - * - * @param configuration channel configuration. - * @param ingestion The alternative ingestion object - * - * @return The added `MSChannelUnitProtocol`. Use this object to enqueue logs. - */ -- (id)addChannelUnitWithConfiguration:(MSChannelUnitConfiguration *)configuration - withIngestion:(nullable id)ingestion; - -/** - * Change the base URL (schema + authority + port only) used to communicate with the backend. - * - * @param logUrl base URL to use for backend communication. - */ -- (void)setLogUrl:(NSString *)logUrl; - -/** - * Set the app secret. - * - * @param appSecret The app secret. - */ -- (void)setAppSecret:(NSString *)appSecret; - -/** - * Set the maximum size of the internal storage. This method must be called before App Center is started. - * - * @discussion The default maximum database size is 10485760 bytes (10 MiB). - * - * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size - * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. - * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size - * is successful, and `NO` otherwise. - */ -- (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(nullable void (^)(BOOL))completionHandler; - -/** - * Return a channel unit instance for the given groupId. - * - * @param groupId The group ID for a channel unit. - * - * @return A channel unit instance or `nil`. - */ -- (id)channelUnitForGroupId:(NSString *)groupId; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSConstants.h deleted file mode 100644 index 047c9f7..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSConstants.h +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -/** - * Log Levels - */ -typedef NS_ENUM(NSUInteger, MSLogLevel) { - - /** - * Logging will be very chatty - */ - MSLogLevelVerbose = 2, - - /** - * Debug information will be logged - */ - MSLogLevelDebug = 3, - - /** - * Information will be logged - */ - MSLogLevelInfo = 4, - - /** - * Errors and warnings will be logged - */ - MSLogLevelWarning = 5, - - /** - * Errors will be logged - */ - MSLogLevelError = 6, - - /** - * Only critical errors will be logged - */ - MSLogLevelAssert = 7, - - /** - * Logging is disabled - */ - MSLogLevelNone = 99 -}; - -typedef NSString * (^MSLogMessageProvider)(void); -typedef void (^MSLogHandler)(MSLogMessageProvider messageProvider, MSLogLevel logLevel, NSString *tag, const char *file, - const char *function, uint line); - -/** - * Channel priorities, check the kMSPriorityCount if you add a new value. - * The order matters here! Values NEED to range from low priority to high priority. - */ -typedef NS_ENUM(NSInteger, MSPriority) { MSPriorityBackground, MSPriorityDefault, MSPriorityHigh }; -static short const kMSPriorityCount = MSPriorityHigh + 1; - -/** - * The priority by which the modules are initialized. - * MSPriorityMax is reserved for only 1 module and this needs to be Crashes. - * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing - * any log at crash time. - */ -typedef NS_ENUM(NSInteger, MSInitializationPriority) { - MSInitializationPriorityDefault = 500, - MSInitializationPriorityHigh = 750, - MSInitializationPriorityMax = 999 -}; - -/** - * Enum with the different HTTP status codes. - */ -typedef NS_ENUM(NSInteger, MSHTTPCodesNo) { - - // Invalid - MSHTTPCodesNo0XXInvalidUnknown = 0, - - // Informational - MSHTTPCodesNo1XXInformationalUnknown = 1, - MSHTTPCodesNo100Continue = 100, - MSHTTPCodesNo101SwitchingProtocols = 101, - MSHTTPCodesNo102Processing = 102, - - // Success - MSHTTPCodesNo2XXSuccessUnknown = 2, - MSHTTPCodesNo200OK = 200, - MSHTTPCodesNo201Created = 201, - MSHTTPCodesNo202Accepted = 202, - MSHTTPCodesNo203NonAuthoritativeInformation = 203, - MSHTTPCodesNo204NoContent = 204, - MSHTTPCodesNo205ResetContent = 205, - MSHTTPCodesNo206PartialContent = 206, - MSHTTPCodesNo207MultiStatus = 207, - MSHTTPCodesNo208AlreadyReported = 208, - MSHTTPCodesNo209IMUsed = 209, - - // Redirection - MSHTTPCodesNo3XXSuccessUnknown = 3, - MSHTTPCodesNo300MultipleChoices = 300, - MSHTTPCodesNo301MovedPermanently = 301, - MSHTTPCodesNo302Found = 302, - MSHTTPCodesNo303SeeOther = 303, - MSHTTPCodesNo304NotModified = 304, - MSHTTPCodesNo305UseProxy = 305, - MSHTTPCodesNo306SwitchProxy = 306, - MSHTTPCodesNo307TemporaryRedirect = 307, - MSHTTPCodesNo308PermanentRedirect = 308, - - // Client error - MSHTTPCodesNo4XXSuccessUnknown = 4, - MSHTTPCodesNo400BadRequest = 400, - MSHTTPCodesNo401Unauthorised = 401, - MSHTTPCodesNo402PaymentRequired = 402, - MSHTTPCodesNo403Forbidden = 403, - MSHTTPCodesNo404NotFound = 404, - MSHTTPCodesNo405MethodNotAllowed = 405, - MSHTTPCodesNo406NotAcceptable = 406, - MSHTTPCodesNo407ProxyAuthenticationRequired = 407, - MSHTTPCodesNo408RequestTimeout = 408, - MSHTTPCodesNo409Conflict = 409, - MSHTTPCodesNo410Gone = 410, - MSHTTPCodesNo411LengthRequired = 411, - MSHTTPCodesNo412PreconditionFailed = 412, - MSHTTPCodesNo413RequestEntityTooLarge = 413, - MSHTTPCodesNo414RequestURITooLong = 414, - MSHTTPCodesNo415UnsupportedMediaType = 415, - MSHTTPCodesNo416RequestedRangeNotSatisfiable = 416, - MSHTTPCodesNo417ExpectationFailed = 417, - MSHTTPCodesNo418IamATeapot = 418, - MSHTTPCodesNo419AuthenticationTimeout = 419, - MSHTTPCodesNo420MethodFailureSpringFramework = 420, - MSHTTPCodesNo420EnhanceYourCalmTwitter = 4200, - MSHTTPCodesNo422UnprocessableEntity = 422, - MSHTTPCodesNo423Locked = 423, - MSHTTPCodesNo424FailedDependency = 424, - MSHTTPCodesNo424MethodFailureWebDaw = 4240, - MSHTTPCodesNo425UnorderedCollection = 425, - MSHTTPCodesNo426UpgradeRequired = 426, - MSHTTPCodesNo428PreconditionRequired = 428, - MSHTTPCodesNo429TooManyRequests = 429, - MSHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, - MSHTTPCodesNo444NoResponseNginx = 444, - MSHTTPCodesNo449RetryWithMicrosoft = 449, - MSHTTPCodesNo450BlockedByWindowsParentalControls = 450, - MSHTTPCodesNo451RedirectMicrosoft = 451, - MSHTTPCodesNo451UnavailableForLegalReasons = 4510, - MSHTTPCodesNo494RequestHeaderTooLargeNginx = 494, - MSHTTPCodesNo495CertErrorNginx = 495, - MSHTTPCodesNo496NoCertNginx = 496, - MSHTTPCodesNo497HTTPToHTTPSNginx = 497, - MSHTTPCodesNo499ClientClosedRequestNginx = 499, - - // Server error - MSHTTPCodesNo5XXSuccessUnknown = 5, - MSHTTPCodesNo500InternalServerError = 500, - MSHTTPCodesNo501NotImplemented = 501, - MSHTTPCodesNo502BadGateway = 502, - MSHTTPCodesNo503ServiceUnavailable = 503, - MSHTTPCodesNo504GatewayTimeout = 504, - MSHTTPCodesNo505HTTPVersionNotSupported = 505, - MSHTTPCodesNo506VariantAlsoNegotiates = 506, - MSHTTPCodesNo507InsufficientStorage = 507, - MSHTTPCodesNo508LoopDetected = 508, - MSHTTPCodesNo509BandwidthLimitExceeded = 509, - MSHTTPCodesNo510NotExtended = 510, - MSHTTPCodesNo511NetworkAuthenticationRequired = 511, - MSHTTPCodesNo522ConnectionTimedOut = 522, - MSHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, - MSHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSLogger.h deleted file mode 100644 index 7eb5c3b..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSLogger.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSConstants.h" - -#define MSLog(_level, _tag, _message) \ - [MSLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] -#define MSLogAssert(tag, format, ...) \ - MSLog(MSLogLevelAssert, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogError(tag, format, ...) \ - MSLog(MSLogLevelError, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogWarning(tag, format, ...) \ - MSLog(MSLogLevelWarning, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogInfo(tag, format, ...) \ - MSLog(MSLogLevelInfo, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogDebug(tag, format, ...) \ - MSLog(MSLogLevelDebug, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogVerbose(tag, format, ...) \ - MSLog(MSLogLevelVerbose, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) - -@interface MSLogger : NSObject - -+ (void)logMessage:(MSLogMessageProvider)messageProvider - level:(MSLogLevel)loglevel - tag:(NSString *)tag - file:(const char *)file - function:(const char *)function - line:(uint)line; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSService.h deleted file mode 100644 index 59997b8..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/PrivateHeaders/MSConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/PrivateHeaders/MSConstants+Flags.h deleted file mode 100644 index 0634d16..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/PrivateHeaders/MSConstants+Flags.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -typedef NS_OPTIONS(NSUInteger, MSFlags) { - MSFlagsNone = (0 << 0), // => 00000000 - MSFlagsNormal = (1 << 0), // => 00000001 - MSFlagsCritical = (1 << 1), // => 00000010 - MSFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsNormal") = MSFlagsNormal, - MSFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsCritical") = MSFlagsCritical, - MSFlagsDefault = MSFlagsNormal -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Resources/Info.plist deleted file mode 100644 index 5799388..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Resources/Info.plist +++ /dev/null @@ -1,42 +0,0 @@ - - - - - BuildMachineOSBuild - 18G1012 - CFBundleDevelopmentRegion - English - CFBundleExecutable - AppCenter - CFBundleIdentifier - com.microsoft.appcenter - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - AppCenter - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1 - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1.0 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 10B61 - DTPlatformVersion - GM - DTSDKBuild - 18B71 - DTSDKName - macosx10.14 - DTXcode - 1010 - DTXcodeBuild - 10B61 - - diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/AppCenter deleted file mode 100644 index 1e40b4b..0000000 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/AppCenter and /dev/null differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/AppCenter.h deleted file mode 100644 index 6ff9d88..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/AppCenter.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSAbstractLog.h" -#import "MSAppCenter.h" -#import "MSAppCenterErrors.h" -#import "MSChannelGroupProtocol.h" -#import "MSChannelProtocol.h" -#import "MSConstants.h" -#import "MSCustomProperties.h" -#import "MSDevice.h" -#import "MSEnable.h" -#import "MSLog.h" -#import "MSLogWithProperties.h" -#import "MSLogger.h" -#import "MSService.h" -#import "MSServiceAbstract.h" -#import "MSWrapperLogger.h" -#import "MSWrapperSdk.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSAppCenterErrors.h deleted file mode 100644 index e57cf92..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSAppCenterErrors.h +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_APP_CENTER_ERRORS_H -#define MS_APP_CENTER_ERRORS_H - -#import - -#define MS_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Domain - -static NSString *const kMSACErrorDomain = MS_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; - -#pragma mark - General - -// Error codes. -NS_ENUM(NSInteger){MSACLogInvalidContainerErrorCode = 1, MSACCanceledErrorCode = 2, MSACDisabledErrorCode = 3}; - -// Error descriptions. -static NSString const *kMSACLogInvalidContainerErrorDesc = @"Invalid log container."; -static NSString const *kMSACCanceledErrorDesc = @"The operation was canceled."; -static NSString const *kMSACDisabledErrorDesc = @"The service is disabled."; - -#pragma mark - Connection - -// Error codes. -NS_ENUM(NSInteger){MSACConnectionPausedErrorCode = 100, MSACConnectionHttpErrorCode = 101}; - -// Error descriptions. -static NSString const *kMSACConnectionHttpErrorDesc = @"An HTTP error occured."; -static NSString const *kMSACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; - -// Error user info keys. -static NSString const *kMSACConnectionHttpCodeErrorKey = @"MSACConnectionHttpCode"; - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSChannelGroupProtocol.h deleted file mode 100644 index b786ff0..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSChannelGroupProtocol.h +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_CHANNEL_GROUP_PROTOCOL_H -#define MS_CHANNEL_GROUP_PROTOCOL_H - -#import - -#import "MSChannelProtocol.h" - -NS_ASSUME_NONNULL_BEGIN - -@class MSChannelUnitConfiguration; - -@protocol MSIngestionProtocol; -@protocol MSChannelUnitProtocol; - -/** - * `MSChannelGroupProtocol` represents a kind of channel that contains constituent MSChannelUnit objects. When an operation from the - * `MSChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSChannelUnit objects. - */ -@protocol MSChannelGroupProtocol - -/** - * Initialize a channel unit with the given configuration. - * - * @param configuration channel configuration. - * - * @return The added `MSChannelUnitProtocol`. Use this object to enqueue logs. - */ -- (id)addChannelUnitWithConfiguration:(MSChannelUnitConfiguration *)configuration; - -/** - * Initialize a channel unit with the given configuration. - * - * @param configuration channel configuration. - * @param ingestion The alternative ingestion object - * - * @return The added `MSChannelUnitProtocol`. Use this object to enqueue logs. - */ -- (id)addChannelUnitWithConfiguration:(MSChannelUnitConfiguration *)configuration - withIngestion:(nullable id)ingestion; - -/** - * Change the base URL (schema + authority + port only) used to communicate with the backend. - * - * @param logUrl base URL to use for backend communication. - */ -- (void)setLogUrl:(NSString *)logUrl; - -/** - * Set the app secret. - * - * @param appSecret The app secret. - */ -- (void)setAppSecret:(NSString *)appSecret; - -/** - * Set the maximum size of the internal storage. This method must be called before App Center is started. - * - * @discussion The default maximum database size is 10485760 bytes (10 MiB). - * - * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size - * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. - * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size - * is successful, and `NO` otherwise. - */ -- (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(nullable void (^)(BOOL))completionHandler; - -/** - * Return a channel unit instance for the given groupId. - * - * @param groupId The group ID for a channel unit. - * - * @return A channel unit instance or `nil`. - */ -- (id)channelUnitForGroupId:(NSString *)groupId; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSConstants.h deleted file mode 100644 index 047c9f7..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSConstants.h +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -/** - * Log Levels - */ -typedef NS_ENUM(NSUInteger, MSLogLevel) { - - /** - * Logging will be very chatty - */ - MSLogLevelVerbose = 2, - - /** - * Debug information will be logged - */ - MSLogLevelDebug = 3, - - /** - * Information will be logged - */ - MSLogLevelInfo = 4, - - /** - * Errors and warnings will be logged - */ - MSLogLevelWarning = 5, - - /** - * Errors will be logged - */ - MSLogLevelError = 6, - - /** - * Only critical errors will be logged - */ - MSLogLevelAssert = 7, - - /** - * Logging is disabled - */ - MSLogLevelNone = 99 -}; - -typedef NSString * (^MSLogMessageProvider)(void); -typedef void (^MSLogHandler)(MSLogMessageProvider messageProvider, MSLogLevel logLevel, NSString *tag, const char *file, - const char *function, uint line); - -/** - * Channel priorities, check the kMSPriorityCount if you add a new value. - * The order matters here! Values NEED to range from low priority to high priority. - */ -typedef NS_ENUM(NSInteger, MSPriority) { MSPriorityBackground, MSPriorityDefault, MSPriorityHigh }; -static short const kMSPriorityCount = MSPriorityHigh + 1; - -/** - * The priority by which the modules are initialized. - * MSPriorityMax is reserved for only 1 module and this needs to be Crashes. - * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing - * any log at crash time. - */ -typedef NS_ENUM(NSInteger, MSInitializationPriority) { - MSInitializationPriorityDefault = 500, - MSInitializationPriorityHigh = 750, - MSInitializationPriorityMax = 999 -}; - -/** - * Enum with the different HTTP status codes. - */ -typedef NS_ENUM(NSInteger, MSHTTPCodesNo) { - - // Invalid - MSHTTPCodesNo0XXInvalidUnknown = 0, - - // Informational - MSHTTPCodesNo1XXInformationalUnknown = 1, - MSHTTPCodesNo100Continue = 100, - MSHTTPCodesNo101SwitchingProtocols = 101, - MSHTTPCodesNo102Processing = 102, - - // Success - MSHTTPCodesNo2XXSuccessUnknown = 2, - MSHTTPCodesNo200OK = 200, - MSHTTPCodesNo201Created = 201, - MSHTTPCodesNo202Accepted = 202, - MSHTTPCodesNo203NonAuthoritativeInformation = 203, - MSHTTPCodesNo204NoContent = 204, - MSHTTPCodesNo205ResetContent = 205, - MSHTTPCodesNo206PartialContent = 206, - MSHTTPCodesNo207MultiStatus = 207, - MSHTTPCodesNo208AlreadyReported = 208, - MSHTTPCodesNo209IMUsed = 209, - - // Redirection - MSHTTPCodesNo3XXSuccessUnknown = 3, - MSHTTPCodesNo300MultipleChoices = 300, - MSHTTPCodesNo301MovedPermanently = 301, - MSHTTPCodesNo302Found = 302, - MSHTTPCodesNo303SeeOther = 303, - MSHTTPCodesNo304NotModified = 304, - MSHTTPCodesNo305UseProxy = 305, - MSHTTPCodesNo306SwitchProxy = 306, - MSHTTPCodesNo307TemporaryRedirect = 307, - MSHTTPCodesNo308PermanentRedirect = 308, - - // Client error - MSHTTPCodesNo4XXSuccessUnknown = 4, - MSHTTPCodesNo400BadRequest = 400, - MSHTTPCodesNo401Unauthorised = 401, - MSHTTPCodesNo402PaymentRequired = 402, - MSHTTPCodesNo403Forbidden = 403, - MSHTTPCodesNo404NotFound = 404, - MSHTTPCodesNo405MethodNotAllowed = 405, - MSHTTPCodesNo406NotAcceptable = 406, - MSHTTPCodesNo407ProxyAuthenticationRequired = 407, - MSHTTPCodesNo408RequestTimeout = 408, - MSHTTPCodesNo409Conflict = 409, - MSHTTPCodesNo410Gone = 410, - MSHTTPCodesNo411LengthRequired = 411, - MSHTTPCodesNo412PreconditionFailed = 412, - MSHTTPCodesNo413RequestEntityTooLarge = 413, - MSHTTPCodesNo414RequestURITooLong = 414, - MSHTTPCodesNo415UnsupportedMediaType = 415, - MSHTTPCodesNo416RequestedRangeNotSatisfiable = 416, - MSHTTPCodesNo417ExpectationFailed = 417, - MSHTTPCodesNo418IamATeapot = 418, - MSHTTPCodesNo419AuthenticationTimeout = 419, - MSHTTPCodesNo420MethodFailureSpringFramework = 420, - MSHTTPCodesNo420EnhanceYourCalmTwitter = 4200, - MSHTTPCodesNo422UnprocessableEntity = 422, - MSHTTPCodesNo423Locked = 423, - MSHTTPCodesNo424FailedDependency = 424, - MSHTTPCodesNo424MethodFailureWebDaw = 4240, - MSHTTPCodesNo425UnorderedCollection = 425, - MSHTTPCodesNo426UpgradeRequired = 426, - MSHTTPCodesNo428PreconditionRequired = 428, - MSHTTPCodesNo429TooManyRequests = 429, - MSHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, - MSHTTPCodesNo444NoResponseNginx = 444, - MSHTTPCodesNo449RetryWithMicrosoft = 449, - MSHTTPCodesNo450BlockedByWindowsParentalControls = 450, - MSHTTPCodesNo451RedirectMicrosoft = 451, - MSHTTPCodesNo451UnavailableForLegalReasons = 4510, - MSHTTPCodesNo494RequestHeaderTooLargeNginx = 494, - MSHTTPCodesNo495CertErrorNginx = 495, - MSHTTPCodesNo496NoCertNginx = 496, - MSHTTPCodesNo497HTTPToHTTPSNginx = 497, - MSHTTPCodesNo499ClientClosedRequestNginx = 499, - - // Server error - MSHTTPCodesNo5XXSuccessUnknown = 5, - MSHTTPCodesNo500InternalServerError = 500, - MSHTTPCodesNo501NotImplemented = 501, - MSHTTPCodesNo502BadGateway = 502, - MSHTTPCodesNo503ServiceUnavailable = 503, - MSHTTPCodesNo504GatewayTimeout = 504, - MSHTTPCodesNo505HTTPVersionNotSupported = 505, - MSHTTPCodesNo506VariantAlsoNegotiates = 506, - MSHTTPCodesNo507InsufficientStorage = 507, - MSHTTPCodesNo508LoopDetected = 508, - MSHTTPCodesNo509BandwidthLimitExceeded = 509, - MSHTTPCodesNo510NotExtended = 510, - MSHTTPCodesNo511NetworkAuthenticationRequired = 511, - MSHTTPCodesNo522ConnectionTimedOut = 522, - MSHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, - MSHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSLogger.h deleted file mode 100644 index 7eb5c3b..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSLogger.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSConstants.h" - -#define MSLog(_level, _tag, _message) \ - [MSLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] -#define MSLogAssert(tag, format, ...) \ - MSLog(MSLogLevelAssert, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogError(tag, format, ...) \ - MSLog(MSLogLevelError, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogWarning(tag, format, ...) \ - MSLog(MSLogLevelWarning, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogInfo(tag, format, ...) \ - MSLog(MSLogLevelInfo, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogDebug(tag, format, ...) \ - MSLog(MSLogLevelDebug, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogVerbose(tag, format, ...) \ - MSLog(MSLogLevelVerbose, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) - -@interface MSLogger : NSObject - -+ (void)logMessage:(MSLogMessageProvider)messageProvider - level:(MSLogLevel)loglevel - tag:(NSString *)tag - file:(const char *)file - function:(const char *)function - line:(uint)line; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSService.h deleted file mode 100644 index 59997b8..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/PrivateHeaders/MSConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/PrivateHeaders/MSConstants+Flags.h deleted file mode 100644 index 0634d16..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/A/PrivateHeaders/MSConstants+Flags.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -typedef NS_OPTIONS(NSUInteger, MSFlags) { - MSFlagsNone = (0 << 0), // => 00000000 - MSFlagsNormal = (1 << 0), // => 00000001 - MSFlagsCritical = (1 << 1), // => 00000010 - MSFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsNormal") = MSFlagsNormal, - MSFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsCritical") = MSFlagsCritical, - MSFlagsDefault = MSFlagsNormal -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/AppCenter deleted file mode 100644 index 1e40b4b..0000000 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/AppCenter and /dev/null differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/AppCenter.h deleted file mode 100644 index 6ff9d88..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/AppCenter.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSAbstractLog.h" -#import "MSAppCenter.h" -#import "MSAppCenterErrors.h" -#import "MSChannelGroupProtocol.h" -#import "MSChannelProtocol.h" -#import "MSConstants.h" -#import "MSCustomProperties.h" -#import "MSDevice.h" -#import "MSEnable.h" -#import "MSLog.h" -#import "MSLogWithProperties.h" -#import "MSLogger.h" -#import "MSService.h" -#import "MSServiceAbstract.h" -#import "MSWrapperLogger.h" -#import "MSWrapperSdk.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSAppCenterErrors.h deleted file mode 100644 index e57cf92..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSAppCenterErrors.h +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_APP_CENTER_ERRORS_H -#define MS_APP_CENTER_ERRORS_H - -#import - -#define MS_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Domain - -static NSString *const kMSACErrorDomain = MS_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; - -#pragma mark - General - -// Error codes. -NS_ENUM(NSInteger){MSACLogInvalidContainerErrorCode = 1, MSACCanceledErrorCode = 2, MSACDisabledErrorCode = 3}; - -// Error descriptions. -static NSString const *kMSACLogInvalidContainerErrorDesc = @"Invalid log container."; -static NSString const *kMSACCanceledErrorDesc = @"The operation was canceled."; -static NSString const *kMSACDisabledErrorDesc = @"The service is disabled."; - -#pragma mark - Connection - -// Error codes. -NS_ENUM(NSInteger){MSACConnectionPausedErrorCode = 100, MSACConnectionHttpErrorCode = 101}; - -// Error descriptions. -static NSString const *kMSACConnectionHttpErrorDesc = @"An HTTP error occured."; -static NSString const *kMSACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; - -// Error user info keys. -static NSString const *kMSACConnectionHttpCodeErrorKey = @"MSACConnectionHttpCode"; - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSChannelGroupProtocol.h deleted file mode 100644 index b786ff0..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSChannelGroupProtocol.h +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_CHANNEL_GROUP_PROTOCOL_H -#define MS_CHANNEL_GROUP_PROTOCOL_H - -#import - -#import "MSChannelProtocol.h" - -NS_ASSUME_NONNULL_BEGIN - -@class MSChannelUnitConfiguration; - -@protocol MSIngestionProtocol; -@protocol MSChannelUnitProtocol; - -/** - * `MSChannelGroupProtocol` represents a kind of channel that contains constituent MSChannelUnit objects. When an operation from the - * `MSChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSChannelUnit objects. - */ -@protocol MSChannelGroupProtocol - -/** - * Initialize a channel unit with the given configuration. - * - * @param configuration channel configuration. - * - * @return The added `MSChannelUnitProtocol`. Use this object to enqueue logs. - */ -- (id)addChannelUnitWithConfiguration:(MSChannelUnitConfiguration *)configuration; - -/** - * Initialize a channel unit with the given configuration. - * - * @param configuration channel configuration. - * @param ingestion The alternative ingestion object - * - * @return The added `MSChannelUnitProtocol`. Use this object to enqueue logs. - */ -- (id)addChannelUnitWithConfiguration:(MSChannelUnitConfiguration *)configuration - withIngestion:(nullable id)ingestion; - -/** - * Change the base URL (schema + authority + port only) used to communicate with the backend. - * - * @param logUrl base URL to use for backend communication. - */ -- (void)setLogUrl:(NSString *)logUrl; - -/** - * Set the app secret. - * - * @param appSecret The app secret. - */ -- (void)setAppSecret:(NSString *)appSecret; - -/** - * Set the maximum size of the internal storage. This method must be called before App Center is started. - * - * @discussion The default maximum database size is 10485760 bytes (10 MiB). - * - * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size - * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. - * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size - * is successful, and `NO` otherwise. - */ -- (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(nullable void (^)(BOOL))completionHandler; - -/** - * Return a channel unit instance for the given groupId. - * - * @param groupId The group ID for a channel unit. - * - * @return A channel unit instance or `nil`. - */ -- (id)channelUnitForGroupId:(NSString *)groupId; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSConstants.h deleted file mode 100644 index 047c9f7..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSConstants.h +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -/** - * Log Levels - */ -typedef NS_ENUM(NSUInteger, MSLogLevel) { - - /** - * Logging will be very chatty - */ - MSLogLevelVerbose = 2, - - /** - * Debug information will be logged - */ - MSLogLevelDebug = 3, - - /** - * Information will be logged - */ - MSLogLevelInfo = 4, - - /** - * Errors and warnings will be logged - */ - MSLogLevelWarning = 5, - - /** - * Errors will be logged - */ - MSLogLevelError = 6, - - /** - * Only critical errors will be logged - */ - MSLogLevelAssert = 7, - - /** - * Logging is disabled - */ - MSLogLevelNone = 99 -}; - -typedef NSString * (^MSLogMessageProvider)(void); -typedef void (^MSLogHandler)(MSLogMessageProvider messageProvider, MSLogLevel logLevel, NSString *tag, const char *file, - const char *function, uint line); - -/** - * Channel priorities, check the kMSPriorityCount if you add a new value. - * The order matters here! Values NEED to range from low priority to high priority. - */ -typedef NS_ENUM(NSInteger, MSPriority) { MSPriorityBackground, MSPriorityDefault, MSPriorityHigh }; -static short const kMSPriorityCount = MSPriorityHigh + 1; - -/** - * The priority by which the modules are initialized. - * MSPriorityMax is reserved for only 1 module and this needs to be Crashes. - * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing - * any log at crash time. - */ -typedef NS_ENUM(NSInteger, MSInitializationPriority) { - MSInitializationPriorityDefault = 500, - MSInitializationPriorityHigh = 750, - MSInitializationPriorityMax = 999 -}; - -/** - * Enum with the different HTTP status codes. - */ -typedef NS_ENUM(NSInteger, MSHTTPCodesNo) { - - // Invalid - MSHTTPCodesNo0XXInvalidUnknown = 0, - - // Informational - MSHTTPCodesNo1XXInformationalUnknown = 1, - MSHTTPCodesNo100Continue = 100, - MSHTTPCodesNo101SwitchingProtocols = 101, - MSHTTPCodesNo102Processing = 102, - - // Success - MSHTTPCodesNo2XXSuccessUnknown = 2, - MSHTTPCodesNo200OK = 200, - MSHTTPCodesNo201Created = 201, - MSHTTPCodesNo202Accepted = 202, - MSHTTPCodesNo203NonAuthoritativeInformation = 203, - MSHTTPCodesNo204NoContent = 204, - MSHTTPCodesNo205ResetContent = 205, - MSHTTPCodesNo206PartialContent = 206, - MSHTTPCodesNo207MultiStatus = 207, - MSHTTPCodesNo208AlreadyReported = 208, - MSHTTPCodesNo209IMUsed = 209, - - // Redirection - MSHTTPCodesNo3XXSuccessUnknown = 3, - MSHTTPCodesNo300MultipleChoices = 300, - MSHTTPCodesNo301MovedPermanently = 301, - MSHTTPCodesNo302Found = 302, - MSHTTPCodesNo303SeeOther = 303, - MSHTTPCodesNo304NotModified = 304, - MSHTTPCodesNo305UseProxy = 305, - MSHTTPCodesNo306SwitchProxy = 306, - MSHTTPCodesNo307TemporaryRedirect = 307, - MSHTTPCodesNo308PermanentRedirect = 308, - - // Client error - MSHTTPCodesNo4XXSuccessUnknown = 4, - MSHTTPCodesNo400BadRequest = 400, - MSHTTPCodesNo401Unauthorised = 401, - MSHTTPCodesNo402PaymentRequired = 402, - MSHTTPCodesNo403Forbidden = 403, - MSHTTPCodesNo404NotFound = 404, - MSHTTPCodesNo405MethodNotAllowed = 405, - MSHTTPCodesNo406NotAcceptable = 406, - MSHTTPCodesNo407ProxyAuthenticationRequired = 407, - MSHTTPCodesNo408RequestTimeout = 408, - MSHTTPCodesNo409Conflict = 409, - MSHTTPCodesNo410Gone = 410, - MSHTTPCodesNo411LengthRequired = 411, - MSHTTPCodesNo412PreconditionFailed = 412, - MSHTTPCodesNo413RequestEntityTooLarge = 413, - MSHTTPCodesNo414RequestURITooLong = 414, - MSHTTPCodesNo415UnsupportedMediaType = 415, - MSHTTPCodesNo416RequestedRangeNotSatisfiable = 416, - MSHTTPCodesNo417ExpectationFailed = 417, - MSHTTPCodesNo418IamATeapot = 418, - MSHTTPCodesNo419AuthenticationTimeout = 419, - MSHTTPCodesNo420MethodFailureSpringFramework = 420, - MSHTTPCodesNo420EnhanceYourCalmTwitter = 4200, - MSHTTPCodesNo422UnprocessableEntity = 422, - MSHTTPCodesNo423Locked = 423, - MSHTTPCodesNo424FailedDependency = 424, - MSHTTPCodesNo424MethodFailureWebDaw = 4240, - MSHTTPCodesNo425UnorderedCollection = 425, - MSHTTPCodesNo426UpgradeRequired = 426, - MSHTTPCodesNo428PreconditionRequired = 428, - MSHTTPCodesNo429TooManyRequests = 429, - MSHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, - MSHTTPCodesNo444NoResponseNginx = 444, - MSHTTPCodesNo449RetryWithMicrosoft = 449, - MSHTTPCodesNo450BlockedByWindowsParentalControls = 450, - MSHTTPCodesNo451RedirectMicrosoft = 451, - MSHTTPCodesNo451UnavailableForLegalReasons = 4510, - MSHTTPCodesNo494RequestHeaderTooLargeNginx = 494, - MSHTTPCodesNo495CertErrorNginx = 495, - MSHTTPCodesNo496NoCertNginx = 496, - MSHTTPCodesNo497HTTPToHTTPSNginx = 497, - MSHTTPCodesNo499ClientClosedRequestNginx = 499, - - // Server error - MSHTTPCodesNo5XXSuccessUnknown = 5, - MSHTTPCodesNo500InternalServerError = 500, - MSHTTPCodesNo501NotImplemented = 501, - MSHTTPCodesNo502BadGateway = 502, - MSHTTPCodesNo503ServiceUnavailable = 503, - MSHTTPCodesNo504GatewayTimeout = 504, - MSHTTPCodesNo505HTTPVersionNotSupported = 505, - MSHTTPCodesNo506VariantAlsoNegotiates = 506, - MSHTTPCodesNo507InsufficientStorage = 507, - MSHTTPCodesNo508LoopDetected = 508, - MSHTTPCodesNo509BandwidthLimitExceeded = 509, - MSHTTPCodesNo510NotExtended = 510, - MSHTTPCodesNo511NetworkAuthenticationRequired = 511, - MSHTTPCodesNo522ConnectionTimedOut = 522, - MSHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, - MSHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSLogger.h deleted file mode 100644 index 7eb5c3b..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSLogger.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSConstants.h" - -#define MSLog(_level, _tag, _message) \ - [MSLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] -#define MSLogAssert(tag, format, ...) \ - MSLog(MSLogLevelAssert, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogError(tag, format, ...) \ - MSLog(MSLogLevelError, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogWarning(tag, format, ...) \ - MSLog(MSLogLevelWarning, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogInfo(tag, format, ...) \ - MSLog(MSLogLevelInfo, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogDebug(tag, format, ...) \ - MSLog(MSLogLevelDebug, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogVerbose(tag, format, ...) \ - MSLog(MSLogLevelVerbose, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) - -@interface MSLogger : NSObject - -+ (void)logMessage:(MSLogMessageProvider)messageProvider - level:(MSLogLevel)loglevel - tag:(NSString *)tag - file:(const char *)file - function:(const char *)function - line:(uint)line; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSService.h deleted file mode 100644 index 59997b8..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/PrivateHeaders/MSConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/PrivateHeaders/MSConstants+Flags.h deleted file mode 100644 index 0634d16..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/Versions/Current/PrivateHeaders/MSConstants+Flags.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -typedef NS_OPTIONS(NSUInteger, MSFlags) { - MSFlagsNone = (0 << 0), // => 00000000 - MSFlagsNormal = (1 << 0), // => 00000001 - MSFlagsCritical = (1 << 1), // => 00000010 - MSFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsNormal") = MSFlagsNormal, - MSFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsCritical") = MSFlagsCritical, - MSFlagsDefault = MSFlagsNormal -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/AppCenterAnalytics deleted file mode 100644 index 158a78d..0000000 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/AppCenterAnalytics and /dev/null differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h deleted file mode 100644 index c5fcf55..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSAbstractLog.h" -#import "MSAnalytics.h" -#import "MSAnalyticsTransmissionTarget.h" -#import "MSAnalyticsAuthenticationProvider.h" -#import "MSAnalyticsAuthenticationProviderDelegate.h" -#import "MSConstants+Flags.h" -#import "MSEventLog.h" -#import "MSEventProperties.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProviderDelegate.h deleted file mode 100644 index bbca0fe..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProviderDelegate.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -@class MSAnalyticsAuthenticationProvider; - -/** - * Completion handler that returns the authentication token and the expiry date. - */ -typedef void (^MSAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate); - -@protocol MSAnalyticsAuthenticationProviderDelegate - -/** - * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. - * - * @param authenticationProvider The authentication provider. - * @param completionHandler The completion handler. - */ -- (void)authenticationProvider:(MSAnalyticsAuthenticationProvider *)authenticationProvider - acquireTokenWithCompletionHandler:(MSAnalyticsAuthenticationProviderCompletionBlock)completionHandler; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSConstants+Flags.h deleted file mode 100644 index 0634d16..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSConstants+Flags.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -typedef NS_OPTIONS(NSUInteger, MSFlags) { - MSFlagsNone = (0 << 0), // => 00000000 - MSFlagsNormal = (1 << 0), // => 00000001 - MSFlagsCritical = (1 << 1), // => 00000010 - MSFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsNormal") = MSFlagsNormal, - MSFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsCritical") = MSFlagsCritical, - MSFlagsDefault = MSFlagsNormal -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSEventLog.h deleted file mode 100644 index fd341e1..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSEventLog.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import "MSLogWithNameAndProperties.h" - -@class MSEventProperties; -@class MSMetadataExtension; - -@interface MSEventLog : MSLogWithNameAndProperties - -/** - * Unique identifier for this event. - */ -@property(nonatomic, copy) NSString *eventId; - -/** - * Event properties. - */ -@property(nonatomic, strong) MSEventProperties *typedProperties; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSLogWithNameAndProperties.h deleted file mode 100644 index 3491cf6..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSLogWithNameAndProperties.h +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSLogWithProperties.h" - -@interface MSLogWithNameAndProperties : MSLogWithProperties - -/** - * Name of the event. - */ -@property(nonatomic, copy) NSString *name; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSService.h deleted file mode 100644 index 59997b8..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Resources/Info.plist deleted file mode 100644 index b8176e1..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Resources/Info.plist +++ /dev/null @@ -1,42 +0,0 @@ - - - - - BuildMachineOSBuild - 18G1012 - CFBundleDevelopmentRegion - English - CFBundleExecutable - AppCenterAnalytics - CFBundleIdentifier - com.microsoft.appcenter.analytics - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - AppCenterAnalytics - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1 - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1.0 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 10B61 - DTPlatformVersion - GM - DTSDKBuild - 18B71 - DTSDKName - macosx10.14 - DTXcode - 1010 - DTXcodeBuild - 10B61 - - diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics deleted file mode 100644 index 158a78d..0000000 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics and /dev/null differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h deleted file mode 100644 index c5fcf55..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSAbstractLog.h" -#import "MSAnalytics.h" -#import "MSAnalyticsTransmissionTarget.h" -#import "MSAnalyticsAuthenticationProvider.h" -#import "MSAnalyticsAuthenticationProviderDelegate.h" -#import "MSConstants+Flags.h" -#import "MSEventLog.h" -#import "MSEventProperties.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAbstractLog.h deleted file mode 100644 index 76d0268..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAbstractLog.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H - -#import - -@interface MSAbstractLog : NSObject - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalyticsAuthenticationProviderDelegate.h deleted file mode 100644 index bbca0fe..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSAnalyticsAuthenticationProviderDelegate.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -@class MSAnalyticsAuthenticationProvider; - -/** - * Completion handler that returns the authentication token and the expiry date. - */ -typedef void (^MSAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate); - -@protocol MSAnalyticsAuthenticationProviderDelegate - -/** - * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. - * - * @param authenticationProvider The authentication provider. - * @param completionHandler The completion handler. - */ -- (void)authenticationProvider:(MSAnalyticsAuthenticationProvider *)authenticationProvider - acquireTokenWithCompletionHandler:(MSAnalyticsAuthenticationProviderCompletionBlock)completionHandler; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSConstants+Flags.h deleted file mode 100644 index 0634d16..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSConstants+Flags.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -typedef NS_OPTIONS(NSUInteger, MSFlags) { - MSFlagsNone = (0 << 0), // => 00000000 - MSFlagsNormal = (1 << 0), // => 00000001 - MSFlagsCritical = (1 << 1), // => 00000010 - MSFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsNormal") = MSFlagsNormal, - MSFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsCritical") = MSFlagsCritical, - MSFlagsDefault = MSFlagsNormal -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSEventLog.h deleted file mode 100644 index fd341e1..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSEventLog.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import "MSLogWithNameAndProperties.h" - -@class MSEventProperties; -@class MSMetadataExtension; - -@interface MSEventLog : MSLogWithNameAndProperties - -/** - * Unique identifier for this event. - */ -@property(nonatomic, copy) NSString *eventId; - -/** - * Event properties. - */ -@property(nonatomic, strong) MSEventProperties *typedProperties; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSLogWithNameAndProperties.h deleted file mode 100644 index 3491cf6..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSLogWithNameAndProperties.h +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSLogWithProperties.h" - -@interface MSLogWithNameAndProperties : MSLogWithProperties - -/** - * Name of the event. - */ -@property(nonatomic, copy) NSString *name; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSLogWithProperties.h deleted file mode 100644 index 7a3b372..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSLogWithProperties.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_LOG_WITH_PROPERTIES_H -#define MS_LOG_WITH_PROPERTIES_H - -#import - -#import "MSAbstractLog.h" - -@interface MSLogWithProperties : MSAbstractLog - -/** - * Additional key/value pair parameters. [optional] - */ -@property(nonatomic, strong) NSDictionary *properties; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSService.h deleted file mode 100644 index 59997b8..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSServiceAbstract.h deleted file mode 100644 index 3e5e8de..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/A/Headers/MSServiceAbstract.h +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H - -#import - -#import "MSService.h" - -@protocol MSChannelGroupProtocol; - -/** - * Abstraction of services common logic. - * This class is intended to be subclassed only not instantiated directly. - */ -@interface MSServiceAbstract : NSObject - -/** - * The flag indicates whether the service is started from application or not. - */ -@property(nonatomic, assign) BOOL startedFromApplication; - -/** - * Start this service with a channel group. Also sets the flag that indicates that a service has been started. - * - * @param channelGroup channel group used to persist and send logs. - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - * @param fromApplication indicates whether the service started from an application or not. - */ -- (void)startWithChannelGroup:(id)channelGroup - appSecret:(NSString *)appSecret - transmissionTargetToken:(NSString *)token - fromApplication:(BOOL)fromApplication; - -/** - * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries - * and then is being started from an application. - * - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - */ -- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; - -/** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. - */ -- (BOOL)isAppSecretRequired; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/AppCenterAnalytics deleted file mode 100644 index 158a78d..0000000 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/AppCenterAnalytics and /dev/null differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/AppCenterAnalytics.h deleted file mode 100644 index c5fcf55..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/AppCenterAnalytics.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSAbstractLog.h" -#import "MSAnalytics.h" -#import "MSAnalyticsTransmissionTarget.h" -#import "MSAnalyticsAuthenticationProvider.h" -#import "MSAnalyticsAuthenticationProviderDelegate.h" -#import "MSConstants+Flags.h" -#import "MSEventLog.h" -#import "MSEventProperties.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAbstractLog.h deleted file mode 100644 index 76d0268..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAbstractLog.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H - -#import - -@interface MSAbstractLog : NSObject - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalyticsAuthenticationProviderDelegate.h deleted file mode 100644 index bbca0fe..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSAnalyticsAuthenticationProviderDelegate.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -@class MSAnalyticsAuthenticationProvider; - -/** - * Completion handler that returns the authentication token and the expiry date. - */ -typedef void (^MSAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate); - -@protocol MSAnalyticsAuthenticationProviderDelegate - -/** - * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. - * - * @param authenticationProvider The authentication provider. - * @param completionHandler The completion handler. - */ -- (void)authenticationProvider:(MSAnalyticsAuthenticationProvider *)authenticationProvider - acquireTokenWithCompletionHandler:(MSAnalyticsAuthenticationProviderCompletionBlock)completionHandler; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSConstants+Flags.h deleted file mode 100644 index 0634d16..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSConstants+Flags.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -typedef NS_OPTIONS(NSUInteger, MSFlags) { - MSFlagsNone = (0 << 0), // => 00000000 - MSFlagsNormal = (1 << 0), // => 00000001 - MSFlagsCritical = (1 << 1), // => 00000010 - MSFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsNormal") = MSFlagsNormal, - MSFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsCritical") = MSFlagsCritical, - MSFlagsDefault = MSFlagsNormal -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSEventLog.h deleted file mode 100644 index fd341e1..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSEventLog.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import "MSLogWithNameAndProperties.h" - -@class MSEventProperties; -@class MSMetadataExtension; - -@interface MSEventLog : MSLogWithNameAndProperties - -/** - * Unique identifier for this event. - */ -@property(nonatomic, copy) NSString *eventId; - -/** - * Event properties. - */ -@property(nonatomic, strong) MSEventProperties *typedProperties; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSLogWithNameAndProperties.h deleted file mode 100644 index 3491cf6..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSLogWithNameAndProperties.h +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSLogWithProperties.h" - -@interface MSLogWithNameAndProperties : MSLogWithProperties - -/** - * Name of the event. - */ -@property(nonatomic, copy) NSString *name; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSLogWithProperties.h deleted file mode 100644 index 7a3b372..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSLogWithProperties.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_LOG_WITH_PROPERTIES_H -#define MS_LOG_WITH_PROPERTIES_H - -#import - -#import "MSAbstractLog.h" - -@interface MSLogWithProperties : MSAbstractLog - -/** - * Additional key/value pair parameters. [optional] - */ -@property(nonatomic, strong) NSDictionary *properties; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSService.h deleted file mode 100644 index 59997b8..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSServiceAbstract.h deleted file mode 100644 index 3e5e8de..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework/Versions/Current/Headers/MSServiceAbstract.h +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H - -#import - -#import "MSService.h" - -@protocol MSChannelGroupProtocol; - -/** - * Abstraction of services common logic. - * This class is intended to be subclassed only not instantiated directly. - */ -@interface MSServiceAbstract : NSObject - -/** - * The flag indicates whether the service is started from application or not. - */ -@property(nonatomic, assign) BOOL startedFromApplication; - -/** - * Start this service with a channel group. Also sets the flag that indicates that a service has been started. - * - * @param channelGroup channel group used to persist and send logs. - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - * @param fromApplication indicates whether the service started from an application or not. - */ -- (void)startWithChannelGroup:(id)channelGroup - appSecret:(NSString *)appSecret - transmissionTargetToken:(NSString *)token - fromApplication:(BOOL)fromApplication; - -/** - * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries - * and then is being started from an application. - * - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - */ -- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; - -/** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. - */ -- (BOOL)isAppSecretRequired; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/AppCenterCrashes deleted file mode 100644 index 10066ba..0000000 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/AppCenterCrashes and /dev/null differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/AppCenterCrashes.h deleted file mode 100644 index d2920b3..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/AppCenterCrashes.h +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSCrashHandlerSetupDelegate.h" -#import "MSCrashes.h" -#import "MSCrashesDelegate.h" -#import "MSErrorAttachmentLog+Utility.h" -#import "MSErrorAttachmentLog.h" -#import "MSWrapperCrashesHelper.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSAbstractLog.h deleted file mode 100644 index 76d0268..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSAbstractLog.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H - -#import - -@interface MSAbstractLog : NSObject - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSService.h deleted file mode 100644 index 59997b8..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSServiceAbstract.h deleted file mode 100644 index 3e5e8de..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Headers/MSServiceAbstract.h +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H - -#import - -#import "MSService.h" - -@protocol MSChannelGroupProtocol; - -/** - * Abstraction of services common logic. - * This class is intended to be subclassed only not instantiated directly. - */ -@interface MSServiceAbstract : NSObject - -/** - * The flag indicates whether the service is started from application or not. - */ -@property(nonatomic, assign) BOOL startedFromApplication; - -/** - * Start this service with a channel group. Also sets the flag that indicates that a service has been started. - * - * @param channelGroup channel group used to persist and send logs. - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - * @param fromApplication indicates whether the service started from an application or not. - */ -- (void)startWithChannelGroup:(id)channelGroup - appSecret:(NSString *)appSecret - transmissionTargetToken:(NSString *)token - fromApplication:(BOOL)fromApplication; - -/** - * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries - * and then is being started from an application. - * - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - */ -- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; - -/** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. - */ -- (BOOL)isAppSecretRequired; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/AppCenterCrashes deleted file mode 100644 index 10066ba..0000000 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/AppCenterCrashes and /dev/null differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h deleted file mode 100644 index d2920b3..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSCrashHandlerSetupDelegate.h" -#import "MSCrashes.h" -#import "MSCrashesDelegate.h" -#import "MSErrorAttachmentLog+Utility.h" -#import "MSErrorAttachmentLog.h" -#import "MSWrapperCrashesHelper.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSAbstractLog.h deleted file mode 100644 index 76d0268..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSAbstractLog.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H - -#import - -@interface MSAbstractLog : NSObject - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSService.h deleted file mode 100644 index 59997b8..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSServiceAbstract.h deleted file mode 100644 index 3e5e8de..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/A/Headers/MSServiceAbstract.h +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H - -#import - -#import "MSService.h" - -@protocol MSChannelGroupProtocol; - -/** - * Abstraction of services common logic. - * This class is intended to be subclassed only not instantiated directly. - */ -@interface MSServiceAbstract : NSObject - -/** - * The flag indicates whether the service is started from application or not. - */ -@property(nonatomic, assign) BOOL startedFromApplication; - -/** - * Start this service with a channel group. Also sets the flag that indicates that a service has been started. - * - * @param channelGroup channel group used to persist and send logs. - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - * @param fromApplication indicates whether the service started from an application or not. - */ -- (void)startWithChannelGroup:(id)channelGroup - appSecret:(NSString *)appSecret - transmissionTargetToken:(NSString *)token - fromApplication:(BOOL)fromApplication; - -/** - * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries - * and then is being started from an application. - * - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - */ -- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; - -/** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. - */ -- (BOOL)isAppSecretRequired; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/AppCenterCrashes deleted file mode 100644 index 10066ba..0000000 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/AppCenterCrashes and /dev/null differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/AppCenterCrashes.h deleted file mode 100644 index d2920b3..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/AppCenterCrashes.h +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSCrashHandlerSetupDelegate.h" -#import "MSCrashes.h" -#import "MSCrashesDelegate.h" -#import "MSErrorAttachmentLog+Utility.h" -#import "MSErrorAttachmentLog.h" -#import "MSWrapperCrashesHelper.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSAbstractLog.h deleted file mode 100644 index 76d0268..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSAbstractLog.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H - -#import - -@interface MSAbstractLog : NSObject - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSService.h deleted file mode 100644 index 59997b8..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSServiceAbstract.h deleted file mode 100644 index 3e5e8de..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Headers/MSServiceAbstract.h +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H - -#import - -#import "MSService.h" - -@protocol MSChannelGroupProtocol; - -/** - * Abstraction of services common logic. - * This class is intended to be subclassed only not instantiated directly. - */ -@interface MSServiceAbstract : NSObject - -/** - * The flag indicates whether the service is started from application or not. - */ -@property(nonatomic, assign) BOOL startedFromApplication; - -/** - * Start this service with a channel group. Also sets the flag that indicates that a service has been started. - * - * @param channelGroup channel group used to persist and send logs. - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - * @param fromApplication indicates whether the service started from an application or not. - */ -- (void)startWithChannelGroup:(id)channelGroup - appSecret:(NSString *)appSecret - transmissionTargetToken:(NSString *)token - fromApplication:(BOOL)fromApplication; - -/** - * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries - * and then is being started from an application. - * - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - */ -- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; - -/** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. - */ -- (BOOL)isAppSecretRequired; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Resources/Info.plist deleted file mode 100644 index cf47387..0000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework/Versions/Current/Resources/Info.plist +++ /dev/null @@ -1,42 +0,0 @@ - - - - - BuildMachineOSBuild - 18G1012 - CFBundleDevelopmentRegion - English - CFBundleExecutable - AppCenterCrashes - CFBundleIdentifier - com.microsoft.appcenter.crashes - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - AppCenterCrashes - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1 - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1.0 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 10B61 - DTPlatformVersion - GM - DTSDKBuild - 18B71 - DTSDKName - macosx10.14 - DTXcode - 1010 - DTXcodeBuild - 10B61 - - diff --git a/Pods/CocoaLumberjack/LICENSE b/Pods/CocoaLumberjack/LICENSE index 029cd9e..64489c2 100644 --- a/Pods/CocoaLumberjack/LICENSE +++ b/Pods/CocoaLumberjack/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2010-2020, Deusty, LLC +Copyright (c) 2010-2021, Deusty, LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Pods/CocoaLumberjack/README.md b/Pods/CocoaLumberjack/README.md index 846de9c..9642294 100644 --- a/Pods/CocoaLumberjack/README.md +++ b/Pods/CocoaLumberjack/README.md @@ -4,7 +4,7 @@ CocoaLumberjack =============== -[![Build Status](https://travis-ci.org/CocoaLumberjack/CocoaLumberjack.svg?branch=master)](https://travis-ci.org/CocoaLumberjack/CocoaLumberjack) +![Unit Tests](https://github.com/CocoaLumberjack/CocoaLumberjack/workflows/Unit%20Tests/badge.svg) [![Pod Version](http://img.shields.io/cocoapods/v/CocoaLumberjack.svg?style=flat)](http://cocoadocs.org/docsets/CocoaLumberjack/) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Pod Platform](http://img.shields.io/cocoapods/p/CocoaLumberjack.svg?style=flat)](http://cocoadocs.org/docsets/CocoaLumberjack/) @@ -13,17 +13,17 @@ CocoaLumberjack [![codebeat badge](https://codebeat.co/badges/840b714a-c8f3-4936-ada4-363473cd4e6b)](https://codebeat.co/projects/github-com-cocoalumberjack-cocoalumberjack-master) -**CocoaLumberjack** is a fast & simple, yet powerful & flexible logging framework for Mac and iOS. +**CocoaLumberjack** is a fast & simple, yet powerful & flexible logging framework for macOS, iOS, tvOS and watchOS. -### How to get started +## How to get started First, install CocoaLumberjack via [CocoaPods](http://cocoapods.org), [Carthage](https://github.com/Carthage/Carthage), [Swift Package Manager](https://swift.org/package-manager/) or manually. Then use `DDOSLogger` for iOS 10 and later, or `DDTTYLogger` and `DDASLLogger` for earlier versions to begin logging messages. -#### CocoaPods +### CocoaPods ```ruby -platform :ios, '8.0' +platform :ios, '9.0' target 'SampleTarget' do use_frameworks! @@ -35,14 +35,14 @@ For more details about how to use Swift with Lumberjack, see [this conversation] For Objective-C use the following: ```ruby -platform :ios, '8.0' +platform :ios, '9.0' target 'SampleTarget' do pod 'CocoaLumberjack' end ``` -#### Carthage +### Carthage Carthage is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and is less invasive than CocoaPods. @@ -54,20 +54,22 @@ github "CocoaLumberjack/CocoaLumberjack" ``` -#### Swift Package Manager +### Swift Package Manager As of CocoaLumberjack 3.6.0, you can use the Swift Package Manager as integration method. If you want to use the Swift Package Manager as integration method, either use Xcode to add the package dependency or add the following dependency to your Package.swift: ```swift -.package(url: "https://github.com/CocoaLumberjack/CocoaLumberjack.git", from: "3.6.0"), +.package(url: "https://github.com/CocoaLumberjack/CocoaLumberjack.git", from: "3.7.0"), ``` -#### Install manually +Note that you may need to add both products, `CocoaLumberjack` and `CocoaLumberjackSwift` to your target since SPM sometimes fails to detect that `CocoaLumerjackSwift` depends on `CocoaLumberjack`. + +### Install manually If you want to install CocoaLumberjack manually, read the [manual installation](https://raw.githubusercontent.com/CocoaLumberjack/CocoaLumberjack/master/Documentation/GettingStarted.md#manual-installation) guide for more information. -#### Swift Usage +### Swift Usage Usually, you can simply `import CocoaLumberjackSwift`. If you installed CocoaLumberjack using CocoaPods, you need to use `import CocoaLumberjack` instead. @@ -88,7 +90,7 @@ DDLogWarn("Warn") DDLogError("Error") ``` -#### Obj-C usage +### Obj-C usage If you're using Lumberjack as a framework, you can `@import CocoaLumberjack;`. Otherwise, `#import ` @@ -109,50 +111,65 @@ DDLogInfo(@"Info"); DDLogWarn(@"Warn"); DDLogError(@"Error"); ``` +### Objective-C ARC Semantic Issue + +When integrating Lumberjack into an existing Objective-C it is possible to run into `Multiple methods named 'tag' found with mismatched result, parameter type or attributes` build error. + +Add `#define DD_LEGACY_MESSAGE_TAG 0` before importing CocoaLumberjack or add `#define DD_LEGACY_MESSAGE_TAG 0` or add `-DDD_LEGACY_MESSAGE_TAG=0` to *Other C Flags*/*OTHER_CFLAGS* in your Xcode project. + +## [swift-log](https://github.com/apple/swift-log) backend + +CocoaLumberjack also ships with a backend implementation for [swift-log](https://github.com/apple/swift-log). +Simply add CocoaLumberjack as dependency to your SPM target (see above) and also add the `CocoaLumberjackSwiftLogBackend` product as dependency to your target. + +You can then use `DDLogHandler` as backend for swift-log, which will forward all messages to CocoaLumberjack's `DDLog`. You will still configure the loggers and log formatters you want via `DDLog`, but writing log messages will be done using `Logger` from swift-log. -#### More information +In your own log formatters, you can make use of the `swiftLogInfo` property on `DDLogMessage` to retrieve the details of a message that is logged via swift-log. + + +### More information - read the [Getting started](https://raw.githubusercontent.com/CocoaLumberjack/CocoaLumberjack/master/Documentation/GettingStarted.md) guide, check out the [FAQ](https://raw.githubusercontent.com/CocoaLumberjack/CocoaLumberjack/master/Documentation/FAQ.md) section or the other [docs](Documentation/) - if you find issues or want to suggest improvements, create an issue or a pull request - for all kinds of questions involving CocoaLumberjack, use the [Google group](http://groups.google.com/group/cocoalumberjack) or StackOverflow (use [#lumberjack](http://stackoverflow.com/questions/tagged/lumberjack)). -### CocoaLumberjack 3 +## CocoaLumberjack 3 -#### Migrating to 3.x +### Migrating to 3.x * To be determined -### Features +## Features -#### Lumberjack is Fast & Simple, yet Powerful & Flexible. +### Lumberjack is Fast & Simple, yet Powerful & Flexible. It is similar in concept to other popular logging frameworks such as log4j, yet is designed specifically for Objective-C, and takes advantage of features such as multi-threading, grand central dispatch (if available), lockless atomic operations, and the dynamic nature of the Objective-C runtime. -#### Lumberjack is Fast +### Lumberjack is Fast In most cases it is an order of magnitude faster than NSLog. -#### Lumberjack is Simple +### Lumberjack is Simple It takes as little as a single line of code to configure lumberjack when your application launches. Then simply replace your NSLog statements with DDLog statements and that's about it. (And the DDLog macros have the exact same format and syntax as NSLog, so it's super easy.) -#### Lumberjack is Powerful: +### Lumberjack is Powerful: One log statement can be sent to multiple loggers, meaning you can log to a file and the console simultaneously. Want more? Create your own loggers (it's easy) and send your log statements over the network. Or to a database or distributed file system. The sky is the limit. -#### Lumberjack is Flexible: +### Lumberjack is Flexible: Configure your logging however you want. Change log levels per file (perfect for debugging). Change log levels per logger (verbose console, but concise log file). Change log levels per xcode configuration (verbose debug, but concise release). Have your log statements compiled out of the release build. Customize the number of log levels for your application. Add your own fine-grained logging. Dynamically change log levels during runtime. Choose how & when you want your log files to be rolled. Upload your log files to a central server. Compress archived log files to save disk space... -### This framework is for you if: +## This framework is for you if: - You're looking for a way to track down that impossible-to-reproduce bug that keeps popping up in the field. - You're frustrated with the super short console log on the iPhone. - You're looking to take your application to the next level in terms of support and stability. - You're looking for an enterprise level logging solution for your application (Mac or iPhone). -### Documentation +## Documentation - **[Get started using Lumberjack](https://github.com/CocoaLumberjack/CocoaLumberjack/blob/master/Documentation/GettingStarted.md)**
- [Different log levels for Debug and Release builds](https://github.com/CocoaLumberjack/CocoaLumberjack/blob/master/Documentation/XcodeTricks.md)
@@ -165,17 +182,19 @@ Configure your logging however you want. Change log levels per file (perfect for - [AppCode support](https://github.com/CocoaLumberjack/CocoaLumberjack/blob/master/Documentation/AppCode-support.md) - **[Full Lumberjack documentation](Documentation/)**
-### Requirements +## Requirements The current version of Lumberjack requires: -- Xcode 11 or later -- Swift 5.0 or later -- iOS 8 or later +- Xcode 12 or later +- Swift 5.3 or later +- iOS 9 or later - macOS 10.10 or later - watchOS 3 or later - tvOS 9 or later -#### Backwards compatibility +### Backwards compatibility +- for Xcode 11 and Swift up to 5.2, use the 3.6.2 version - for Xcode 10 and Swift 4.2, use the 3.5.2 version +- for iOS 8, use the 3.6.1 version - for iOS 6, iOS 7, OS X 10.8, OS X 10.9 and Xcode 9, use the 3.4.2 version - for iOS 5 and OS X 10.7, use the 3.3 version - for Xcode 8 and Swift 3, use the 3.2 version @@ -186,7 +205,7 @@ The current version of Lumberjack requires: - for Xcode 6 or earlier, use the 2.0.x version - for OS X < 10.7 support, use the 1.6.0 version -### Communication +## Communication - If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/lumberjack). (Tag 'lumberjack') - If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/lumberjack). @@ -194,11 +213,53 @@ The current version of Lumberjack requires: - If you **have a feature request**, open an issue. - If you **want to contribute**, submit a pull request. -### Author +## Data Collection Practices + +Per [App privacy details on the App Store](https://developer.apple.com/app-store/app-privacy-details/), Apple is requesting app developers to provide info about their data collection, us SDK maintainers must provide them with the same data. + +### Data collection by the framework + +**By default, CocoaLumberjack does NOT collect any data on its own.** + +[See our Data Collection Practices list.](https://cocoalumberjack.github.io/DataCollection/index.html) + +### Indirect data collection through the framework + +CocoaLumberjack is a logging framework which makes it easy to send those logs to different platforms. + +This is why collecting data might happen quite easily, if app developers include any sensitive data into their log messages. + +**Important note: app developers are fully responsible for any sensitive data collected through our logging system!** + +In consequence, you must comply to the Apple's privacy details policy (mentioned above) and document the ways in which user data is being collected. +Since the number of scenarios where data might be indirectly collected through CocoaLumberjack is quite large, it's up to you, as app developers, to properly review your app's code and identify those cases. +What we can do to help is raise awareness about potential data collection through our framework. + +Private data includes but isn't limited to: + +- user info (name, email, address, ...) +- location info +- contacts +- identifiers (user id, device id, ...) +- app usage data +- performance data +- health and fitness info +- financial info +- sensitive info +- user content +- history (browsing, search, ...) +- purchases +- diagnostics +- ... + +_Example_: `DDLogInfo("User: \(myUser)")` will add the `myUser` info to the logs, so if those are forwarded to a 3rd party or sent via email, that may qualify as data collection. + +## Author + - [Robbie Hanson](https://github.com/robbiehanson) - Love the project? Wanna buy me a coffee? (or a beer :D) [![donation](http://www.paypal.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UZRA26JPJB3DA) -### Collaborators +## Collaborators - [Ernesto Rivera](https://github.com/rivera-ernesto) - [Dmitry Vorobyov](https://github.com/dvor) - [Bogdan Poplauschi](https://github.com/bpoplauschi) @@ -211,14 +272,14 @@ The current version of Lumberjack requires: - [Dmitry Lobanov](https://github.com/lolgear) - [Hakon Hanesand](https://github.com/hhanesand) -### License +## License - CocoaLumberjack is available under the BSD 3 license. See the [LICENSE file](https://github.com/CocoaLumberjack/CocoaLumberjack/blob/master/LICENSE). -### Extensions +## Extensions - [LogIO-CocoaLumberjack](https://github.com/s4nchez/LogIO-CocoaLumberjack) A log.io logger for CocoaLumberjack - [XCDLumberjackNSLogger](https://github.com/0xced/XCDLumberjackNSLogger) CocoaLumberjack logger which sends logs to NSLogger -### Architecture +## Architecture

diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/CLI/CLIColor.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/CLI/CLIColor.m index 949dc73..bdbffbc 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/CLI/CLIColor.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/CLI/CLIColor.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,9 +13,11 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. +#import + #if TARGET_OS_OSX -#import "CLIColor.h" +#import @interface CLIColor () { CGFloat _red, _green, _blue, _alpha; diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogCapture.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogCapture.m index 557f12f..5fd2359 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogCapture.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogCapture.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,12 +13,7 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#import - -// Disable legacy macros -#ifndef DD_LEGACY_MACROS - #define DD_LEGACY_MACROS 0 -#endif +#import #if !TARGET_OS_WATCH @@ -27,10 +22,20 @@ #include #include +#import + +// Disable legacy macros +#ifndef DD_LEGACY_MACROS + #define DD_LEGACY_MACROS 0 +#endif + static BOOL _cancel = YES; static DDLogLevel _captureLevel = DDLogLevelVerbose; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-implementations" @implementation DDASLLogCapture +#pragma clang diagnostic pop + (void)start { // Ignore subsequent calls @@ -112,16 +117,16 @@ + (void)aslMessageReceived:(aslmsg)msg { NSDate *timeStamp = [NSDate dateWithTimeIntervalSince1970:totalSeconds]; - DDLogMessage *logMessage = [[DDLogMessage alloc]initWithMessage:message - level:_captureLevel - flag:flag - context:0 - file:@"DDASLLogCapture" - function:nil - line:0 - tag:nil - options:0 - timestamp:timeStamp]; + DDLogMessage *logMessage = [[DDLogMessage alloc] initWithMessage:message + level:_captureLevel + flag:flag + context:0 + file:@"DDASLLogCapture" + function:nil + line:0 + tag:nil + options:0 + timestamp:timeStamp]; [DDLog log:async message:logMessage]; } diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogger.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogger.m index eadad91..bb853c1 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogger.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogger.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,20 +13,25 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#import +#import #if !TARGET_OS_WATCH -#import #if !__has_feature(objc_arc) #error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC). #endif -const char* const kDDASLKeyDDLog = "DDLog"; +#import +#import + +const char* const kDDASLKeyDDLog = "DDLog"; const char* const kDDASLDDLogValue = "1"; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated" static DDASLLogger *sharedInstance; +#pragma clang diagnostic pop @interface DDASLLogger () { aslclient _client; @@ -35,7 +40,10 @@ @interface DDASLLogger () { @end +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-implementations" @implementation DDASLLogger +#pragma clang diagnostic pop + (instancetype)sharedInstance { static dispatch_once_t DDASLLoggerOnceToken; diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDAbstractDatabaseLogger.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDAbstractDatabaseLogger.m index 429ae4f..cd2d90a 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDAbstractDatabaseLogger.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDAbstractDatabaseLogger.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,17 +13,20 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#import - - #if !__has_feature(objc_arc) #error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC). #endif +#import + @interface DDAbstractDatabaseLogger () - (void)destroySaveTimer; +- (void)updateAndResumeSaveTimer; +- (void)createSuspendedSaveTimer; - (void)destroyDeleteTimer; +- (void)updateDeleteTimer; +- (void)createAndStartDeleteTimer; @end @@ -88,9 +91,9 @@ - (void)performSaveAndSuspendSaveTimer { _unsavedCount = 0; _unsavedTime = 0; - if (_saveTimer && !_saveTimerSuspended) { + if (_saveTimer != NULL && _saveTimerSuspended == 0) { dispatch_suspend(_saveTimer); - _saveTimerSuspended = YES; + _saveTimerSuspended = 1; } } @@ -107,32 +110,50 @@ - (void)performDelete { //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - (void)destroySaveTimer { - if (_saveTimer) { + if (_saveTimer != NULL) { dispatch_source_cancel(_saveTimer); - if (_saveTimerSuspended) { - // Must resume a timer before releasing it (or it will crash) - dispatch_resume(_saveTimer); - _saveTimerSuspended = NO; + // Must activate a timer before releasing it (or it will crash) + if (@available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *)) { + if (_saveTimerSuspended < 0) { + dispatch_activate(_saveTimer); + } else if (_saveTimerSuspended > 0) { + dispatch_resume(_saveTimer); + } + } else { + if (_saveTimerSuspended != 0) { + dispatch_resume(_saveTimer); + } } #if !OS_OBJECT_USE_OBJC dispatch_release(_saveTimer); #endif _saveTimer = NULL; + _saveTimerSuspended = 0; } } - (void)updateAndResumeSaveTimer { - if ((_saveTimer != NULL) && (_saveInterval > 0.0) && (_unsavedTime > 0.0)) { + if ((_saveTimer != NULL) && (_saveInterval > 0.0) && (_unsavedTime > 0)) { uint64_t interval = (uint64_t)(_saveInterval * (NSTimeInterval) NSEC_PER_SEC); dispatch_time_t startTime = dispatch_time(_unsavedTime, (int64_t)interval); dispatch_source_set_timer(_saveTimer, startTime, interval, 1ull * NSEC_PER_SEC); - if (_saveTimerSuspended) { - dispatch_resume(_saveTimer); - _saveTimerSuspended = NO; + if (@available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *)) { + if (_saveTimerSuspended < 0) { + dispatch_activate(_saveTimer); + _saveTimerSuspended = 0; + } else if (_saveTimerSuspended > 0) { + dispatch_resume(_saveTimer); + _saveTimerSuspended = 0; + } + } else { + if (_saveTimerSuspended != 0) { + dispatch_resume(_saveTimer); + _saveTimerSuspended = 0; + } } } } @@ -145,12 +166,12 @@ - (void)createSuspendedSaveTimer { [self performSaveAndSuspendSaveTimer]; } }); - _saveTimerSuspended = YES; + _saveTimerSuspended = -1; } } - (void)destroyDeleteTimer { - if (_deleteTimer) { + if (_deleteTimer != NULL) { dispatch_source_cancel(_deleteTimer); #if !OS_OBJECT_USE_OBJC dispatch_release(_deleteTimer); @@ -185,9 +206,12 @@ - (void)createAndStartDeleteTimer { [self updateDeleteTimer]; - if (_deleteTimer != NULL) { + // We are sure that -updateDeleteTimer did call dispatch_source_set_timer() + // since it has the same guards on _deleteInterval and _maxAge + if (@available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *)) + dispatch_activate(_deleteTimer); + else dispatch_resume(_deleteTimer); - } } } } diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDFileLogger+Internal.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDFileLogger+Internal.h index 82d4608..97177cb 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDFileLogger+Internal.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDFileLogger+Internal.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDFileLogger.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDFileLogger.m index 10f2324..fc866b8 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDFileLogger.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDFileLogger.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,16 +13,14 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#import - -#import "DDFileLogger+Internal.h" - -#import - #if !__has_feature(objc_arc) #error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC). #endif +#import + +#import "DDFileLogger+Internal.h" + // We probably shouldn't be using DDLog() statements within the DDLog implementation. // But we still want to leave our log statements for any future debugging, // and to allow other developers to trace the implementation (which is a great learning tool). @@ -73,15 +71,6 @@ @implementation DDLogFileManagerDefault @synthesize maximumNumberOfLogFiles = _maximumNumberOfLogFiles; @synthesize logFilesDiskQuota = _logFilesDiskQuota; -+ (BOOL)automaticallyNotifiesObserversForKey:(NSString *)theKey { - - if ([theKey isEqualToString:@"maximumNumberOfLogFiles"] || [theKey isEqualToString:@"logFilesDiskQuota"]) { - return NO; - } else { - return [super automaticallyNotifiesObserversForKey:theKey]; - } -} - - (instancetype)init { return [self initWithLogsDirectory:nil]; } @@ -93,8 +82,8 @@ - (instancetype)initWithLogsDirectory:(nullable NSString *)aLogsDirectory { _fileDateFormatter = [[NSDateFormatter alloc] init]; [_fileDateFormatter setLocale:[NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]]; - [_fileDateFormatter setDateFormat: @"yyyy'-'MM'-'dd'--'HH'-'mm'-'ss'-'SSS'"]; [_fileDateFormatter setTimeZone:[NSTimeZone timeZoneForSecondsFromGMT:0]]; + [_fileDateFormatter setDateFormat: @"yyyy'-'MM'-'dd'--'HH'-'mm'-'ss'-'SSS'"]; if (aLogsDirectory.length > 0) { _logsDirectory = [aLogsDirectory copy]; @@ -102,11 +91,6 @@ - (instancetype)initWithLogsDirectory:(nullable NSString *)aLogsDirectory { _logsDirectory = [[self defaultLogsDirectory] copy]; } - NSKeyValueObservingOptions kvoOptions = NSKeyValueObservingOptionOld | NSKeyValueObservingOptionNew; - - [self addObserver:self forKeyPath:NSStringFromSelector(@selector(maximumNumberOfLogFiles)) options:kvoOptions context:nil]; - [self addObserver:self forKeyPath:NSStringFromSelector(@selector(logFilesDiskQuota)) options:kvoOptions context:nil]; - NSLogVerbose(@"DDFileLogManagerDefault: logsDirectory:\n%@", [self logsDirectory]); NSLogVerbose(@"DDFileLogManagerDefault: sortedLogFileNames:\n%@", [self sortedLogFileNames]); } @@ -132,40 +116,28 @@ - (instancetype)initWithLogsDirectory:(NSString *)logsDirectory #endif -- (void)dealloc { - // try-catch because the observer might be removed or never added. In this case, removeObserver throws and exception - @try { - [self removeObserver:self forKeyPath:NSStringFromSelector(@selector(maximumNumberOfLogFiles))]; - [self removeObserver:self forKeyPath:NSStringFromSelector(@selector(logFilesDiskQuota))]; - } @catch (NSException *exception) { - } +- (void)deleteOldFilesForConfigurationChange { + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ + @autoreleasepool { + // See method header for queue reasoning. + [self deleteOldLogFiles]; + } + }); } -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#pragma mark Configuration -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -- (void)observeValueForKeyPath:(NSString *)keyPath - ofObject:(__unused id)object - change:(NSDictionary *)change - context:(__unused void *)context { - NSNumber *old = change[NSKeyValueChangeOldKey]; - NSNumber *new = change[NSKeyValueChangeNewKey]; - - if ([old isEqual:new]) { - return; +- (void)setLogFilesDiskQuota:(unsigned long long)logFilesDiskQuota { + if (_logFilesDiskQuota != logFilesDiskQuota) { + _logFilesDiskQuota = logFilesDiskQuota; + NSLogInfo(@"DDFileLogManagerDefault: Responding to configuration change: logFilesDiskQuota"); + [self deleteOldFilesForConfigurationChange]; } +} - if ([keyPath isEqualToString:NSStringFromSelector(@selector(maximumNumberOfLogFiles))] || - [keyPath isEqualToString:NSStringFromSelector(@selector(logFilesDiskQuota))]) { - NSLogInfo(@"DDFileLogManagerDefault: Responding to configuration change: %@", keyPath); - - dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ - @autoreleasepool { - // See method header for queue reasoning. - [self deleteOldLogFiles]; - } - }); +- (void)setMaximumNumberOfLogFiles:(NSUInteger)maximumNumberOfLogFiles { + if (_maximumNumberOfLogFiles != maximumNumberOfLogFiles) { + _maximumNumberOfLogFiles = maximumNumberOfLogFiles; + NSLogInfo(@"DDFileLogManagerDefault: Responding to configuration change: maximumNumberOfLogFiles"); + [self deleteOldFilesForConfigurationChange]; } } @@ -581,6 +553,8 @@ - (instancetype)initWithDateFormatter:(nullable NSDateFormatter *)aDateFormatter } else { _dateFormatter = [[NSDateFormatter alloc] init]; [_dateFormatter setFormatterBehavior:NSDateFormatterBehavior10_4]; // 10.4+ style + [_dateFormatter setLocale:[NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]]; + [_dateFormatter setTimeZone:[NSTimeZone timeZoneForSecondsFromGMT:0]]; [_dateFormatter setDateFormat:@"yyyy/MM/dd HH:mm:ss:SSS"]; } } @@ -589,7 +563,7 @@ - (instancetype)initWithDateFormatter:(nullable NSDateFormatter *)aDateFormatter } - (NSString *)formatLogMessage:(DDLogMessage *)logMessage { - NSString *dateAndTime = [_dateFormatter stringFromDate:(logMessage->_timestamp)]; + NSString *dateAndTime = [_dateFormatter stringFromDate:logMessage->_timestamp]; return [NSString stringWithFormat:@"%@ %@", dateAndTime, logMessage->_message]; } @@ -651,9 +625,21 @@ - (instancetype)initWithLogFileManager:(id )aLogFileManager - (void)lt_cleanup { NSAssert([self isOnInternalLoggerQueue], @"lt_ methods should be on logger queue."); - [_currentLogFileHandle synchronizeFile]; - [_currentLogFileHandle closeFile]; - + if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)) { + __autoreleasing NSError *error; + BOOL synchronized = [_currentLogFileHandle synchronizeAndReturnError:&error]; + if (!synchronized) { + NSLogError(@"DDFileLogger: Failed to synchronize file: %@", error); + } + BOOL closed = [_currentLogFileHandle closeAndReturnError:&error]; + if (!closed) { + NSLogError(@"DDFileLogger: Failed to close file: %@", error); + } + } else { + [_currentLogFileHandle synchronizeFile]; + [_currentLogFileHandle closeFile]; + } + if (_currentLogFileVnode) { dispatch_source_cancel(_currentLogFileVnode); _currentLogFileVnode = NULL; @@ -837,7 +823,11 @@ - (void)lt_scheduleTimerToRollLogFileDueToAge { dispatch_time_t fireTime = dispatch_time(DISPATCH_TIME_NOW, delay); dispatch_source_set_timer(_rollingTimer, fireTime, DISPATCH_TIME_FOREVER, (uint64_t)kDDRollingLeeway * NSEC_PER_SEC); - dispatch_resume(_rollingTimer); + + if (@available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *)) + dispatch_activate(_rollingTimer); + else + dispatch_resume(_rollingTimer); } - (void)rollLogFile { @@ -882,20 +872,46 @@ - (void)lt_rollLogFileNow { if (_currentLogFileHandle == nil) { return; } - - [_currentLogFileHandle synchronizeFile]; - [_currentLogFileHandle closeFile]; + + if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)) { + __autoreleasing NSError *error; + BOOL synchronized = [_currentLogFileHandle synchronizeAndReturnError:&error]; + if (!synchronized) { + NSLogError(@"DDFileLogger: Failed to synchronize file: %@", error); + } + BOOL closed = [_currentLogFileHandle closeAndReturnError:&error]; + if (!closed) { + NSLogError(@"DDFileLogger: Failed to close file: %@", error); + } + } else { + [_currentLogFileHandle synchronizeFile]; + [_currentLogFileHandle closeFile]; + } _currentLogFileHandle = nil; _currentLogFileInfo.isArchived = YES; - BOOL logFileManagerRespondsToSelector = [_logFileManager respondsToSelector:@selector(didRollAndArchiveLogFile:)]; + + const BOOL logFileManagerRespondsToNewArchiveSelector = [_logFileManager respondsToSelector:@selector(didArchiveLogFile:wasRolled:)]; + const BOOL logFileManagerRespondsToSelector = (logFileManagerRespondsToNewArchiveSelector + || [_logFileManager respondsToSelector:@selector(didRollAndArchiveLogFile:)]); NSString *archivedFilePath = (logFileManagerRespondsToSelector) ? [_currentLogFileInfo.filePath copy] : nil; _currentLogFileInfo = nil; if (logFileManagerRespondsToSelector) { - dispatch_async(_completionQueue, ^{ - [self->_logFileManager didRollAndArchiveLogFile:archivedFilePath]; - }); + dispatch_block_t block; + if (logFileManagerRespondsToNewArchiveSelector) { + block = ^{ + [self->_logFileManager didArchiveLogFile:archivedFilePath wasRolled:YES]; + }; + } else { + block = ^{ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + [self->_logFileManager didRollAndArchiveLogFile:archivedFilePath]; +#pragma clang diagnostic pop + }; + } + dispatch_async(_completionQueue, block); } if (_currentLogFileVnode) { @@ -930,7 +946,17 @@ - (void)lt_maybeRollLogFileDueToSize { // We specifically wrote our own getter/setter method to allow us to do this (for performance reasons). if (_maximumFileSize > 0) { - unsigned long long fileSize = [_currentLogFileHandle offsetInFile]; + unsigned long long fileSize; + if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)) { + __autoreleasing NSError *error; + BOOL succeed = [_currentLogFileHandle getOffset:&fileSize error:&error]; + if (!succeed) { + NSLogError(@"DDFileLogger: Failed to get offset: %@", error); + return; + } + } else { + fileSize = [_currentLogFileHandle offsetInFile]; + } if (fileSize >= _maximumFileSize) { NSLogVerbose(@"DDFileLogger: Rolling log file due to size (%qu)...", fileSize); @@ -947,9 +973,7 @@ - (void)lt_maybeRollLogFileDueToSize { - (BOOL)lt_shouldLogFileBeArchived:(DDLogFileInfo *)mostRecentLogFileInfo { NSAssert([self isOnInternalLoggerQueue], @"lt_ methods should be on logger queue."); - if (mostRecentLogFileInfo.isArchived) { - return NO; - } else if ([self shouldArchiveRecentLogFileInfo:mostRecentLogFileInfo]) { + if ([self shouldArchiveRecentLogFileInfo:mostRecentLogFileInfo]) { return YES; } else if (_maximumFileSize > 0 && mostRecentLogFileInfo.fileSize >= _maximumFileSize) { return YES; @@ -967,7 +991,7 @@ - (BOOL)lt_shouldLogFileBeArchived:(DDLogFileInfo *)mostRecentLogFileInfo { // If previous log was created when app wasn't running in background, but now it is - we archive it and create // a new one. // - // If user has overwritten to NSFileProtectionNone there is no neeed to create a new one. + // If user has overwritten to NSFileProtectionNone there is no need to create a new one. if (doesAppRunInBackground()) { NSFileProtectionType key = mostRecentLogFileInfo.fileAttributes[NSFileProtectionKey]; BOOL isUntilFirstAuth = [key isEqualToString:NSFileProtectionCompleteUntilFirstUserAuthentication]; @@ -1066,11 +1090,23 @@ - (BOOL)lt_shouldUseLogFile:(nonnull DDLogFileInfo *)logFileInfo isResuming:(BOO if (isResuming && (_doNotReuseLogFiles || [self lt_shouldLogFileBeArchived:logFileInfo])) { logFileInfo.isArchived = YES; - if ([_logFileManager respondsToSelector:@selector(didArchiveLogFile:)]) { + const BOOL logFileManagerRespondsToNewArchiveSelector = [_logFileManager respondsToSelector:@selector(didArchiveLogFile:wasRolled:)]; + if (logFileManagerRespondsToNewArchiveSelector || [_logFileManager respondsToSelector:@selector(didArchiveLogFile:)]) { NSString *archivedFilePath = [logFileInfo.filePath copy]; - dispatch_async(_completionQueue, ^{ - [self->_logFileManager didArchiveLogFile:archivedFilePath]; - }); + dispatch_block_t block; + if (logFileManagerRespondsToNewArchiveSelector) { + block = ^{ + [self->_logFileManager didArchiveLogFile:archivedFilePath wasRolled:NO]; + }; + } else { + block = ^{ + #pragma clang diagnostic push + #pragma clang diagnostic ignored "-Wdeprecated-declarations" + [self->_logFileManager didArchiveLogFile:archivedFilePath]; + #pragma clang diagnostic pop + }; + } + dispatch_async(_completionQueue, block); } return NO; @@ -1084,11 +1120,10 @@ - (void)lt_monitorCurrentLogFileForExternalChanges { NSAssert([self isOnInternalLoggerQueue], @"lt_ methods should be on logger queue."); NSAssert(_currentLogFileHandle, @"Can not monitor without handle."); - dispatch_source_vnode_flags_t flags = DISPATCH_VNODE_DELETE | DISPATCH_VNODE_RENAME | DISPATCH_VNODE_REVOKE; _currentLogFileVnode = dispatch_source_create(DISPATCH_SOURCE_TYPE_VNODE, - (uintptr_t)[_currentLogFileHandle fileDescriptor], - flags, - _loggerQueue); + (uintptr_t)[_currentLogFileHandle fileDescriptor], + DISPATCH_VNODE_DELETE | DISPATCH_VNODE_RENAME | DISPATCH_VNODE_REVOKE, + _loggerQueue); __weak __auto_type weakSelf = self; dispatch_source_set_event_handler(_currentLogFileVnode, ^{ @autoreleasepool { @@ -1103,7 +1138,11 @@ - (void)lt_monitorCurrentLogFileForExternalChanges { }); #endif - dispatch_resume(_currentLogFileVnode); + if (@available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *)) { + dispatch_activate(_currentLogFileVnode); + } else { + dispatch_resume(_currentLogFileVnode); + } } - (NSFileHandle *)lt_currentLogFileHandle { @@ -1112,7 +1151,15 @@ - (NSFileHandle *)lt_currentLogFileHandle { if (!_currentLogFileHandle) { NSString *logFilePath = [[self lt_currentLogFileInfo] filePath]; _currentLogFileHandle = [NSFileHandle fileHandleForWritingAtPath:logFilePath]; - [_currentLogFileHandle seekToEndOfFile]; + if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)) { + __autoreleasing NSError *error; + BOOL succeed = [_currentLogFileHandle seekToEndReturningOffset:nil error:&error]; + if (!succeed) { + NSLogError(@"DDFileLogger: Failed to seek to end of file: %@", error); + } + } else { + [_currentLogFileHandle seekToEndOfFile]; + } if (_currentLogFileHandle) { [self lt_scheduleTimerToRollLogFileDueToAge]; @@ -1140,9 +1187,7 @@ - (void)logMessage:(DDLogMessage *)logMessage { [self lt_logData:data]; } -- (void)willLogMessage:(DDLogFileInfo *)logFileInfo { - -} +- (void)willLogMessage:(DDLogFileInfo *)logFileInfo {} - (void)didLogMessage:(DDLogFileInfo *)logFileInfo { [self lt_maybeRollLogFileDueToSize]; @@ -1183,7 +1228,15 @@ - (void)flush { - (void)lt_flush { NSAssert([self isOnInternalLoggerQueue], @"flush should only be executed on internal queue."); - [_currentLogFileHandle synchronizeFile]; + if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)) { + __autoreleasing NSError *error; + BOOL succeed = [_currentLogFileHandle synchronizeAndReturnError:&error]; + if (!succeed) { + NSLogError(@"DDFileLogger: Failed to synchronize file: %@", error); + } + } else { + [_currentLogFileHandle synchronizeFile]; + } } - (DDLoggerName)loggerName { @@ -1219,19 +1272,19 @@ - (void)logData:(NSData *)data { } } -- (void)dummyMethod {} +- (void)lt_deprecationCatchAll {} - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector { if (aSelector == @selector(willLogMessage) || aSelector == @selector(didLogMessage)) { // Ignore calls to deprecated methods. - return [self methodSignatureForSelector:@selector(dummyMethod)]; + return [self methodSignatureForSelector:@selector(lt_deprecationCatchAll)]; } return [super methodSignatureForSelector:aSelector]; } - (void)forwardInvocation:(NSInvocation *)anInvocation { - if (anInvocation.selector != @selector(dummyMethod)) { + if (anInvocation.selector != @selector(lt_deprecationCatchAll)) { [super forwardInvocation:anInvocation]; } } @@ -1263,8 +1316,20 @@ - (void)lt_logData:(NSData *)data { } NSFileHandle *handle = [self lt_currentLogFileHandle]; - [handle seekToEndOfFile]; - [handle writeData:data]; + if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)) { + __autoreleasing NSError *error; + BOOL sought = [handle seekToEndReturningOffset:nil error:&error]; + if (!sought) { + NSLogError(@"DDFileLogger: Failed to seek to end of file: %@", error); + } + BOOL written = [handle writeData:data error:&error]; + if (!written) { + NSLogError(@"DDFileLogger: Failed to write data: %@", error); + } + } else { + [handle seekToEndOfFile]; + [handle writeData:data]; + } if (implementsDeprecatedDidLog) { #pragma clang diagnostic push @@ -1640,10 +1705,17 @@ - (void)addExtendedAttributeWithName:(NSString *)attrName { int result = setxattr(path, name, "\1", 1, 0, 0); if (result < 0) { - NSLogError(@"DDLogFileInfo: setxattr(%@, %@): error = %s", - attrName, - filePath, - strerror(errno)); + if (errno != ENOENT) { + NSLogError(@"DDLogFileInfo: setxattr(%@, %@): error = %s", + attrName, + filePath, + strerror(errno)); + } else { + NSLogDebug(@"DDLogFileInfo: File does not exist in setxattr(%@, %@): error = %s", + attrName, + filePath, + strerror(errno)); + } } #if TARGET_IPHONE_SIMULATOR else { diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDLog.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDLog.m index 559a439..017b966 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDLog.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDLog.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,13 +13,10 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -// Disable legacy macros -#ifndef DD_LEGACY_MACROS - #define DD_LEGACY_MACROS 0 +#if !__has_feature(objc_arc) +#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC). #endif -#import - #import #import #import @@ -31,11 +28,13 @@ #import #endif - -#if !__has_feature(objc_arc) -#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC). +// Disable legacy macros +#ifndef DD_LEGACY_MACROS + #define DD_LEGACY_MACROS 0 #endif +#import + // We probably shouldn't be using DDLog() statements within the DDLog implementation. // But we still want to leave our log statements for any future debugging, // and to allow other developers to trace the implementation (which is a great learning tool). @@ -49,21 +48,6 @@ #define NSLogDebug(frmt, ...) do{ if(DD_DEBUG) NSLog((frmt), ##__VA_ARGS__); } while(0) -// Specifies the maximum queue size of the logging thread. -// -// Since most logging is asynchronous, its possible for rogue threads to flood the logging queue. -// That is, to issue an abundance of log statements faster than the logging thread can keep up. -// Typically such a scenario occurs when log statements are added haphazardly within large loops, -// but may also be possible if relatively slow loggers are being used. -// -// This property caps the queue size at a given number of outstanding log statements. -// If a thread attempts to issue a log statement when the queue is already maxed out, -// the issuing thread will block until the queue size drops below the max again. - -#ifndef DDLOG_MAX_QUEUE_SIZE - #define DDLOG_MAX_QUEUE_SIZE 1000 // Should not exceed INT32_MAX -#endif - // The "global logging queue" refers to [DDLog loggingQueue]. // It is the queue that all log statements go through. // @@ -113,10 +97,6 @@ @implementation DDLog // Each logger has it's own associated queue, and a dispatch group is used for synchronization. static dispatch_group_t _loggingGroup; -// In order to prevent to queue from growing infinitely large, -// a maximum size is enforced (DDLOG_MAX_QUEUE_SIZE). -static dispatch_semaphore_t _queueSemaphore; - // Minor optimization for uniprocessor machines static NSUInteger _numProcessors; @@ -157,8 +137,6 @@ + (void)initialize { void *nonNullValue = GlobalLoggingQueueIdentityKey; // Whatever, just not null dispatch_queue_set_specific(_loggingQueue, GlobalLoggingQueueIdentityKey, nonNullValue, NULL); - _queueSemaphore = dispatch_semaphore_create(DDLOG_MAX_QUEUE_SIZE); - // Figure out how many processors are available. // This may be used later for an optimization on uniprocessor machines. @@ -339,19 +317,7 @@ - (void)queueLogMessage:(DDLogMessage *)logMessage asynchronously:(BOOL)asyncFla // Now assume we have another separate thread that attempts to issue log message G. // It should block until log messages A and B have been unqueued. - - // We are using a counting semaphore provided by GCD. - // The semaphore is initialized with our DDLOG_MAX_QUEUE_SIZE value. - // Every time we want to queue a log message we decrement this value. - // If the resulting value is less than zero, - // the semaphore function waits in FIFO order for a signal to occur before returning. - // - // A dispatch semaphore is an efficient implementation of a traditional counting semaphore. - // Dispatch semaphores call down to the kernel only when the calling thread needs to be blocked. - // If the calling semaphore does not need to block, no kernel call is made. - dispatch_block_t logBlock = ^{ - dispatch_semaphore_wait(_queueSemaphore, DISPATCH_TIME_FOREVER); // We're now sure we won't overflow the queue. // It is time to queue our log message. @autoreleasepool { @@ -522,6 +488,9 @@ + (void)flushLog { } - (void)flushLog { + NSAssert(!dispatch_get_specific(GlobalLoggingQueueIdentityKey), + @"This method shouldn't be run on the logging thread/queue that make flush fast enough"); + dispatch_sync(_loggingQueue, ^{ @autoreleasepool { [self lt_flush]; } }); @@ -869,22 +838,6 @@ - (void)lt_log:(DDLogMessage *)logMessage { } }); } } - - // If our queue got too big, there may be blocked threads waiting to add log messages to the queue. - // Since we've now dequeued an item from the log, we may need to unblock the next thread. - - // We are using a counting semaphore provided by GCD. - // The semaphore is initialized with our DDLOG_MAX_QUEUE_SIZE value. - // When a log message is queued this value is decremented. - // When a log message is dequeued this value is incremented. - // If the value ever drops below zero, - // the queueing thread blocks and waits in FIFO order for us to signal it. - // - // A dispatch semaphore is an efficient implementation of a traditional counting semaphore. - // Dispatch semaphores call down to the kernel only when the calling thread needs to be blocked. - // If the calling semaphore does not need to block, no kernel call is made. - - dispatch_semaphore_signal(_queueSemaphore); } - (void)lt_flush { @@ -1045,7 +998,13 @@ - (instancetype)initWithMessage:(NSString *)message _function = copyFunction ? [function copy] : function; _line = line; - _tag = tag; + _representedObject = tag; +#if DD_LEGACY_MESSAGE_TAG +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + _tag = tag; +#pragma clang diagnostic pop +#endif _options = options; _timestamp = timestamp ?: [NSDate new]; @@ -1067,13 +1026,53 @@ - (instancetype)initWithMessage:(NSString *)message // Try to get the current queue's label _queueLabel = [[NSString alloc] initWithFormat:@"%s", dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL)]; - - if (@available(macOS 10.10, iOS 8.0, *)) - _qos = (NSUInteger) qos_class_self(); + _qos = (NSUInteger) qos_class_self(); } return self; } +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } else if (![super isEqual:other] || ![other isKindOfClass:[self class]]) { + return NO; + } else { + __auto_type otherMsg = (DDLogMessage *)other; + return [otherMsg->_message isEqualToString:_message] + && otherMsg->_level == _level + && otherMsg->_flag == _flag + && otherMsg->_context == _context + && [otherMsg->_file isEqualToString:_file] + && [otherMsg->_fileName isEqualToString:_fileName] + && [otherMsg->_function isEqualToString:_function] + && otherMsg->_line == _line + && (([otherMsg->_representedObject respondsToSelector:@selector(isEqual:)] && [otherMsg->_representedObject isEqual:_representedObject]) || otherMsg->_representedObject == _representedObject) + && otherMsg->_options == _options + && [otherMsg->_timestamp isEqualToDate:_timestamp] + && [otherMsg->_threadID isEqualToString:_threadID] // If the thread ID is the same, the name will likely be the same as well. + && [otherMsg->_queueLabel isEqualToString:_queueLabel] + && otherMsg->_qos == _qos; + } +} + +- (NSUInteger)hash { + return [super hash] + ^ _message.hash + ^ _level + ^ _flag + ^ _context + ^ _file.hash + ^ _fileName.hash + ^ _function.hash + ^ _line + ^ ([_representedObject respondsToSelector:@selector(hash)] ? [_representedObject hash] : 0) + ^ _options + ^ _timestamp.hash + ^ _threadID.hash + ^ _queueLabel.hash + ^ _qos; +} + - (id)copyWithZone:(NSZone * __attribute__((unused)))zone { DDLogMessage *newMessage = [DDLogMessage new]; @@ -1085,7 +1084,13 @@ - (id)copyWithZone:(NSZone * __attribute__((unused)))zone { newMessage->_fileName = _fileName; newMessage->_function = _function; newMessage->_line = _line; + newMessage->_representedObject = _representedObject; +#if DD_LEGACY_MESSAGE_TAG +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" newMessage->_tag = _tag; +#pragma clang diagnostic pop +#endif newMessage->_options = _options; newMessage->_timestamp = _timestamp; newMessage->_threadID = _threadID; @@ -1096,6 +1101,11 @@ - (id)copyWithZone:(NSZone * __attribute__((unused)))zone { return newMessage; } +// ensure compatibility even when built with DD_LEGACY_MESSAGE_TAG to 0. +- (id)tag { + return _representedObject; +} + @end diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDLoggerNames.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDLoggerNames.m index c4ef29f..7289c38 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDLoggerNames.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDLoggerNames.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDOSLogger.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDOSLogger.m index a678ea5..e7984c8 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDOSLogger.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDOSLogger.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,10 +13,10 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#import - #import +#import + @interface DDOSLogger () { NSString *_subsystem; NSString *_category; diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDTTYLogger.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDTTYLogger.m index f622ed4..221cc7a 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDTTYLogger.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/DDTTYLogger.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,14 +13,14 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#import - -#import - #if !__has_feature(objc_arc) #error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC). #endif +#import + +#import + // We probably shouldn't be using DDLog() statements within the DDLog implementation. // But we still want to leave our log statements for any future debugging, // and to allow other developers to trace the implementation (which is a great learning tool). @@ -1184,8 +1184,8 @@ - (void)logMessage:(DDLogMessage *)logMessage { DDTTYLoggerColorProfile *colorProfile = nil; if (_colorsEnabled) { - if (logMessage->_tag) { - colorProfile = _colorProfilesDict[logMessage->_tag]; + if (logMessage->_representedObject) { + colorProfile = _colorProfilesDict[logMessage->_representedObject]; } if (colorProfile == nil) { @@ -1218,20 +1218,21 @@ - (void)logMessage:(DDLogMessage *)logMessage { NSUInteger msgLen = [logMsg lengthOfBytesUsingEncoding:NSUTF8StringEncoding]; const BOOL useStack = msgLen < (1024 * 4); - char msgStack[useStack ? (msgLen + 1) : 1]; // Analyzer doesn't like zero-size array, hence the 1 - char *msg = useStack ? msgStack : (char *)calloc(msgLen + 1, sizeof(char)); - + char *msg; + if (useStack) { + msg = (char *)alloca(msgLen + 1); + } else { + msg = (char *)calloc(msgLen + 1, sizeof(char)); + } if (msg == NULL) { return; } BOOL logMsgEnc = [logMsg getCString:msg maxLength:(msgLen + 1) encoding:NSUTF8StringEncoding]; - if (!logMsgEnc) { - if (!useStack && msg != NULL) { + if (!useStack) { free(msg); } - return; } @@ -1239,7 +1240,7 @@ - (void)logMessage:(DDLogMessage *)logMessage { if (isFormatted) { // The log message has already been formatted. - int iovec_len = (_automaticallyAppendNewlineForCustomFormatters) ? 5 : 4; + const int iovec_len = (_automaticallyAppendNewlineForCustomFormatters) ? 5 : 4; struct iovec v[iovec_len]; if (colorProfile) { @@ -1262,7 +1263,7 @@ - (void)logMessage:(DDLogMessage *)logMessage { v[iovec_len - 1].iov_len = 0; } - v[2].iov_base = (char *)msg; + v[2].iov_base = msg; v[2].iov_len = msgLen; if (iovec_len == 5) { diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDContextFilterLogFormatter+Deprecated.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDContextFilterLogFormatter+Deprecated.m new file mode 100644 index 0000000..effc3ff --- /dev/null +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDContextFilterLogFormatter+Deprecated.m @@ -0,0 +1,57 @@ +// Software License Agreement (BSD License) +// +// Copyright (c) 2010-2021, Deusty, LLC +// All rights reserved. +// +// Redistribution and use of this software in source and binary forms, +// with or without modification, are permitted provided that the following conditions are met: +// +// * Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// * Neither the name of Deusty nor the names of its contributors may be used +// to endorse or promote products derived from this software without specific +// prior written permission of Deusty, LLC. + +#import + +@implementation DDContextAllowlistFilterLogFormatter (Deprecated) + +- (void)addToWhitelist:(NSInteger)loggingContext { + [self addToAllowlist:loggingContext]; +} + +- (void)removeFromWhitelist:(NSInteger)loggingContext { + [self removeFromAllowlist:loggingContext]; +} + +- (NSArray *)whitelist { + return [self allowlist]; +} + +- (BOOL)isOnWhitelist:(NSInteger)loggingContext { + return [self isOnAllowlist:loggingContext]; +} + +@end + + +@implementation DDContextDenylistFilterLogFormatter (Deprecated) + +- (void)addToBlacklist:(NSInteger)loggingContext { + [self addToDenylist:loggingContext]; +} + +- (void)removeFromBlacklist:(NSInteger)loggingContext { + [self removeFromDenylist:loggingContext]; +} + +- (NSArray *)blacklist { + return [self denylist]; +} + +- (BOOL)isOnBlacklist:(NSInteger)loggingContext { + return [self isOnDenylist:loggingContext]; +} + +@end diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDContextFilterLogFormatter.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDContextFilterLogFormatter.m index 2be8a11..aab9aed 100755 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDContextFilterLogFormatter.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDContextFilterLogFormatter.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,13 +13,14 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#import -#import - #if !__has_feature(objc_arc) #error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC). #endif +#import + +#import + @interface DDLoggingContextSet : NSObject @property (readonly, copy, nonnull) NSArray *currentSet; @@ -35,41 +36,38 @@ - (BOOL)isInSet:(NSInteger)loggingContext; #pragma mark - //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -@interface DDContextWhitelistFilterLogFormatter () { +@interface DDContextAllowlistFilterLogFormatter () { DDLoggingContextSet *_contextSet; } - @end - -@implementation DDContextWhitelistFilterLogFormatter +@implementation DDContextAllowlistFilterLogFormatter - (instancetype)init { if ((self = [super init])) { _contextSet = [[DDLoggingContextSet alloc] init]; } - return self; } -- (void)addToWhitelist:(NSInteger)loggingContext { +- (void)addToAllowlist:(NSInteger)loggingContext { [_contextSet addToSet:loggingContext]; } -- (void)removeFromWhitelist:(NSInteger)loggingContext { +- (void)removeFromAllowlist:(NSInteger)loggingContext { [_contextSet removeFromSet:loggingContext]; } -- (NSArray *)whitelist { +- (NSArray *)allowlist { return [_contextSet currentSet]; } -- (BOOL)isOnWhitelist:(NSInteger)loggingContext { +- (BOOL)isOnAllowlist:(NSInteger)loggingContext { return [_contextSet isInSet:loggingContext]; } - (NSString *)formatLogMessage:(DDLogMessage *)logMessage { - if ([self isOnWhitelist:logMessage->_context]) { + if ([self isOnAllowlist:logMessage->_context]) { return logMessage->_message; } else { return nil; @@ -78,45 +76,39 @@ - (NSString *)formatLogMessage:(DDLogMessage *)logMessage { @end -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#pragma mark - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -@interface DDContextBlacklistFilterLogFormatter () { +@interface DDContextDenylistFilterLogFormatter () { DDLoggingContextSet *_contextSet; } - @end - -@implementation DDContextBlacklistFilterLogFormatter +@implementation DDContextDenylistFilterLogFormatter - (instancetype)init { if ((self = [super init])) { _contextSet = [[DDLoggingContextSet alloc] init]; } - return self; } -- (void)addToBlacklist:(NSInteger)loggingContext { +- (void)addToDenylist:(NSInteger)loggingContext { [_contextSet addToSet:loggingContext]; } -- (void)removeFromBlacklist:(NSInteger)loggingContext { +- (void)removeFromDenylist:(NSInteger)loggingContext { [_contextSet removeFromSet:loggingContext]; } -- (NSArray *)blacklist { +- (NSArray *)denylist { return [_contextSet currentSet]; } -- (BOOL)isOnBlacklist:(NSInteger)loggingContext { +- (BOOL)isOnDenylist:(NSInteger)loggingContext { return [_contextSet isInSet:loggingContext]; } - (NSString *)formatLogMessage:(DDLogMessage *)logMessage { - if ([self isOnBlacklist:logMessage->_context]) { + if ([self isOnDenylist:logMessage->_context]) { return nil; } else { return logMessage->_message; @@ -129,15 +121,12 @@ - (NSString *)formatLogMessage:(DDLogMessage *)logMessage { #pragma mark - //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - @interface DDLoggingContextSet () { pthread_mutex_t _mutex; NSMutableSet *_set; } - @end - @implementation DDLoggingContextSet - (instancetype)init { diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDDispatchQueueLogFormatter.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDDispatchQueueLogFormatter.m index e849db7..a1c4efb 100755 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDDispatchQueueLogFormatter.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDDispatchQueueLogFormatter.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,14 +13,15 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#import +#if !__has_feature(objc_arc) +#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC). +#endif + #import #import #import -#if !__has_feature(objc_arc) -#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC). -#endif +#import DDQualityOfServiceName const DDQualityOfServiceUserInteractive = @"UI"; DDQualityOfServiceName const DDQualityOfServiceUserInitiated = @"IN"; @@ -51,7 +52,6 @@ @interface DDDispatchQueueLogFormatter () { NSUInteger _maxQueueLength; // _prefix == Only access via atomic property NSMutableDictionary *_replacements; // _prefix == Only access from within spinlock } - @end @@ -228,9 +228,7 @@ - (NSString *)formatLogMessage:(DDLogMessage *)logMessage { NSString *timestamp = [self stringFromDate:(logMessage->_timestamp)]; NSString *queueThreadLabel = [self queueThreadLabelForLogMessage:logMessage]; - if (@available(macOS 10.10, iOS 8.0, *)) - return [NSString stringWithFormat:@"%@ [%@ (QOS:%@)] %@", timestamp, queueThreadLabel, _qos_name(logMessage->_qos), logMessage->_message]; - return [NSString stringWithFormat:@"%@ [%@] %@", timestamp, queueThreadLabel, logMessage->_message]; + return [NSString stringWithFormat:@"%@ [%@ (QOS:%@)] %@", timestamp, queueThreadLabel, _qos_name(logMessage->_qos), logMessage->_message]; } @end diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDFileLogger+Buffering.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDFileLogger+Buffering.m index 4e88125..578b345 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDFileLogger+Buffering.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDFileLogger+Buffering.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,11 +13,11 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#import "../DDFileLogger+Internal.h" -#import - #import +#import +#import "../DDFileLogger+Internal.h" + static const NSUInteger kDDDefaultBufferSize = 4096; // 4 kB, block f_bsize on iphone7 static const NSUInteger kDDMaxBufferSize = 1048576; // ~1 mB, f_iosize on iphone7 diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDMultiFormatter.m b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDMultiFormatter.m index b451819..f6f6dbd 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDMultiFormatter.m +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Extensions/DDMultiFormatter.m @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,12 +13,11 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#import - #if !__has_feature(objc_arc) #error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC). #endif +#import @interface DDMultiFormatter () { dispatch_queue_t _queue; diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Supporting Files/CocoaLumberjack.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Supporting Files/CocoaLumberjack.h index 734d6f7..baf01d7 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Supporting Files/CocoaLumberjack.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Supporting Files/CocoaLumberjack.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -90,6 +90,7 @@ FOUNDATION_EXPORT const unsigned char CocoaLumberjackVersionString[]; // Extensions #import +#import #import #import #import diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Supporting Files/DDLegacyMacros.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Supporting Files/DDLegacyMacros.h index 0e28333..d04d311 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Supporting Files/DDLegacyMacros.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/Supporting Files/DDLegacyMacros.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -61,7 +61,7 @@ Disable legacy macros by importing CocoaLumberjack.h or DDLogMacros.h instead of format : (frmt), ## __VA_ARGS__] #define LOG_MAYBE(async, lvl, flg, ctx, fnct, frmt, ...) \ - do { if(lvl & flg) LOG_MACRO(async, lvl, flg, ctx, nil, fnct, frmt, ##__VA_ARGS__); } while(0) + do { if((lvl & flg) != 0) LOG_MACRO(async, lvl, flg, ctx, nil, fnct, frmt, ##__VA_ARGS__); } while(0) #define LOG_OBJC_MAYBE(async, lvl, flg, ctx, frmt, ...) \ LOG_MAYBE(async, lvl, flg, ctx, __PRETTY_FUNCTION__, frmt, ## __VA_ARGS__) diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CLIColor.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/CLIColor.h similarity index 95% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CLIColor.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/CLIColor.h index 85e5991..8766b54 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CLIColor.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/CLIColor.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,6 +13,8 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. +#import + #if TARGET_OS_OSX #import diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDASLLogCapture.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDASLLogCapture.h similarity index 96% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDASLLogCapture.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDASLLogCapture.h index fa67bc4..6890754 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDASLLogCapture.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDASLLogCapture.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDASLLogger.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDASLLogger.h similarity index 97% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDASLLogger.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDASLLogger.h index c1ab1be..2024423 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDASLLogger.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDASLLogger.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDAbstractDatabaseLogger.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDAbstractDatabaseLogger.h similarity index 98% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDAbstractDatabaseLogger.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDAbstractDatabaseLogger.h index 5915bd3..3013758 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDAbstractDatabaseLogger.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDAbstractDatabaseLogger.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -38,7 +38,7 @@ NS_ASSUME_NONNULL_BEGIN NSTimeInterval _deleteInterval; BOOL _deleteOnEverySave; - BOOL _saveTimerSuspended; + NSInteger _saveTimerSuspended; NSUInteger _unsavedCount; dispatch_time_t _unsavedTime; dispatch_source_t _saveTimer; diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDAssertMacros.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDAssertMacros.h similarity index 86% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDAssertMacros.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDAssertMacros.h index 4c54633..8427576 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDAssertMacros.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDAssertMacros.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -23,3 +23,8 @@ NSAssert(NO, @"%@", description); \ } #define DDAssertCondition(condition) DDAssert(condition, @"Condition not satisfied: %s", #condition) + +/** + * Analog to `DDAssertionFailure` from DDAssert.swift for use in Objective C + */ +#define DDAssertionFailure(frmt, ...) DDAssert(NO, frmt, ##__VA_ARGS__) diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDContextFilterLogFormatter+Deprecated.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDContextFilterLogFormatter+Deprecated.h new file mode 100644 index 0000000..614b9ad --- /dev/null +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDContextFilterLogFormatter+Deprecated.h @@ -0,0 +1,119 @@ +// Software License Agreement (BSD License) +// +// Copyright (c) 2010-2021, Deusty, LLC +// All rights reserved. +// +// Redistribution and use of this software in source and binary forms, +// with or without modification, are permitted provided that the following conditions are met: +// +// * Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// * Neither the name of Deusty nor the names of its contributors may be used +// to endorse or promote products derived from this software without specific +// prior written permission of Deusty, LLC. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * This class provides a log formatter that filters log statements from a logging context not on the whitelist. + * @deprecated Use DDContextAllowlistFilterLogFormatter instead. + * + * A log formatter can be added to any logger to format and/or filter its output. + * You can learn more about log formatters here: + * Documentation/CustomFormatters.md + * + * You can learn more about logging context's here: + * Documentation/CustomContext.md + * + * But here's a quick overview / refresher: + * + * Every log statement has a logging context. + * These come from the underlying logging macros defined in DDLog.h. + * The default logging context is zero. + * You can define multiple logging context's for use in your application. + * For example, logically separate parts of your app each have a different logging context. + * Also 3rd party frameworks that make use of Lumberjack generally use their own dedicated logging context. + **/ +__attribute__((deprecated("Use DDContextAllowlistFilterLogFormatter instead"))) +typedef DDContextAllowlistFilterLogFormatter DDContextWhitelistFilterLogFormatter; + +@interface DDContextAllowlistFilterLogFormatter (Deprecated) + +/** + * Add a context to the whitelist + * @deprecated Use -addToAllowlist: instead. + * + * @param loggingContext the context + */ +- (void)addToWhitelist:(NSInteger)loggingContext __attribute__((deprecated("Use -addToAllowlist: instead"))); + +/** + * Remove context from whitelist + * @deprecated Use -removeFromAllowlist: instead. + * + * @param loggingContext the context + */ +- (void)removeFromWhitelist:(NSInteger)loggingContext __attribute__((deprecated("Use -removeFromAllowlist: instead"))); + +/** + * Return the whitelist + * @deprecated Use allowlist instead. + */ +@property (nonatomic, readonly, copy) NSArray *whitelist __attribute__((deprecated("Use allowlist instead"))); + +/** + * Check if a context is on the whitelist + * @deprecated Use -isOnAllowlist: instead. + * + * @param loggingContext the context + */ +- (BOOL)isOnWhitelist:(NSInteger)loggingContext __attribute__((deprecated("Use -isOnAllowlist: instead"))); + +@end + + +/** + * This class provides a log formatter that filters log statements from a logging context on the blacklist. + * @deprecated Use DDContextDenylistFilterLogFormatter instead. + **/ +__attribute__((deprecated("Use DDContextDenylistFilterLogFormatter instead"))) +typedef DDContextDenylistFilterLogFormatter DDContextBlacklistFilterLogFormatter; + +@interface DDContextDenylistFilterLogFormatter (Deprecated) + +/** + * Add a context to the blacklist + * @deprecated Use -addToDenylist: instead. + * + * @param loggingContext the context + */ +- (void)addToBlacklist:(NSInteger)loggingContext __attribute__((deprecated("Use -addToDenylist: instead"))); + +/** + * Remove context from blacklist + * @deprecated Use -removeFromDenylist: instead. + * + * @param loggingContext the context + */ +- (void)removeFromBlacklist:(NSInteger)loggingContext __attribute__((deprecated("Use -removeFromDenylist: instead"))); + +/** + * Return the blacklist + * @deprecated Use denylist instead. + */ +@property (readonly, copy) NSArray *blacklist __attribute__((deprecated("Use denylist instead"))); + +/** + * Check if a context is on the blacklist + * @deprecated Use -isOnDenylist: instead. + * + * @param loggingContext the context + */ +- (BOOL)isOnBlacklist:(NSInteger)loggingContext __attribute__((deprecated("Use -isOnDenylist: instead"))); + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDContextFilterLogFormatter.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDContextFilterLogFormatter.h similarity index 63% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDContextFilterLogFormatter.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDContextFilterLogFormatter.h index e124448..5e01578 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDContextFilterLogFormatter.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDContextFilterLogFormatter.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -25,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN /** - * This class provides a log formatter that filters log statements from a logging context not on the whitelist. + * This class provides a log formatter that filters log statements from a logging context not on the allowlist. * * A log formatter can be added to any logger to format and/or filter its output. * You can learn more about log formatters here: @@ -43,7 +43,7 @@ NS_ASSUME_NONNULL_BEGIN * For example, logically separate parts of your app each have a different logging context. * Also 3rd party frameworks that make use of Lumberjack generally use their own dedicated logging context. **/ -@interface DDContextWhitelistFilterLogFormatter : NSObject +@interface DDContextAllowlistFilterLogFormatter : NSObject /** * Designated default initializer @@ -51,70 +51,66 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init NS_DESIGNATED_INITIALIZER; /** - * Add a context to the whitelist + * Add a context to the allowlist * * @param loggingContext the context */ -- (void)addToWhitelist:(NSInteger)loggingContext; +- (void)addToAllowlist:(NSInteger)loggingContext; /** - * Remove context from whitelist + * Remove context from allowlist * * @param loggingContext the context */ -- (void)removeFromWhitelist:(NSInteger)loggingContext; +- (void)removeFromAllowlist:(NSInteger)loggingContext; /** - * Return the whitelist + * Return the allowlist */ -@property (nonatomic, readonly, copy) NSArray *whitelist; +@property (nonatomic, readonly, copy) NSArray *allowlist; /** - * Check if a context is on the whitelist + * Check if a context is on the allowlist * * @param loggingContext the context */ -- (BOOL)isOnWhitelist:(NSInteger)loggingContext; +- (BOOL)isOnAllowlist:(NSInteger)loggingContext; @end -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#pragma mark - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** - * This class provides a log formatter that filters log statements from a logging context on the blacklist. + * This class provides a log formatter that filters log statements from a logging context on the denylist. **/ -@interface DDContextBlacklistFilterLogFormatter : NSObject +@interface DDContextDenylistFilterLogFormatter : NSObject - (instancetype)init NS_DESIGNATED_INITIALIZER; /** - * Add a context to the blacklist + * Add a context to the denylist * * @param loggingContext the context */ -- (void)addToBlacklist:(NSInteger)loggingContext; +- (void)addToDenylist:(NSInteger)loggingContext; /** - * Remove context from blacklist + * Remove context from denylist * * @param loggingContext the context */ -- (void)removeFromBlacklist:(NSInteger)loggingContext; +- (void)removeFromDenylist:(NSInteger)loggingContext; /** - * Return the blacklist + * Return the denylist */ -@property (readonly, copy) NSArray *blacklist; - +@property (readonly, copy) NSArray *denylist; /** - * Check if a context is on the blacklist + * Check if a context is on the denylist * * @param loggingContext the context */ -- (BOOL)isOnBlacklist:(NSInteger)loggingContext; +- (BOOL)isOnDenylist:(NSInteger)loggingContext; @end diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDDispatchQueueLogFormatter.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDDispatchQueueLogFormatter.h similarity index 92% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDDispatchQueueLogFormatter.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDDispatchQueueLogFormatter.h index 3230192..7ab31ad 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDDispatchQueueLogFormatter.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDDispatchQueueLogFormatter.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -63,14 +63,14 @@ typedef NS_ENUM(NSUInteger, DDDispatchQueueLogFormatterMode){ * * Note: QOS will be absent in the log messages if running on OS versions that don't support it. **/ -typedef NSString * DDQualityOfServiceName NS_EXTENSIBLE_STRING_ENUM; - -FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceUserInteractive API_AVAILABLE(macos(10.10), ios(8.0)); -FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceUserInitiated API_AVAILABLE(macos(10.10), ios(8.0)); -FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceDefault API_AVAILABLE(macos(10.10), ios(8.0)); -FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceUtility API_AVAILABLE(macos(10.10), ios(8.0)); -FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceBackground API_AVAILABLE(macos(10.10), ios(8.0)); -FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceUnspecified API_AVAILABLE(macos(10.10), ios(8.0)); +typedef NSString * DDQualityOfServiceName NS_STRING_ENUM; + +FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceUserInteractive NS_SWIFT_NAME(DDQualityOfServiceName.userInteractive) API_AVAILABLE(macos(10.10), ios(8.0)); +FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceUserInitiated NS_SWIFT_NAME(DDQualityOfServiceName.userInitiated) API_AVAILABLE(macos(10.10), ios(8.0)); +FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceDefault NS_SWIFT_NAME(DDQualityOfServiceName.default) API_AVAILABLE(macos(10.10), ios(8.0)); +FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceUtility NS_SWIFT_NAME(DDQualityOfServiceName.utility) API_AVAILABLE(macos(10.10), ios(8.0)); +FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceBackground NS_SWIFT_NAME(DDQualityOfServiceName.background) API_AVAILABLE(macos(10.10), ios(8.0)); +FOUNDATION_EXPORT DDQualityOfServiceName const DDQualityOfServiceUnspecified NS_SWIFT_NAME(DDQualityOfServiceName.unspecified) API_AVAILABLE(macos(10.10), ios(8.0)); /** * This class provides a log formatter that prints the dispatch_queue label instead of the mach_thread_id. diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDFileLogger+Buffering.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDFileLogger+Buffering.h similarity index 95% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDFileLogger+Buffering.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDFileLogger+Buffering.h index 6dbb94b..f20eead 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDFileLogger+Buffering.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDFileLogger+Buffering.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDFileLogger.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDFileLogger.h similarity index 96% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDFileLogger.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDFileLogger.h index 559d7a7..bc53edb 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDFileLogger.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDFileLogger.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -161,16 +161,22 @@ extern unsigned long long const kDDDefaultLogFilesDiskQuota; // Notifications from DDFileLogger +/// Called when a log file was archived. Executed on global queue with default priority. +/// @param logFilePath The path to the log file that was archived. +/// @param wasRolled Whether or not the archiving happend after rolling the log file. +- (void)didArchiveLogFile:(NSString *)logFilePath wasRolled:(BOOL)wasRolled NS_SWIFT_NAME(didArchiveLogFile(atPath:wasRolled:)); + +// Deprecated APIs /** * Called when a log file was archived. Executed on global queue with default priority. */ -- (void)didArchiveLogFile:(NSString *)logFilePath NS_SWIFT_NAME(didArchiveLogFile(atPath:)); +- (void)didArchiveLogFile:(NSString *)logFilePath NS_SWIFT_NAME(didArchiveLogFile(atPath:)) __attribute__((deprecated("Use -didArchiveLogFile:wasRolled:"))); /** * Called when the roll action was executed and the log was archived. * Executed on global queue with default priority. */ -- (void)didRollAndArchiveLogFile:(NSString *)logFilePath NS_SWIFT_NAME(didRollAndArchiveLogFile(atPath:)); +- (void)didRollAndArchiveLogFile:(NSString *)logFilePath NS_SWIFT_NAME(didRollAndArchiveLogFile(atPath:)) __attribute__((deprecated("Use -didArchiveLogFile:wasRolled:"))); @end @@ -284,7 +290,6 @@ extern unsigned long long const kDDDefaultLogFilesDiskQuota; - (NSArray *)sortedLogFilePaths; - (NSArray *)sortedLogFileNames; - (NSArray *)sortedLogFileInfos; - */ @end @@ -340,8 +345,9 @@ extern unsigned long long const kDDDefaultLogFilesDiskQuota; /** * Designated initializer, requires a `DDLogFileManager` instance. - * The completionQueue is used to execute `didArchiveLogFile`, `didRollAndArchiveLogFile`, - * and the callback in `rollLog`. If nil, a global queue w/ default priority is used. + * The completionQueue is used to execute `didArchiveLogFile:wasRolled:`, + * and the callback in `rollLogFileWithCompletionBlock:`. + * If nil, a global queue w/ default priority is used. */ - (instancetype)initWithLogFileManager:(id )logFileManager completionQueue:(nullable dispatch_queue_t)dispatchQueue NS_DESIGNATED_INITIALIZER; diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLog+LOGV.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLog+LOGV.h similarity index 98% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLog+LOGV.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLog+LOGV.h index 969a461..7526116 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLog+LOGV.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLog+LOGV.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLog.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLog.h similarity index 98% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLog.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLog.h index 1b1287f..1dd595e 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLog.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLog.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -25,6 +25,10 @@ #import #endif +#ifndef DD_LEGACY_MESSAGE_TAG + #define DD_LEGACY_MESSAGE_TAG 1 +#endif + // Names of loggers. #import @@ -621,7 +625,7 @@ FOUNDATION_EXTERN NSString * __nullable DDExtractFileNameWithoutExtension(const * For example, a database logger may only save occasionally as the disk IO is slow. * In such loggers, this method should be implemented to flush any pending IO. * - * This allows invocations of DDLog's flushLog method to be propogated to loggers that need it. + * This allows invocations of DDLog's flushLog method to be propagated to loggers that need it. * * Note that DDLog's flushLog method is invoked automatically when the application quits, * and it may be also invoked manually by the developer prior to application crashes, or other such reasons. @@ -778,7 +782,10 @@ typedef NS_OPTIONS(NSInteger, DDLogMessageOptions){ NSString *_fileName; NSString *_function; NSUInteger _line; - id _tag; + #if DD_LEGACY_MESSAGE_TAG + id _tag __attribute__((deprecated("Use _representedObject instead", "_representedObject")));; + #endif + id _representedObject; DDLogMessageOptions _options; NSDate * _timestamp; NSString *_threadID; @@ -845,7 +852,10 @@ typedef NS_OPTIONS(NSInteger, DDLogMessageOptions){ @property (readonly, nonatomic) NSString *fileName; @property (readonly, nonatomic, nullable) NSString * function; @property (readonly, nonatomic) NSUInteger line; -@property (readonly, nonatomic, nullable) id tag; +#if DD_LEGACY_MESSAGE_TAG +@property (readonly, nonatomic, nullable) id tag __attribute__((deprecated("Use representedObject instead", "representedObject"))); +#endif +@property (readonly, nonatomic, nullable) id representedObject; @property (readonly, nonatomic) DDLogMessageOptions options; @property (readonly, nonatomic) NSDate *timestamp; @property (readonly, nonatomic) NSString *threadID; // ID as it appears in NSLog calculated from the machThreadID diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLogMacros.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLogMacros.h similarity index 95% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLogMacros.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLogMacros.h index a1ccf30..a29bebb 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLogMacros.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLogMacros.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -80,10 +80,10 @@ * We also define shorthand versions for asynchronous and synchronous logging. **/ #define LOG_MAYBE(async, lvl, flg, ctx, tag, fnct, frmt, ...) \ - do { if(lvl & flg) LOG_MACRO(async, lvl, flg, ctx, tag, fnct, frmt, ##__VA_ARGS__); } while(0) + do { if((lvl & flg) != 0) LOG_MACRO(async, lvl, flg, ctx, tag, fnct, frmt, ##__VA_ARGS__); } while(0) #define LOG_MAYBE_TO_DDLOG(ddlog, async, lvl, flg, ctx, tag, fnct, frmt, ...) \ - do { if(lvl & flg) LOG_MACRO_TO_DDLOG(ddlog, async, lvl, flg, ctx, tag, fnct, frmt, ##__VA_ARGS__); } while(0) + do { if((lvl & flg) != 0) LOG_MACRO_TO_DDLOG(ddlog, async, lvl, flg, ctx, tag, fnct, frmt, ##__VA_ARGS__); } while(0) /** * Ready to use log macros with no context or tag. diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLoggerNames.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLoggerNames.h similarity index 83% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLoggerNames.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLoggerNames.h index a5d95ad..395c81d 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDLoggerNames.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLoggerNames.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -17,14 +17,14 @@ NS_ASSUME_NONNULL_BEGIN -typedef NSString *DDLoggerName NS_TYPED_EXTENSIBLE_ENUM; +typedef NSString *DDLoggerName NS_EXTENSIBLE_STRING_ENUM; -FOUNDATION_EXPORT DDLoggerName const DDLoggerNameOS NS_SWIFT_NAME(DDLoggerName.os); // DDOSLogger +FOUNDATION_EXPORT DDLoggerName const DDLoggerNameOS NS_SWIFT_NAME(DDLoggerName.os); // DDOSLogger FOUNDATION_EXPORT DDLoggerName const DDLoggerNameFile NS_SWIFT_NAME(DDLoggerName.file); // DDFileLogger -FOUNDATION_EXPORT DDLoggerName const DDLoggerNameTTY NS_SWIFT_NAME(DDLoggerName.tty); // DDTTYLogger +FOUNDATION_EXPORT DDLoggerName const DDLoggerNameTTY NS_SWIFT_NAME(DDLoggerName.tty); // DDTTYLogger API_DEPRECATED("Use DDOSLogger instead", macosx(10.4, 10.12), ios(2.0, 10.0), watchos(2.0, 3.0), tvos(9.0, 10.0)) -FOUNDATION_EXPORT DDLoggerName const DDLoggerNameASL NS_SWIFT_NAME(DDLoggerName.asl); // DDASLLogger +FOUNDATION_EXPORT DDLoggerName const DDLoggerNameASL NS_SWIFT_NAME(DDLoggerName.asl); // DDASLLogger NS_ASSUME_NONNULL_END diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDMultiFormatter.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDMultiFormatter.h similarity index 97% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDMultiFormatter.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDMultiFormatter.h index a33e100..3ab99e5 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDMultiFormatter.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDMultiFormatter.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDOSLogger.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDOSLogger.h similarity index 97% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDOSLogger.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDOSLogger.h index 672ebb6..9601587 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDOSLogger.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDOSLogger.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDTTYLogger.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDTTYLogger.h similarity index 99% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDTTYLogger.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDTTYLogger.h index 5f814f2..bd61331 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/DDTTYLogger.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDTTYLogger.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/CocoaLumberjack.swift b/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/CocoaLumberjack.swift index 8e40e63..fd3b0ff 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/CocoaLumberjack.swift +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/CocoaLumberjack.swift @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, @@ -13,8 +13,8 @@ // to endorse or promote products derived from this software without specific // prior written permission of Deusty, LLC. -#if SWIFT_PACKAGE @_exported import CocoaLumberjack +#if SWIFT_PACKAGE import CocoaLumberjackSwiftSupport #endif @@ -78,7 +78,7 @@ public func resetDefaultDebugLevel() { public var asyncLoggingEnabled = true @inlinable -public func _DDLogMessage(_ message: @autoclosure () -> String, +public func _DDLogMessage(_ message: @autoclosure () -> Any, level: DDLogLevel, flag: DDLogFlag, context: Int, @@ -92,7 +92,7 @@ public func _DDLogMessage(_ message: @autoclosure () -> String, // We cannot "mix" it with the `DDDefaultLogLevel`, because otherwise the compiler won't strip strings that are not logged. if level.rawValue & flag.rawValue != 0 && dynamicLogLevel.rawValue & flag.rawValue != 0 { // Tell the DDLogMessage constructor to copy the C strings that get passed to it. - let logMessage = DDLogMessage(message: message(), + let logMessage = DDLogMessage(message: String(describing: message()), level: level, flag: flag, context: context, @@ -107,7 +107,7 @@ public func _DDLogMessage(_ message: @autoclosure () -> String, } @inlinable -public func DDLogDebug(_ message: @autoclosure () -> String, +public func DDLogDebug(_ message: @autoclosure () -> Any, level: DDLogLevel = DDDefaultLogLevel, context: Int = 0, file: StaticString = #file, @@ -120,7 +120,7 @@ public func DDLogDebug(_ message: @autoclosure () -> String, } @inlinable -public func DDLogInfo(_ message: @autoclosure () -> String, +public func DDLogInfo(_ message: @autoclosure () -> Any, level: DDLogLevel = DDDefaultLogLevel, context: Int = 0, file: StaticString = #file, @@ -133,7 +133,7 @@ public func DDLogInfo(_ message: @autoclosure () -> String, } @inlinable -public func DDLogWarn(_ message: @autoclosure () -> String, +public func DDLogWarn(_ message: @autoclosure () -> Any, level: DDLogLevel = DDDefaultLogLevel, context: Int = 0, file: StaticString = #file, @@ -146,7 +146,7 @@ public func DDLogWarn(_ message: @autoclosure () -> String, } @inlinable -public func DDLogVerbose(_ message: @autoclosure () -> String, +public func DDLogVerbose(_ message: @autoclosure () -> Any, level: DDLogLevel = DDDefaultLogLevel, context: Int = 0, file: StaticString = #file, @@ -159,7 +159,7 @@ public func DDLogVerbose(_ message: @autoclosure () -> String, } @inlinable -public func DDLogError(_ message: @autoclosure () -> String, +public func DDLogError(_ message: @autoclosure () -> Any, level: DDLogLevel = DDDefaultLogLevel, context: Int = 0, file: StaticString = #file, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/DDAssert.swift b/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/DDAssert.swift index 5b51d33..e5d1d1a 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/DDAssert.swift +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/DDAssert.swift @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/DDLog+Combine.swift b/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/DDLog+Combine.swift new file mode 100644 index 0000000..041ae74 --- /dev/null +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwift/DDLog+Combine.swift @@ -0,0 +1,122 @@ +// Software License Agreement (BSD License) +// +// Copyright (c) 2010-2021, Deusty, LLC +// All rights reserved. +// +// Redistribution and use of this software in source and binary forms, +// with or without modification, are permitted provided that the following conditions are met: +// +// * Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// * Neither the name of Deusty nor the names of its contributors may be used +// to endorse or promote products derived from this software without specific +// prior written permission of Deusty, LLC. + +#if canImport(Combine) + +import Combine + +#if SWIFT_PACKAGE +import CocoaLumberjack +import CocoaLumberjackSwiftSupport +#endif + +@available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) +extension DDLog { + + /** + * Creates a message publisher. + * + * The publisher will add and remove loggers as subscriptions are added and removed. + * + * The level that you provide here is a preemptive filter (for performance). + * That is, the level specified here will be used to filter out logMessages so that + * the logger is never even invoked for the messages. + * + * More information: + * See -[DDLog addLogger:with:] + * + * - Parameter logLevel: preemptive filter of the message returned by the publisher. All levels are sent by default + * - Returns: A MessagePublisher that emits LogMessages filtered by the specified logLevel + **/ + public func messagePublisher(with logLevel: DDLogLevel = .all) -> MessagePublisher { + return MessagePublisher(log: self, with: logLevel) + } + + // MARK: - MessagePublisher + + @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) + public struct MessagePublisher: Combine.Publisher { + + public typealias Output = DDLogMessage + public typealias Failure = Never + + private let log: DDLog + private let logLevel: DDLogLevel + + public init(log: DDLog, with logLevel: DDLogLevel) { + self.log = log + self.logLevel = logLevel + } + + public func receive(subscriber: S) where S: Subscriber, S.Failure == Failure, S.Input == Output { + + let subscription = Subscription(log: self.log, with: logLevel, subscriber: subscriber) + subscriber.receive(subscription: subscription) + } + } + + // MARK: - Subscription + + private final class Subscription: NSObject, DDLogger, Combine.Subscription + where S.Input == DDLogMessage + { + private var subscriber: S? + private weak var log: DDLog? + + //Not used but DDLogger requires it. The preferred way to achieve this is to use the `map()` Combine operator of the publisher. + //ie: + // DDLog.sharedInstance.messagePublisher() + // .map { [format log message] } + // .sink(receiveValue: { [process log message] }) + // + var logFormatter: DDLogFormatter? = nil + + let combineIdentifier = CombineIdentifier() + + init(log: DDLog, with logLevel: DDLogLevel, subscriber: S) { + + self.subscriber = subscriber + self.log = log + + super.init() + + log.add(self, with: logLevel) + } + + func request(_ demand: Subscribers.Demand) { + //The log messages are endless until canceled, so we won't do any demand management. + //Combine operators can be used to deal with it as needed. + } + + func cancel() { + self.log?.remove(self) + self.subscriber = nil + } + + func log(message logMessage: DDLogMessage) { + _ = self.subscriber?.receive(logMessage) + } + } +} + +@available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) +extension Publisher where Output == DDLogMessage { + + public func formatted(with formatter: DDLogFormatter) -> Publishers.CompactMap { + return compactMap { formatter.format(message: $0) } + } +} + +#endif diff --git a/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwiftSupport/include/SwiftLogLevel.h b/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwiftSupport/include/CocoaLumberjackSwiftSupport/SwiftLogLevel.h similarity index 95% rename from Pods/CocoaLumberjack/Sources/CocoaLumberjackSwiftSupport/include/SwiftLogLevel.h rename to Pods/CocoaLumberjack/Sources/CocoaLumberjackSwiftSupport/include/CocoaLumberjackSwiftSupport/SwiftLogLevel.h index c792fdc..e957704 100644 --- a/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwiftSupport/include/SwiftLogLevel.h +++ b/Pods/CocoaLumberjack/Sources/CocoaLumberjackSwiftSupport/include/CocoaLumberjackSwiftSupport/SwiftLogLevel.h @@ -1,6 +1,6 @@ // Software License Agreement (BSD License) // -// Copyright (c) 2010-2020, Deusty, LLC +// Copyright (c) 2010-2021, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock index 5f7a4b2..e0f1354 100644 --- a/Pods/Manifest.lock +++ b/Pods/Manifest.lock @@ -1,14 +1,14 @@ PODS: - - AppCenter (2.5.3): - - AppCenter/Analytics (= 2.5.3) - - AppCenter/Crashes (= 2.5.3) - - AppCenter/Analytics (2.5.3): + - AppCenter (4.1.1): + - AppCenter/Analytics (= 4.1.1) + - AppCenter/Crashes (= 4.1.1) + - AppCenter/Analytics (4.1.1): - AppCenter/Core - - AppCenter/Core (2.5.3) - - AppCenter/Crashes (2.5.3): + - AppCenter/Core (4.1.1) + - AppCenter/Crashes (4.1.1): - AppCenter/Core - - CocoaLumberjack/Core (3.6.1) - - CocoaLumberjack/Swift (3.6.1): + - CocoaLumberjack/Core (3.7.2) + - CocoaLumberjack/Swift (3.7.2): - CocoaLumberjack/Core DEPENDENCIES: @@ -21,9 +21,9 @@ SPEC REPOS: - CocoaLumberjack SPEC CHECKSUMS: - AppCenter: 765ff38c4d360fc5ec61b61a8be24d74cd6d4d83 - CocoaLumberjack: b17ae15142558d08bbacf69775fa10c4abbebcc9 + AppCenter: cd53e3ed3563cc720bcb806c9731a12389b40d44 + CocoaLumberjack: b7e05132ff94f6ae4dfa9d5bce9141893a21d9da PODFILE CHECKSUM: 3b97e283480b815248cc0f11e64d9f11932a152f -COCOAPODS: 1.9.3 +COCOAPODS: 1.10.1 diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj index 2d264b7..8fd891f 100644 --- a/Pods/Pods.xcodeproj/project.pbxproj +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -3,75 +3,78 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 51; objects = { /* Begin PBXAggregateTarget section */ A3282A5B2437E609EEB85861D7ECE717 /* AppCenter */ = { isa = PBXAggregateTarget; - buildConfigurationList = D0944D0DEFF9CDF0CBE6D4A41B195020 /* Build configuration list for PBXAggregateTarget "AppCenter" */; + buildConfigurationList = 5242D03FC5C1EAA4F817066052F80607 /* Build configuration list for PBXAggregateTarget "AppCenter" */; buildPhases = ( + AAD7D4593ED3B713FDA455F0E36487CE /* [CP] Copy XCFrameworks */, ); dependencies = ( ); name = AppCenter; - productName = AppCenter; }; /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ - 0265F252A09E5FA6C26381DA4CAF8079 /* CocoaLumberjack-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = ECC66D4EF1EC9F8A00286593C5537975 /* CocoaLumberjack-dummy.m */; }; - 051FAF71CAED233F64E10A1FE97ADEFD /* DDTTYLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A457FB2EDBFF5A2D2007F0F03C9F92C /* DDTTYLogger.m */; }; - 1ACE18FB9618325E6761FC7BB8E35376 /* DDLog.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A148B2715AA9BD806F3D6FA41D6E452 /* DDLog.m */; }; - 22568D121F150FCFA640B0175197C7C4 /* DDLoggerNames.m in Sources */ = {isa = PBXBuildFile; fileRef = B8EC6708060B4797C7794CBEF0247686 /* DDLoggerNames.m */; }; - 27586B29124FABF82AAC55429964450A /* DDFileLogger+Buffering.h in Headers */ = {isa = PBXBuildFile; fileRef = D49A2863D7650BB523C8020FFAB133A7 /* DDFileLogger+Buffering.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 353FC14BE702BFB5D9BAD92F7338B3EB /* DDLog+LOGV.h in Headers */ = {isa = PBXBuildFile; fileRef = 558146C022BF2B528EACB71CF1EDBAE7 /* DDLog+LOGV.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5965234C5F96F04527E7FFBEBAF6E191 /* DDTTYLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = CEEAC62405DE3292A5353ABB31716DEE /* DDTTYLogger.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5D56BA969D6EFFB8F15A0D7EB435C41F /* CocoaLumberjack-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F8F2C9946A6DE4A33056D84DF2362D7 /* CocoaLumberjack-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 649A9096456A7DC5E1045E443722991D /* DDLoggerNames.h in Headers */ = {isa = PBXBuildFile; fileRef = 62D31D7CAA49E2813AE95A87B6EC3D13 /* DDLoggerNames.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 65B3B0A18B7A1D742BB467F959FB9E41 /* DDFileLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 8EFA48D25DCEED1B45CA8206AE9C6413 /* DDFileLogger.m */; }; - 66D72D5B6EA704BE40B393A6F0A1B5F6 /* DDAbstractDatabaseLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F7139E08B40C3013D8EB27213D5E511 /* DDAbstractDatabaseLogger.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 77451FEEC21F5F4F94A37CE52F87CA58 /* DDContextFilterLogFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = B25AC5E23C541FE3312D0A03CCC9AF79 /* DDContextFilterLogFormatter.m */; }; - 7916B3022F0E241D986698991C745C16 /* DDContextFilterLogFormatter.h in Headers */ = {isa = PBXBuildFile; fileRef = 39762595789765538C71D0C8C81FD484 /* DDContextFilterLogFormatter.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7BFEE239D45EF5FC4026052A712A2D49 /* DDMultiFormatter.h in Headers */ = {isa = PBXBuildFile; fileRef = DB14278FDB683D859B5C061268588831 /* DDMultiFormatter.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7D486A49BC79417C10B6ED59D1F29973 /* DDASLLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = DD5D34874AD0A81123B78B61ABD44B69 /* DDASLLogger.m */; }; - 7ED4F32FB64818516F5D4FF442B640CF /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F940C819049CFF8741C0F5E3E075E607 /* Cocoa.framework */; }; - 82773CC13612C373B4D313D10D016985 /* CLIColor.m in Sources */ = {isa = PBXBuildFile; fileRef = 288F63005DC109C5AFC0B2E3469D3E4F /* CLIColor.m */; }; - 83EF552F3D8D3E12E3F0F3B7ADD6D3A4 /* DDDispatchQueueLogFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = FF8F098BFA269B067FA3FD870CCA1EC3 /* DDDispatchQueueLogFormatter.m */; }; - 887C7174EB5E789123DAD8403DB17946 /* Pods-Downloader-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C05B75E337023E743ADA9BA09697C7F /* Pods-Downloader-dummy.m */; }; - 8F5BD7EB4F1FDF034E047D01B616197D /* CocoaLumberjack.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7351E8AF356DBD3E7C331A2472D006F5 /* CocoaLumberjack.swift */; }; - 9A4D43262635B18C802B17485FAE2D38 /* DDLegacyMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 07C115BF6D131371FE19F1925438C83F /* DDLegacyMacros.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A3DD30BA881E3D94258F0887BCF4944B /* DDFileLogger+Buffering.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E11C88703F2BBB10EE3BE3F261A5B5E /* DDFileLogger+Buffering.m */; }; - A907EF76A9D5FF8E392290B10E97ED69 /* DDDispatchQueueLogFormatter.h in Headers */ = {isa = PBXBuildFile; fileRef = CB23F596A5F1B97A89B916595BDAFF2B /* DDDispatchQueueLogFormatter.h */; settings = {ATTRIBUTES = (Public, ); }; }; - AAC9ECA67A80A03C3761E73F34F043A3 /* DDASLLogCapture.m in Sources */ = {isa = PBXBuildFile; fileRef = 58C4525EC97E4C8D413535C00C3CC694 /* DDASLLogCapture.m */; }; - B3EB08EB089E239B7FF725EE8A352E93 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F940C819049CFF8741C0F5E3E075E607 /* Cocoa.framework */; }; - B8FFCC85726A84D09376205AB404513D /* DDLog.h in Headers */ = {isa = PBXBuildFile; fileRef = 5B9072D9BE3CB89AE02FDCA7059D961F /* DDLog.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B99DB958F2C7DA6223C0D2CABE7299AD /* DDOSLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 872BC0A89B63972430C66821AD0F72EB /* DDOSLogger.m */; }; - BA873BE7155FCC56E178360D4E54992B /* DDAbstractDatabaseLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = AB40254CAB35545C00217E813EBA5AFF /* DDAbstractDatabaseLogger.m */; }; - C4E060E3D1AB869610D1ACBA2AD852FD /* DDASLLogCapture.h in Headers */ = {isa = PBXBuildFile; fileRef = 176CAADCC228975371EAF1D34C0A3E7F /* DDASLLogCapture.h */; settings = {ATTRIBUTES = (Public, ); }; }; - CA98B616E393378017EB03F4997E9476 /* DDOSLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = EA915932160C4FBCF1FA2CF46699B3A4 /* DDOSLogger.h */; settings = {ATTRIBUTES = (Public, ); }; }; - DA2DD0CB6F0E3CC436D18CF167DA4484 /* DDLogMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 3D3A0C47413EB94F5CE873FC79CED527 /* DDLogMacros.h */; settings = {ATTRIBUTES = (Public, ); }; }; - DCB4BC4CB3BFC32F3A975995BEB6F92B /* DDMultiFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = F86A17CE577A4B66DF3939B7E10347A5 /* DDMultiFormatter.m */; }; - DF747880838AE175B6F8FAB59EDE34F3 /* Pods-Downloader-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BBBC2B284B03D8DFB8284017B481F01 /* Pods-Downloader-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E28271382E0061543ADBF1D1A026692D /* DDASLLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = 695B26BF54684BB032E566C8E989B6C2 /* DDASLLogger.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E3AEEA91A67D0F8E24F52FE562ABF1B6 /* DDFileLogger+Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = DC01DB61A61ED2BF11315F8BCB4D682B /* DDFileLogger+Internal.h */; settings = {ATTRIBUTES = (Private, ); }; }; - E9E9554C02CA5FC8F7F134D4BA53B6C6 /* DDAssertMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = D0D37706502D3E13C4DD7987362E72C6 /* DDAssertMacros.h */; settings = {ATTRIBUTES = (Public, ); }; }; - EBD52493DDF31B7F9F1F731195214D80 /* SwiftLogLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = 95AB2B6580DD9B0340C13CD2FBCDA20D /* SwiftLogLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - ECCD7732CF0D16FCC90DB83E75D73495 /* DDFileLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = F32273C04C2B317A9471059606DA8754 /* DDFileLogger.h */; settings = {ATTRIBUTES = (Public, ); }; }; - EFFCEE76EDA4E17534AA3E8D48523439 /* CocoaLumberjack.h in Headers */ = {isa = PBXBuildFile; fileRef = AC4BB9755601E1144AA47198A97A9326 /* CocoaLumberjack.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F7A1CB7A1DAC0FFC21CE547FFC3F09C6 /* DDAssert.swift in Sources */ = {isa = PBXBuildFile; fileRef = 06129AC4BE60BCB7F20E0EB289CE3ED8 /* DDAssert.swift */; }; - FCFA53A0A359E33E514B981BB7AF7771 /* CLIColor.h in Headers */ = {isa = PBXBuildFile; fileRef = 1BFB18C55E471A5C2EE9B06791288939 /* CLIColor.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 016F6B908BB437FF7F0AE11A18067FD5 /* SwiftLogLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = 1CFA70711377B20CCA94B1F0F3935D23 /* SwiftLogLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 01CE51FB76D0147E1872C7CD10F7C761 /* DDTTYLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = D7A70E53B5F915701FAC48222529F166 /* DDTTYLogger.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1D58446DEC8D6C2AD6985FBE1D84CE85 /* CocoaLumberjack-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BAB7FACB8AFD7E870B8DE9F5D472F7E2 /* CocoaLumberjack-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 227DBC24F49B733022CB34D18901F0A8 /* DDContextFilterLogFormatter+Deprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 0649D0B35939E71AC0F0B23CAC6308C6 /* DDContextFilterLogFormatter+Deprecated.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 243897837AF23E4F4D6487B35322EDB1 /* DDTTYLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = ABB598247B6925A8AE9E34E759885009 /* DDTTYLogger.m */; }; + 26CF55B50EFD96F686F1034DC77FC1B1 /* DDLoggerNames.h in Headers */ = {isa = PBXBuildFile; fileRef = 558A37FADD47CDA5E6B31679CB03FE52 /* DDLoggerNames.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 275006D423BADF47527E436D22F11FAF /* DDContextFilterLogFormatter.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DA115FA4DFD424EB0E3F3A772CDCC8D /* DDContextFilterLogFormatter.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2C765699AF1CF1A778E416159FA66908 /* DDFileLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A14AD4CEB3A0F3CA114FE5AF0C7E4B6 /* DDFileLogger.m */; }; + 30188DA09667D4A5C2DD5709211EB8E9 /* DDAssert.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93FE146D9D0D574344FE05367644AB69 /* DDAssert.swift */; }; + 37D87A1D06D08EB7E51435CCA893F0C0 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C1430F003D39D9906881A6AC724B7931 /* Cocoa.framework */; }; + 37F5190466279B220EBEC62B21BE6299 /* DDASLLogCapture.h in Headers */ = {isa = PBXBuildFile; fileRef = 12AF8A3E57F92134AC73A460AFE96733 /* DDASLLogCapture.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3D66E09ED7F26517B27AECDD30EDA5A2 /* Pods-Downloader-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BBBC2B284B03D8DFB8284017B481F01 /* Pods-Downloader-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 42488D973FD3B653FC0D6E950E13AAF9 /* DDLog.m in Sources */ = {isa = PBXBuildFile; fileRef = AA79C931FE9D5E1F8D76CF74B7B41EAD /* DDLog.m */; }; + 4536834B0F6D3F4ED48748D8D7DFCFE5 /* CLIColor.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D73848EDCEE2CD9848B5D6C5C60126C /* CLIColor.m */; }; + 472DB6DBAE1A77BC90155D079EFDB532 /* DDFileLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = D7A1FA23849A8F4F0C918315EB2FC2D4 /* DDFileLogger.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 49EE80ACE832DFB751960D04383848F6 /* DDAbstractDatabaseLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = B5BBF7B3383A5F6E8D9C0863015C4B22 /* DDAbstractDatabaseLogger.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5428B95B1A635363D142E862BFA62880 /* DDLoggerNames.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E5AAB4C2CDF74745AB44209B66ECEFC /* DDLoggerNames.m */; }; + 56F91FA81942575207E08BC8A4282F1A /* DDLog+LOGV.h in Headers */ = {isa = PBXBuildFile; fileRef = 3019C9277310FF2288B3CA8666549690 /* DDLog+LOGV.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5AAAE8F6550BABD77821CF4997DC762F /* DDOSLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 101C8767746425E5BA8B3527E432AABF /* DDOSLogger.m */; }; + 67EBC918B2AC3A624FA3D28BBDF03559 /* DDFileLogger+Buffering.m in Sources */ = {isa = PBXBuildFile; fileRef = E6CFB333F8048CD7537204BE5F8CAA3A /* DDFileLogger+Buffering.m */; }; + 6BE61A3FFBB1B93D7656FCABE5E71017 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C1430F003D39D9906881A6AC724B7931 /* Cocoa.framework */; }; + 6F000658E97C8980D2EE8094E8AB79A2 /* CocoaLumberjack.h in Headers */ = {isa = PBXBuildFile; fileRef = 52FBDC3B2F5B8AE0FA68A3744E8B6E3F /* CocoaLumberjack.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7B185D5D43D37E3A35B559B23460587D /* DDFileLogger+Buffering.h in Headers */ = {isa = PBXBuildFile; fileRef = E35E79AC09E30CD979469DC41D851A7D /* DDFileLogger+Buffering.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8587059C8E400C517C9928CB61FDF93E /* DDLogMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = BB53DF29692182CAB6B9EC7293FB6C7A /* DDLogMacros.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8768BEA4827F91747A5BE59BDC26F715 /* DDMultiFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = E6334607A142A5A70852B5E80942BF1C /* DDMultiFormatter.m */; }; + 881788D7EAABC905B6D11AC2D8FE5E5D /* DDASLLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = A7C1767EFC6D8C29D5881156B3D0DC6A /* DDASLLogger.m */; }; + 89DC125A9D9CF44BE96919FC482E0A11 /* DDDispatchQueueLogFormatter.h in Headers */ = {isa = PBXBuildFile; fileRef = 79E9D0F952725708033CA257624209A0 /* DDDispatchQueueLogFormatter.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 931B2A750443D856378E3853A275EBE0 /* DDOSLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = C1909ACD0F0F4AE3A2120B1E2D1FC5CE /* DDOSLogger.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 996140530D9D6CF311D4C8FCB4E9F216 /* Pods-Downloader-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C05B75E337023E743ADA9BA09697C7F /* Pods-Downloader-dummy.m */; }; + 9D1708AEB1261F7D8E4FA78952CAEDE8 /* DDAbstractDatabaseLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = B784CD1CD7CEDEC8952BC9E739A0E76F /* DDAbstractDatabaseLogger.m */; }; + B141D91BA3589DD1D420958CE808626D /* DDMultiFormatter.h in Headers */ = {isa = PBXBuildFile; fileRef = 05743C1AF8271056505324873EEED19B /* DDMultiFormatter.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B61280234CCFEC90849C153EA6FB0001 /* CLIColor.h in Headers */ = {isa = PBXBuildFile; fileRef = 71911AA38CD16EB69B06AD834E1FFDE0 /* CLIColor.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C32091C58731FA5334AD866E69B6BC1C /* DDFileLogger+Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = F9CCACDDA12FC2ACD83BD48CA6E07C88 /* DDFileLogger+Internal.h */; settings = {ATTRIBUTES = (Private, ); }; }; + C8A6AA8D038EEF7D92D9C18CA267DD07 /* DDLog.h in Headers */ = {isa = PBXBuildFile; fileRef = A32CC7CAD0990D96DA824B0042987F0D /* DDLog.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CFB104E784E1DC06373350F66B6F8638 /* DDContextFilterLogFormatter+Deprecated.m in Sources */ = {isa = PBXBuildFile; fileRef = C6EDADA351D7235D1FD2F488CB30E57B /* DDContextFilterLogFormatter+Deprecated.m */; }; + D33BACF3A7CFA42EE1D519DDF938DF99 /* CocoaLumberjack-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E9127E2253A5FB925CD411BAB7BAC0E /* CocoaLumberjack-dummy.m */; }; + D5A0A5D7A642891025CF62D1C69A59A3 /* CocoaLumberjack.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03928A2414C135BA9099744BAF3A4A19 /* CocoaLumberjack.swift */; }; + D8D23187EB200B7750D7CDDAD9639286 /* DDASLLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = 614768E7AFC1796E1B767139EEC05F45 /* DDASLLogger.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DA8873CDEC36D66A0F34E77BBCCE4845 /* DDLegacyMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = F460F582DA72A2097F04BE6ABB96D52A /* DDLegacyMacros.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E59F6A5FB10EFCF131624E328C45382B /* DDDispatchQueueLogFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = C2120A6BA12BA44A9B1FB7C076C3E5B4 /* DDDispatchQueueLogFormatter.m */; }; + E6A3FDBB3C1A54886C4318A90A6A8AF8 /* DDLog+Combine.swift in Sources */ = {isa = PBXBuildFile; fileRef = F32C952102720D9D15886D654BA7DCD0 /* DDLog+Combine.swift */; }; + F60C6B8D4EF9E6D3FFA15B89BF821525 /* DDContextFilterLogFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = F106465B272A0483267F6ADFC8BC3695 /* DDContextFilterLogFormatter.m */; }; + FD1AC8EAD3A624BBF7D43E604B224932 /* DDAssertMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = DEF6D965BD170D3E189CA2DEF9125DD2 /* DDAssertMacros.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FDE0A67B15848E66E46EEB98136ACF5A /* DDASLLogCapture.m in Sources */ = {isa = PBXBuildFile; fileRef = 3713A0F6AC1B7383D26DC4286C7A7C27 /* DDASLLogCapture.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 8BF461D95C6093A8432612E9E3C2084D /* PBXContainerItemProxy */ = { + C88E28AC05C12D329BC5C098CE829765 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = E95654B155D25890BE8E26081FCA8265; remoteInfo = CocoaLumberjack; }; - C71526744D43D43BE8AC346E421262EE /* PBXContainerItemProxy */ = { + FEA3EA8E86B8EA75949A5180836FAB63 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; @@ -81,82 +84,86 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 06129AC4BE60BCB7F20E0EB289CE3ED8 /* DDAssert.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DDAssert.swift; path = Sources/CocoaLumberjackSwift/DDAssert.swift; sourceTree = ""; }; - 07C115BF6D131371FE19F1925438C83F /* DDLegacyMacros.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDLegacyMacros.h; path = "Sources/CocoaLumberjack/Supporting Files/DDLegacyMacros.h"; sourceTree = ""; }; + 031B7171DE3491E2253A9D69C3F66897 /* CocoaLumberjack-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "CocoaLumberjack-Info.plist"; sourceTree = ""; }; + 03928A2414C135BA9099744BAF3A4A19 /* CocoaLumberjack.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CocoaLumberjack.swift; path = Sources/CocoaLumberjackSwift/CocoaLumberjack.swift; sourceTree = ""; }; + 05743C1AF8271056505324873EEED19B /* DDMultiFormatter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDMultiFormatter.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDMultiFormatter.h; sourceTree = ""; }; + 0649D0B35939E71AC0F0B23CAC6308C6 /* DDContextFilterLogFormatter+Deprecated.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "DDContextFilterLogFormatter+Deprecated.h"; path = "Sources/CocoaLumberjack/include/CocoaLumberjack/DDContextFilterLogFormatter+Deprecated.h"; sourceTree = ""; }; + 101C8767746425E5BA8B3527E432AABF /* DDOSLogger.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDOSLogger.m; path = Sources/CocoaLumberjack/DDOSLogger.m; sourceTree = ""; }; + 12AF8A3E57F92134AC73A460AFE96733 /* DDASLLogCapture.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDASLLogCapture.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDASLLogCapture.h; sourceTree = ""; }; + 131E3711EAB4829378DDDB727695C1B6 /* CocoaLumberjack.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CocoaLumberjack.debug.xcconfig; sourceTree = ""; }; 1377E53A7030BB2EAAABF2B6E0576CF9 /* Pods-Downloader-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Downloader-acknowledgements.markdown"; sourceTree = ""; }; - 176CAADCC228975371EAF1D34C0A3E7F /* DDASLLogCapture.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDASLLogCapture.h; path = Sources/CocoaLumberjack/include/DDASLLogCapture.h; sourceTree = ""; }; - 1BFB18C55E471A5C2EE9B06791288939 /* CLIColor.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CLIColor.h; path = Sources/CocoaLumberjack/include/CLIColor.h; sourceTree = ""; }; - 1E11C88703F2BBB10EE3BE3F261A5B5E /* DDFileLogger+Buffering.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "DDFileLogger+Buffering.m"; path = "Sources/CocoaLumberjack/Extensions/DDFileLogger+Buffering.m"; sourceTree = ""; }; - 1F7139E08B40C3013D8EB27213D5E511 /* DDAbstractDatabaseLogger.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDAbstractDatabaseLogger.h; path = Sources/CocoaLumberjack/include/DDAbstractDatabaseLogger.h; sourceTree = ""; }; - 2078BB1887E5B9BC72CFCDE04120E4E6 /* Pods_Downloader.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Downloader.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 288F63005DC109C5AFC0B2E3469D3E4F /* CLIColor.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CLIColor.m; path = Sources/CocoaLumberjack/CLI/CLIColor.m; sourceTree = ""; }; - 29EEEF96715162B40D86C5B245EB9583 /* CocoaLumberjack-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "CocoaLumberjack-Info.plist"; sourceTree = ""; }; - 30C3211FD02B066FAA4E8D69C300F31A /* AppCenterAnalytics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppCenterAnalytics.framework; path = "AppCenter-SDK-Apple/macOS/AppCenterAnalytics.framework"; sourceTree = ""; }; - 39762595789765538C71D0C8C81FD484 /* DDContextFilterLogFormatter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDContextFilterLogFormatter.h; path = Sources/CocoaLumberjack/include/DDContextFilterLogFormatter.h; sourceTree = ""; }; - 3D3A0C47413EB94F5CE873FC79CED527 /* DDLogMacros.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDLogMacros.h; path = Sources/CocoaLumberjack/include/DDLogMacros.h; sourceTree = ""; }; - 4B4E8569E8F38CD9BE4540E1E2611647 /* CocoaLumberjack.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CocoaLumberjack.debug.xcconfig; sourceTree = ""; }; + 1CFA70711377B20CCA94B1F0F3935D23 /* SwiftLogLevel.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SwiftLogLevel.h; path = Sources/CocoaLumberjackSwiftSupport/include/CocoaLumberjackSwiftSupport/SwiftLogLevel.h; sourceTree = ""; }; + 1E5AAB4C2CDF74745AB44209B66ECEFC /* DDLoggerNames.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDLoggerNames.m; path = Sources/CocoaLumberjack/DDLoggerNames.m; sourceTree = ""; }; + 1E9127E2253A5FB925CD411BAB7BAC0E /* CocoaLumberjack-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "CocoaLumberjack-dummy.m"; sourceTree = ""; }; + 2078BB1887E5B9BC72CFCDE04120E4E6 /* Pods_Downloader.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Downloader.framework; path = "Pods-Downloader.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2DA115FA4DFD424EB0E3F3A772CDCC8D /* DDContextFilterLogFormatter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDContextFilterLogFormatter.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDContextFilterLogFormatter.h; sourceTree = ""; }; + 3019C9277310FF2288B3CA8666549690 /* DDLog+LOGV.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "DDLog+LOGV.h"; path = "Sources/CocoaLumberjack/include/CocoaLumberjack/DDLog+LOGV.h"; sourceTree = ""; }; + 3713A0F6AC1B7383D26DC4286C7A7C27 /* DDASLLogCapture.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDASLLogCapture.m; path = Sources/CocoaLumberjack/DDASLLogCapture.m; sourceTree = ""; }; + 3C3A97C1E0E2FBB82F7620E74C0DAE6B /* AppCenter.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AppCenter.debug.xcconfig; sourceTree = ""; }; 4C05B75E337023E743ADA9BA09697C7F /* Pods-Downloader-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Downloader-dummy.m"; sourceTree = ""; }; - 4F8F2C9946A6DE4A33056D84DF2362D7 /* CocoaLumberjack-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CocoaLumberjack-umbrella.h"; sourceTree = ""; }; - 52F41EEBDE3E1C7BB0B17D5D7CB143DF /* AppCenter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AppCenter.release.xcconfig; sourceTree = ""; }; - 558146C022BF2B528EACB71CF1EDBAE7 /* DDLog+LOGV.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "DDLog+LOGV.h"; path = "Sources/CocoaLumberjack/include/DDLog+LOGV.h"; sourceTree = ""; }; - 58C4525EC97E4C8D413535C00C3CC694 /* DDASLLogCapture.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDASLLogCapture.m; path = Sources/CocoaLumberjack/DDASLLogCapture.m; sourceTree = ""; }; - 5A148B2715AA9BD806F3D6FA41D6E452 /* DDLog.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDLog.m; path = Sources/CocoaLumberjack/DDLog.m; sourceTree = ""; }; - 5B9072D9BE3CB89AE02FDCA7059D961F /* DDLog.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDLog.h; path = Sources/CocoaLumberjack/include/DDLog.h; sourceTree = ""; }; - 62D31D7CAA49E2813AE95A87B6EC3D13 /* DDLoggerNames.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDLoggerNames.h; path = Sources/CocoaLumberjack/include/DDLoggerNames.h; sourceTree = ""; }; - 695B26BF54684BB032E566C8E989B6C2 /* DDASLLogger.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDASLLogger.h; path = Sources/CocoaLumberjack/include/DDASLLogger.h; sourceTree = ""; }; + 52FBDC3B2F5B8AE0FA68A3744E8B6E3F /* CocoaLumberjack.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CocoaLumberjack.h; path = "Sources/CocoaLumberjack/Supporting Files/CocoaLumberjack.h"; sourceTree = ""; }; + 558A37FADD47CDA5E6B31679CB03FE52 /* DDLoggerNames.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDLoggerNames.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDLoggerNames.h; sourceTree = ""; }; + 5A14AD4CEB3A0F3CA114FE5AF0C7E4B6 /* DDFileLogger.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDFileLogger.m; path = Sources/CocoaLumberjack/DDFileLogger.m; sourceTree = ""; }; + 614768E7AFC1796E1B767139EEC05F45 /* DDASLLogger.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDASLLogger.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDASLLogger.h; sourceTree = ""; }; 6B5F6966F6FCABCB066296512EEDC109 /* Pods-Downloader.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Downloader.release.xcconfig"; sourceTree = ""; }; 6B9A5B5D262004C1CF4F34D2C3D021EB /* Pods-Downloader.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Downloader.debug.xcconfig"; sourceTree = ""; }; - 7351E8AF356DBD3E7C331A2472D006F5 /* CocoaLumberjack.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CocoaLumberjack.swift; path = Sources/CocoaLumberjackSwift/CocoaLumberjack.swift; sourceTree = ""; }; - 7BA4DEB68025871FE07FD08AEC7D198A /* CocoaLumberjack-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CocoaLumberjack-prefix.pch"; sourceTree = ""; }; + 71911AA38CD16EB69B06AD834E1FFDE0 /* CLIColor.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CLIColor.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/CLIColor.h; sourceTree = ""; }; + 79E9D0F952725708033CA257624209A0 /* DDDispatchQueueLogFormatter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDDispatchQueueLogFormatter.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDDispatchQueueLogFormatter.h; sourceTree = ""; }; + 7ABBF4A5AC4D5E00BC5E5440BE8BAC0D /* CocoaLumberjack-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CocoaLumberjack-prefix.pch"; sourceTree = ""; }; 7BBBC2B284B03D8DFB8284017B481F01 /* Pods-Downloader-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Downloader-umbrella.h"; sourceTree = ""; }; - 872BC0A89B63972430C66821AD0F72EB /* DDOSLogger.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDOSLogger.m; path = Sources/CocoaLumberjack/DDOSLogger.m; sourceTree = ""; }; + 7EFCA0F1CCD8D7C3CDE698E3495386BF /* AppCenter-xcframeworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "AppCenter-xcframeworks.sh"; sourceTree = ""; }; + 8746CD51ACCD0B6E856C2D711DB87F2F /* AppCenter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AppCenter.release.xcconfig; sourceTree = ""; }; 8A91B3EC16CC5D945B030033F0D53D16 /* Pods-Downloader-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Downloader-frameworks.sh"; sourceTree = ""; }; - 8EFA48D25DCEED1B45CA8206AE9C6413 /* DDFileLogger.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDFileLogger.m; path = Sources/CocoaLumberjack/DDFileLogger.m; sourceTree = ""; }; - 95AB2B6580DD9B0340C13CD2FBCDA20D /* SwiftLogLevel.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SwiftLogLevel.h; path = Sources/CocoaLumberjackSwiftSupport/include/SwiftLogLevel.h; sourceTree = ""; }; - 9A457FB2EDBFF5A2D2007F0F03C9F92C /* DDTTYLogger.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDTTYLogger.m; path = Sources/CocoaLumberjack/DDTTYLogger.m; sourceTree = ""; }; + 8D73848EDCEE2CD9848B5D6C5C60126C /* CLIColor.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CLIColor.m; path = Sources/CocoaLumberjack/CLI/CLIColor.m; sourceTree = ""; }; + 93FE146D9D0D574344FE05367644AB69 /* DDAssert.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DDAssert.swift; path = Sources/CocoaLumberjackSwift/DDAssert.swift; sourceTree = ""; }; 9BCF575EFB02AD27C93C360883BED878 /* Pods-Downloader.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Downloader.modulemap"; sourceTree = ""; }; - 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - AB40254CAB35545C00217E813EBA5AFF /* DDAbstractDatabaseLogger.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDAbstractDatabaseLogger.m; path = Sources/CocoaLumberjack/DDAbstractDatabaseLogger.m; sourceTree = ""; }; - AC4BB9755601E1144AA47198A97A9326 /* CocoaLumberjack.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CocoaLumberjack.h; path = "Sources/CocoaLumberjack/Supporting Files/CocoaLumberjack.h"; sourceTree = ""; }; - B25AC5E23C541FE3312D0A03CCC9AF79 /* DDContextFilterLogFormatter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDContextFilterLogFormatter.m; path = Sources/CocoaLumberjack/Extensions/DDContextFilterLogFormatter.m; sourceTree = ""; }; - B4D7803D05E25B7D83CCABDCD1631F49 /* AppCenterCrashes.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppCenterCrashes.framework; path = "AppCenter-SDK-Apple/macOS/AppCenterCrashes.framework"; sourceTree = ""; }; - B8EC6708060B4797C7794CBEF0247686 /* DDLoggerNames.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDLoggerNames.m; path = Sources/CocoaLumberjack/DDLoggerNames.m; sourceTree = ""; }; - C261436D14052AE3C35F240BCD155CAC /* CocoaLumberjack.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CocoaLumberjack.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - CB23F596A5F1B97A89B916595BDAFF2B /* DDDispatchQueueLogFormatter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDDispatchQueueLogFormatter.h; path = Sources/CocoaLumberjack/include/DDDispatchQueueLogFormatter.h; sourceTree = ""; }; - CEEAC62405DE3292A5353ABB31716DEE /* DDTTYLogger.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDTTYLogger.h; path = Sources/CocoaLumberjack/include/DDTTYLogger.h; sourceTree = ""; }; - D0D37706502D3E13C4DD7987362E72C6 /* DDAssertMacros.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDAssertMacros.h; path = Sources/CocoaLumberjack/include/DDAssertMacros.h; sourceTree = ""; }; - D49A2863D7650BB523C8020FFAB133A7 /* DDFileLogger+Buffering.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "DDFileLogger+Buffering.h"; path = "Sources/CocoaLumberjack/include/DDFileLogger+Buffering.h"; sourceTree = ""; }; - D53C97B40606C74F6207B064B0E75B88 /* AppCenter.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AppCenter.debug.xcconfig; sourceTree = ""; }; - DB14278FDB683D859B5C061268588831 /* DDMultiFormatter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDMultiFormatter.h; path = Sources/CocoaLumberjack/include/DDMultiFormatter.h; sourceTree = ""; }; - DC01DB61A61ED2BF11315F8BCB4D682B /* DDFileLogger+Internal.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "DDFileLogger+Internal.h"; path = "Sources/CocoaLumberjack/DDFileLogger+Internal.h"; sourceTree = ""; }; - DD5D34874AD0A81123B78B61ABD44B69 /* DDASLLogger.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDASLLogger.m; path = Sources/CocoaLumberjack/DDASLLogger.m; sourceTree = ""; }; - DD8AFF773825A1DEB9EBDD8B97E468D9 /* CocoaLumberjack.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = CocoaLumberjack.modulemap; sourceTree = ""; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 9E931B5EE1001D50F73C81408B915A5F /* AppCenterCrashes.xcframework */ = {isa = PBXFileReference; includeInIndex = 1; name = AppCenterCrashes.xcframework; path = "AppCenter-SDK-Apple/AppCenterCrashes.xcframework"; sourceTree = ""; }; + A32CC7CAD0990D96DA824B0042987F0D /* DDLog.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDLog.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDLog.h; sourceTree = ""; }; + A7C1767EFC6D8C29D5881156B3D0DC6A /* DDASLLogger.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDASLLogger.m; path = Sources/CocoaLumberjack/DDASLLogger.m; sourceTree = ""; }; + AA79C931FE9D5E1F8D76CF74B7B41EAD /* DDLog.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDLog.m; path = Sources/CocoaLumberjack/DDLog.m; sourceTree = ""; }; + ABB598247B6925A8AE9E34E759885009 /* DDTTYLogger.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDTTYLogger.m; path = Sources/CocoaLumberjack/DDTTYLogger.m; sourceTree = ""; }; + B3AC58121A1F141742E53AC648BA111C /* CocoaLumberjack.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CocoaLumberjack.release.xcconfig; sourceTree = ""; }; + B5BBF7B3383A5F6E8D9C0863015C4B22 /* DDAbstractDatabaseLogger.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDAbstractDatabaseLogger.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDAbstractDatabaseLogger.h; sourceTree = ""; }; + B784CD1CD7CEDEC8952BC9E739A0E76F /* DDAbstractDatabaseLogger.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDAbstractDatabaseLogger.m; path = Sources/CocoaLumberjack/DDAbstractDatabaseLogger.m; sourceTree = ""; }; + BAB7FACB8AFD7E870B8DE9F5D472F7E2 /* CocoaLumberjack-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CocoaLumberjack-umbrella.h"; sourceTree = ""; }; + BB53DF29692182CAB6B9EC7293FB6C7A /* DDLogMacros.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDLogMacros.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDLogMacros.h; sourceTree = ""; }; + C1430F003D39D9906881A6AC724B7931 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; }; + C1909ACD0F0F4AE3A2120B1E2D1FC5CE /* DDOSLogger.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDOSLogger.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDOSLogger.h; sourceTree = ""; }; + C2120A6BA12BA44A9B1FB7C076C3E5B4 /* DDDispatchQueueLogFormatter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDDispatchQueueLogFormatter.m; path = Sources/CocoaLumberjack/Extensions/DDDispatchQueueLogFormatter.m; sourceTree = ""; }; + C261436D14052AE3C35F240BCD155CAC /* CocoaLumberjack.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = CocoaLumberjack.framework; path = CocoaLumberjack.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C6EDADA351D7235D1FD2F488CB30E57B /* DDContextFilterLogFormatter+Deprecated.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "DDContextFilterLogFormatter+Deprecated.m"; path = "Sources/CocoaLumberjack/Extensions/DDContextFilterLogFormatter+Deprecated.m"; sourceTree = ""; }; + D6A88BCCBD435257E00AB3A000BFCE0D /* AppCenterAnalytics.xcframework */ = {isa = PBXFileReference; includeInIndex = 1; name = AppCenterAnalytics.xcframework; path = "AppCenter-SDK-Apple/AppCenterAnalytics.xcframework"; sourceTree = ""; }; + D7A1FA23849A8F4F0C918315EB2FC2D4 /* DDFileLogger.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDFileLogger.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDFileLogger.h; sourceTree = ""; }; + D7A70E53B5F915701FAC48222529F166 /* DDTTYLogger.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDTTYLogger.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDTTYLogger.h; sourceTree = ""; }; + DEF6D965BD170D3E189CA2DEF9125DD2 /* DDAssertMacros.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDAssertMacros.h; path = Sources/CocoaLumberjack/include/CocoaLumberjack/DDAssertMacros.h; sourceTree = ""; }; E2C80726CB8006B7447EDE1DF29E3E78 /* Pods-Downloader-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Downloader-Info.plist"; sourceTree = ""; }; + E35E79AC09E30CD979469DC41D851A7D /* DDFileLogger+Buffering.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "DDFileLogger+Buffering.h"; path = "Sources/CocoaLumberjack/include/CocoaLumberjack/DDFileLogger+Buffering.h"; sourceTree = ""; }; E367EFBDAFF0F818EBB4280CCE88C021 /* Pods-Downloader-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Downloader-acknowledgements.plist"; sourceTree = ""; }; - EA915932160C4FBCF1FA2CF46699B3A4 /* DDOSLogger.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDOSLogger.h; path = Sources/CocoaLumberjack/include/DDOSLogger.h; sourceTree = ""; }; - ECC66D4EF1EC9F8A00286593C5537975 /* CocoaLumberjack-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "CocoaLumberjack-dummy.m"; sourceTree = ""; }; - EDB2B70268AF5A6BE4B2DB3D06DFE8D4 /* CocoaLumberjack.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CocoaLumberjack.release.xcconfig; sourceTree = ""; }; - F32273C04C2B317A9471059606DA8754 /* DDFileLogger.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDFileLogger.h; path = Sources/CocoaLumberjack/include/DDFileLogger.h; sourceTree = ""; }; - F86A17CE577A4B66DF3939B7E10347A5 /* DDMultiFormatter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDMultiFormatter.m; path = Sources/CocoaLumberjack/Extensions/DDMultiFormatter.m; sourceTree = ""; }; - F940C819049CFF8741C0F5E3E075E607 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; }; - FDD738D7668987AE403B85D0588C5401 /* AppCenter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppCenter.framework; path = "AppCenter-SDK-Apple/macOS/AppCenter.framework"; sourceTree = ""; }; - FF8F098BFA269B067FA3FD870CCA1EC3 /* DDDispatchQueueLogFormatter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDDispatchQueueLogFormatter.m; path = Sources/CocoaLumberjack/Extensions/DDDispatchQueueLogFormatter.m; sourceTree = ""; }; + E6334607A142A5A70852B5E80942BF1C /* DDMultiFormatter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDMultiFormatter.m; path = Sources/CocoaLumberjack/Extensions/DDMultiFormatter.m; sourceTree = ""; }; + E6CFB333F8048CD7537204BE5F8CAA3A /* DDFileLogger+Buffering.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "DDFileLogger+Buffering.m"; path = "Sources/CocoaLumberjack/Extensions/DDFileLogger+Buffering.m"; sourceTree = ""; }; + F106465B272A0483267F6ADFC8BC3695 /* DDContextFilterLogFormatter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DDContextFilterLogFormatter.m; path = Sources/CocoaLumberjack/Extensions/DDContextFilterLogFormatter.m; sourceTree = ""; }; + F1513B259693927189D6AD112A1C2DD3 /* CocoaLumberjack.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = CocoaLumberjack.modulemap; sourceTree = ""; }; + F32C952102720D9D15886D654BA7DCD0 /* DDLog+Combine.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DDLog+Combine.swift"; path = "Sources/CocoaLumberjackSwift/DDLog+Combine.swift"; sourceTree = ""; }; + F460F582DA72A2097F04BE6ABB96D52A /* DDLegacyMacros.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DDLegacyMacros.h; path = "Sources/CocoaLumberjack/Supporting Files/DDLegacyMacros.h"; sourceTree = ""; }; + F9CCACDDA12FC2ACD83BD48CA6E07C88 /* DDFileLogger+Internal.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "DDFileLogger+Internal.h"; path = "Sources/CocoaLumberjack/DDFileLogger+Internal.h"; sourceTree = ""; }; + FDE12E462130E89300CC14894D2826FD /* AppCenter.xcframework */ = {isa = PBXFileReference; includeInIndex = 1; name = AppCenter.xcframework; path = "AppCenter-SDK-Apple/AppCenter.xcframework"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 7479D8F6F2A4E7522CE618877A6C7593 /* Frameworks */ = { + 1CADD5E933E00FECF7D1A9EF937D782C /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 7ED4F32FB64818516F5D4FF442B640CF /* Cocoa.framework in Frameworks */, + 6BE61A3FFBB1B93D7656FCABE5E71017 /* Cocoa.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - D6079444BC3F6D2D2EA1999F1128E34A /* Frameworks */ = { + EA6DB16C3A5193A02A2EAEB6DD1BA6EF /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - B3EB08EB089E239B7FF725EE8A352E93 /* Cocoa.framework in Frameworks */, + 37D87A1D06D08EB7E51435CCA893F0C0 /* Cocoa.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -166,36 +173,35 @@ 069D3B4C33D180D9DFE98AB2EBA8EBFE /* Pods */ = { isa = PBXGroup; children = ( - 5A2D2193EA0492AF293D39580AA17424 /* AppCenter */, - 0BE2BC3C301E7645F1A4CF073B37A6A6 /* CocoaLumberjack */, + 54CB84A3B0A90CE0EDC7F6935793D809 /* AppCenter */, + C9803C2B0A6697E8C340F407E727DA0F /* CocoaLumberjack */, ); name = Pods; sourceTree = ""; }; - 0BE2BC3C301E7645F1A4CF073B37A6A6 /* CocoaLumberjack */ = { + 10628C329969C8659024DD6777CCD34F /* Swift */ = { isa = PBXGroup; children = ( - C413B0A501D46F7A642DEEBCD430890F /* Core */, - B2C79832325C3284F73628C7060A6E7B /* Support Files */, - 3BA6182DC2C09F51C73B3CD303533ED3 /* Swift */, + 03928A2414C135BA9099744BAF3A4A19 /* CocoaLumberjack.swift */, + 93FE146D9D0D574344FE05367644AB69 /* DDAssert.swift */, + F32C952102720D9D15886D654BA7DCD0 /* DDLog+Combine.swift */, + 1CFA70711377B20CCA94B1F0F3935D23 /* SwiftLogLevel.h */, ); - path = CocoaLumberjack; + name = Swift; sourceTree = ""; }; - 1084866BFE524B0012EB3D21E7083C91 /* Support Files */ = { + 2584F0D16417C57FA7B2F4A42D6F5D69 /* Frameworks */ = { isa = PBXGroup; children = ( - D53C97B40606C74F6207B064B0E75B88 /* AppCenter.debug.xcconfig */, - 52F41EEBDE3E1C7BB0B17D5D7CB143DF /* AppCenter.release.xcconfig */, + D6A88BCCBD435257E00AB3A000BFCE0D /* AppCenterAnalytics.xcframework */, ); - name = "Support Files"; - path = "../Target Support Files/AppCenter"; + name = Frameworks; sourceTree = ""; }; - 2E8B1C229D0DBC112282A68ABFAB09D4 /* Frameworks */ = { + 2B8342915431F8FF35B04F1EC3E4EC27 /* Frameworks */ = { isa = PBXGroup; children = ( - FDD738D7668987AE403B85D0588C5401 /* AppCenter.framework */, + FDE12E462130E89300CC14894D2826FD /* AppCenter.xcframework */, ); name = Frameworks; sourceTree = ""; @@ -209,24 +215,64 @@ name = Products; sourceTree = ""; }; - 3BA6182DC2C09F51C73B3CD303533ED3 /* Swift */ = { + 48978FFF778F1E0DF32B43D66C3C5AE0 /* Crashes */ = { isa = PBXGroup; children = ( - 7351E8AF356DBD3E7C331A2472D006F5 /* CocoaLumberjack.swift */, - 06129AC4BE60BCB7F20E0EB289CE3ED8 /* DDAssert.swift */, - 95AB2B6580DD9B0340C13CD2FBCDA20D /* SwiftLogLevel.h */, + 812AB828E9A14F792E8E76A018105AF6 /* Frameworks */, ); - name = Swift; + name = Crashes; sourceTree = ""; }; - 5A2D2193EA0492AF293D39580AA17424 /* AppCenter */ = { + 4C15AC2BE540764F4ADEF11D338C67AF /* Core */ = { isa = PBXGroup; children = ( - 9B4155ADC102C633A907A28493E6D240 /* Analytics */, - A2F693187775514F2CC02E6FB7B6B8DA /* Core */, - 76747A850C681A74A37AB3D005B507CE /* Crashes */, - 1084866BFE524B0012EB3D21E7083C91 /* Support Files */, + 71911AA38CD16EB69B06AD834E1FFDE0 /* CLIColor.h */, + 8D73848EDCEE2CD9848B5D6C5C60126C /* CLIColor.m */, + 52FBDC3B2F5B8AE0FA68A3744E8B6E3F /* CocoaLumberjack.h */, + B5BBF7B3383A5F6E8D9C0863015C4B22 /* DDAbstractDatabaseLogger.h */, + B784CD1CD7CEDEC8952BC9E739A0E76F /* DDAbstractDatabaseLogger.m */, + 12AF8A3E57F92134AC73A460AFE96733 /* DDASLLogCapture.h */, + 3713A0F6AC1B7383D26DC4286C7A7C27 /* DDASLLogCapture.m */, + 614768E7AFC1796E1B767139EEC05F45 /* DDASLLogger.h */, + A7C1767EFC6D8C29D5881156B3D0DC6A /* DDASLLogger.m */, + DEF6D965BD170D3E189CA2DEF9125DD2 /* DDAssertMacros.h */, + 2DA115FA4DFD424EB0E3F3A772CDCC8D /* DDContextFilterLogFormatter.h */, + F106465B272A0483267F6ADFC8BC3695 /* DDContextFilterLogFormatter.m */, + 0649D0B35939E71AC0F0B23CAC6308C6 /* DDContextFilterLogFormatter+Deprecated.h */, + C6EDADA351D7235D1FD2F488CB30E57B /* DDContextFilterLogFormatter+Deprecated.m */, + 79E9D0F952725708033CA257624209A0 /* DDDispatchQueueLogFormatter.h */, + C2120A6BA12BA44A9B1FB7C076C3E5B4 /* DDDispatchQueueLogFormatter.m */, + D7A1FA23849A8F4F0C918315EB2FC2D4 /* DDFileLogger.h */, + 5A14AD4CEB3A0F3CA114FE5AF0C7E4B6 /* DDFileLogger.m */, + E35E79AC09E30CD979469DC41D851A7D /* DDFileLogger+Buffering.h */, + E6CFB333F8048CD7537204BE5F8CAA3A /* DDFileLogger+Buffering.m */, + F9CCACDDA12FC2ACD83BD48CA6E07C88 /* DDFileLogger+Internal.h */, + F460F582DA72A2097F04BE6ABB96D52A /* DDLegacyMacros.h */, + A32CC7CAD0990D96DA824B0042987F0D /* DDLog.h */, + AA79C931FE9D5E1F8D76CF74B7B41EAD /* DDLog.m */, + 3019C9277310FF2288B3CA8666549690 /* DDLog+LOGV.h */, + 558A37FADD47CDA5E6B31679CB03FE52 /* DDLoggerNames.h */, + 1E5AAB4C2CDF74745AB44209B66ECEFC /* DDLoggerNames.m */, + BB53DF29692182CAB6B9EC7293FB6C7A /* DDLogMacros.h */, + 05743C1AF8271056505324873EEED19B /* DDMultiFormatter.h */, + E6334607A142A5A70852B5E80942BF1C /* DDMultiFormatter.m */, + C1909ACD0F0F4AE3A2120B1E2D1FC5CE /* DDOSLogger.h */, + 101C8767746425E5BA8B3527E432AABF /* DDOSLogger.m */, + D7A70E53B5F915701FAC48222529F166 /* DDTTYLogger.h */, + ABB598247B6925A8AE9E34E759885009 /* DDTTYLogger.m */, ); + name = Core; + sourceTree = ""; + }; + 54CB84A3B0A90CE0EDC7F6935793D809 /* AppCenter */ = { + isa = PBXGroup; + children = ( + 91285131654945B08E2E541ABFEFD01D /* Analytics */, + 8F1B5ECB5DF968228F2AAA0A38C5B4BB /* Core */, + 48978FFF778F1E0DF32B43D66C3C5AE0 /* Crashes */, + 8FDC4A156674F37E00C86A7450EC8999 /* Support Files */, + ); + name = AppCenter; path = AppCenter; sourceTree = ""; }; @@ -247,14 +293,6 @@ path = "Target Support Files/Pods-Downloader"; sourceTree = ""; }; - 76747A850C681A74A37AB3D005B507CE /* Crashes */ = { - isa = PBXGroup; - children = ( - 881D58501B0EB9ED8CA5CE64EB00CB81 /* Frameworks */, - ); - name = Crashes; - sourceTree = ""; - }; 7DB98321B578652FE9A7B0741CBCA9FF /* Targets Support Files */ = { isa = PBXGroup; children = ( @@ -263,98 +301,50 @@ name = "Targets Support Files"; sourceTree = ""; }; - 881D58501B0EB9ED8CA5CE64EB00CB81 /* Frameworks */ = { + 812AB828E9A14F792E8E76A018105AF6 /* Frameworks */ = { isa = PBXGroup; children = ( - B4D7803D05E25B7D83CCABDCD1631F49 /* AppCenterCrashes.framework */, + 9E931B5EE1001D50F73C81408B915A5F /* AppCenterCrashes.xcframework */, ); name = Frameworks; sourceTree = ""; }; - 90270BEC917CE286050F73A91643A524 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 30C3211FD02B066FAA4E8D69C300F31A /* AppCenterAnalytics.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 9B4155ADC102C633A907A28493E6D240 /* Analytics */ = { - isa = PBXGroup; - children = ( - 90270BEC917CE286050F73A91643A524 /* Frameworks */, - ); - name = Analytics; - sourceTree = ""; - }; - A2F693187775514F2CC02E6FB7B6B8DA /* Core */ = { + 8F1B5ECB5DF968228F2AAA0A38C5B4BB /* Core */ = { isa = PBXGroup; children = ( - 2E8B1C229D0DBC112282A68ABFAB09D4 /* Frameworks */, + 2B8342915431F8FF35B04F1EC3E4EC27 /* Frameworks */, ); name = Core; sourceTree = ""; }; - B2C79832325C3284F73628C7060A6E7B /* Support Files */ = { + 8FDC4A156674F37E00C86A7450EC8999 /* Support Files */ = { isa = PBXGroup; children = ( - DD8AFF773825A1DEB9EBDD8B97E468D9 /* CocoaLumberjack.modulemap */, - ECC66D4EF1EC9F8A00286593C5537975 /* CocoaLumberjack-dummy.m */, - 29EEEF96715162B40D86C5B245EB9583 /* CocoaLumberjack-Info.plist */, - 7BA4DEB68025871FE07FD08AEC7D198A /* CocoaLumberjack-prefix.pch */, - 4F8F2C9946A6DE4A33056D84DF2362D7 /* CocoaLumberjack-umbrella.h */, - 4B4E8569E8F38CD9BE4540E1E2611647 /* CocoaLumberjack.debug.xcconfig */, - EDB2B70268AF5A6BE4B2DB3D06DFE8D4 /* CocoaLumberjack.release.xcconfig */, + 7EFCA0F1CCD8D7C3CDE698E3495386BF /* AppCenter-xcframeworks.sh */, + 3C3A97C1E0E2FBB82F7620E74C0DAE6B /* AppCenter.debug.xcconfig */, + 8746CD51ACCD0B6E856C2D711DB87F2F /* AppCenter.release.xcconfig */, ); name = "Support Files"; - path = "../Target Support Files/CocoaLumberjack"; + path = "../Target Support Files/AppCenter"; sourceTree = ""; }; - C413B0A501D46F7A642DEEBCD430890F /* Core */ = { + 91285131654945B08E2E541ABFEFD01D /* Analytics */ = { isa = PBXGroup; children = ( - 1BFB18C55E471A5C2EE9B06791288939 /* CLIColor.h */, - 288F63005DC109C5AFC0B2E3469D3E4F /* CLIColor.m */, - AC4BB9755601E1144AA47198A97A9326 /* CocoaLumberjack.h */, - 1F7139E08B40C3013D8EB27213D5E511 /* DDAbstractDatabaseLogger.h */, - AB40254CAB35545C00217E813EBA5AFF /* DDAbstractDatabaseLogger.m */, - 176CAADCC228975371EAF1D34C0A3E7F /* DDASLLogCapture.h */, - 58C4525EC97E4C8D413535C00C3CC694 /* DDASLLogCapture.m */, - 695B26BF54684BB032E566C8E989B6C2 /* DDASLLogger.h */, - DD5D34874AD0A81123B78B61ABD44B69 /* DDASLLogger.m */, - D0D37706502D3E13C4DD7987362E72C6 /* DDAssertMacros.h */, - 39762595789765538C71D0C8C81FD484 /* DDContextFilterLogFormatter.h */, - B25AC5E23C541FE3312D0A03CCC9AF79 /* DDContextFilterLogFormatter.m */, - CB23F596A5F1B97A89B916595BDAFF2B /* DDDispatchQueueLogFormatter.h */, - FF8F098BFA269B067FA3FD870CCA1EC3 /* DDDispatchQueueLogFormatter.m */, - F32273C04C2B317A9471059606DA8754 /* DDFileLogger.h */, - 8EFA48D25DCEED1B45CA8206AE9C6413 /* DDFileLogger.m */, - D49A2863D7650BB523C8020FFAB133A7 /* DDFileLogger+Buffering.h */, - 1E11C88703F2BBB10EE3BE3F261A5B5E /* DDFileLogger+Buffering.m */, - DC01DB61A61ED2BF11315F8BCB4D682B /* DDFileLogger+Internal.h */, - 07C115BF6D131371FE19F1925438C83F /* DDLegacyMacros.h */, - 5B9072D9BE3CB89AE02FDCA7059D961F /* DDLog.h */, - 5A148B2715AA9BD806F3D6FA41D6E452 /* DDLog.m */, - 558146C022BF2B528EACB71CF1EDBAE7 /* DDLog+LOGV.h */, - 62D31D7CAA49E2813AE95A87B6EC3D13 /* DDLoggerNames.h */, - B8EC6708060B4797C7794CBEF0247686 /* DDLoggerNames.m */, - 3D3A0C47413EB94F5CE873FC79CED527 /* DDLogMacros.h */, - DB14278FDB683D859B5C061268588831 /* DDMultiFormatter.h */, - F86A17CE577A4B66DF3939B7E10347A5 /* DDMultiFormatter.m */, - EA915932160C4FBCF1FA2CF46699B3A4 /* DDOSLogger.h */, - 872BC0A89B63972430C66821AD0F72EB /* DDOSLogger.m */, - CEEAC62405DE3292A5353ABB31716DEE /* DDTTYLogger.h */, - 9A457FB2EDBFF5A2D2007F0F03C9F92C /* DDTTYLogger.m */, + 2584F0D16417C57FA7B2F4A42D6F5D69 /* Frameworks */, ); - name = Core; + name = Analytics; sourceTree = ""; }; - CBD43E0947D94E318A0ED1350CFF29ED /* OS X */ = { + C9803C2B0A6697E8C340F407E727DA0F /* CocoaLumberjack */ = { isa = PBXGroup; children = ( - F940C819049CFF8741C0F5E3E075E607 /* Cocoa.framework */, + 4C15AC2BE540764F4ADEF11D338C67AF /* Core */, + D996517A6F6AC90DBFF32A47054D8F37 /* Support Files */, + 10628C329969C8659024DD6777CCD34F /* Swift */, ); - name = "OS X"; + name = CocoaLumberjack; + path = CocoaLumberjack; sourceTree = ""; }; CF1408CF629C7361332E53B88F7BD30C = { @@ -368,50 +358,74 @@ ); sourceTree = ""; }; + D996517A6F6AC90DBFF32A47054D8F37 /* Support Files */ = { + isa = PBXGroup; + children = ( + F1513B259693927189D6AD112A1C2DD3 /* CocoaLumberjack.modulemap */, + 1E9127E2253A5FB925CD411BAB7BAC0E /* CocoaLumberjack-dummy.m */, + 031B7171DE3491E2253A9D69C3F66897 /* CocoaLumberjack-Info.plist */, + 7ABBF4A5AC4D5E00BC5E5440BE8BAC0D /* CocoaLumberjack-prefix.pch */, + BAB7FACB8AFD7E870B8DE9F5D472F7E2 /* CocoaLumberjack-umbrella.h */, + 131E3711EAB4829378DDDB727695C1B6 /* CocoaLumberjack.debug.xcconfig */, + B3AC58121A1F141742E53AC648BA111C /* CocoaLumberjack.release.xcconfig */, + ); + name = "Support Files"; + path = "../Target Support Files/CocoaLumberjack"; + sourceTree = ""; + }; E0A1E60606E0BF6E2E10F1F01350DFE8 /* Frameworks */ = { isa = PBXGroup; children = ( - CBD43E0947D94E318A0ED1350CFF29ED /* OS X */, + E2A8756CA1FF5258A0344D53C5C60EC1 /* OS X */, ); name = Frameworks; sourceTree = ""; }; + E2A8756CA1FF5258A0344D53C5C60EC1 /* OS X */ = { + isa = PBXGroup; + children = ( + C1430F003D39D9906881A6AC724B7931 /* Cocoa.framework */, + ); + name = "OS X"; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 3D266023E04E16B1B76145D432C8C354 /* Headers */ = { + 1B39BB65FAEF5B1B99D10E5E8E8774A3 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - FCFA53A0A359E33E514B981BB7AF7771 /* CLIColor.h in Headers */, - 5D56BA969D6EFFB8F15A0D7EB435C41F /* CocoaLumberjack-umbrella.h in Headers */, - EFFCEE76EDA4E17534AA3E8D48523439 /* CocoaLumberjack.h in Headers */, - 66D72D5B6EA704BE40B393A6F0A1B5F6 /* DDAbstractDatabaseLogger.h in Headers */, - C4E060E3D1AB869610D1ACBA2AD852FD /* DDASLLogCapture.h in Headers */, - E28271382E0061543ADBF1D1A026692D /* DDASLLogger.h in Headers */, - E9E9554C02CA5FC8F7F134D4BA53B6C6 /* DDAssertMacros.h in Headers */, - 7916B3022F0E241D986698991C745C16 /* DDContextFilterLogFormatter.h in Headers */, - A907EF76A9D5FF8E392290B10E97ED69 /* DDDispatchQueueLogFormatter.h in Headers */, - 27586B29124FABF82AAC55429964450A /* DDFileLogger+Buffering.h in Headers */, - E3AEEA91A67D0F8E24F52FE562ABF1B6 /* DDFileLogger+Internal.h in Headers */, - ECCD7732CF0D16FCC90DB83E75D73495 /* DDFileLogger.h in Headers */, - 9A4D43262635B18C802B17485FAE2D38 /* DDLegacyMacros.h in Headers */, - 353FC14BE702BFB5D9BAD92F7338B3EB /* DDLog+LOGV.h in Headers */, - B8FFCC85726A84D09376205AB404513D /* DDLog.h in Headers */, - 649A9096456A7DC5E1045E443722991D /* DDLoggerNames.h in Headers */, - DA2DD0CB6F0E3CC436D18CF167DA4484 /* DDLogMacros.h in Headers */, - 7BFEE239D45EF5FC4026052A712A2D49 /* DDMultiFormatter.h in Headers */, - CA98B616E393378017EB03F4997E9476 /* DDOSLogger.h in Headers */, - 5965234C5F96F04527E7FFBEBAF6E191 /* DDTTYLogger.h in Headers */, - EBD52493DDF31B7F9F1F731195214D80 /* SwiftLogLevel.h in Headers */, + 3D66E09ED7F26517B27AECDD30EDA5A2 /* Pods-Downloader-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - 870CD184B81999782BD53AC5EFBAC45C /* Headers */ = { + 9667AF1733D8CB60DD4DAD7B23A1B19C /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - DF747880838AE175B6F8FAB59EDE34F3 /* Pods-Downloader-umbrella.h in Headers */, + B61280234CCFEC90849C153EA6FB0001 /* CLIColor.h in Headers */, + 1D58446DEC8D6C2AD6985FBE1D84CE85 /* CocoaLumberjack-umbrella.h in Headers */, + 6F000658E97C8980D2EE8094E8AB79A2 /* CocoaLumberjack.h in Headers */, + 49EE80ACE832DFB751960D04383848F6 /* DDAbstractDatabaseLogger.h in Headers */, + 37F5190466279B220EBEC62B21BE6299 /* DDASLLogCapture.h in Headers */, + D8D23187EB200B7750D7CDDAD9639286 /* DDASLLogger.h in Headers */, + FD1AC8EAD3A624BBF7D43E604B224932 /* DDAssertMacros.h in Headers */, + 227DBC24F49B733022CB34D18901F0A8 /* DDContextFilterLogFormatter+Deprecated.h in Headers */, + 275006D423BADF47527E436D22F11FAF /* DDContextFilterLogFormatter.h in Headers */, + 89DC125A9D9CF44BE96919FC482E0A11 /* DDDispatchQueueLogFormatter.h in Headers */, + 7B185D5D43D37E3A35B559B23460587D /* DDFileLogger+Buffering.h in Headers */, + C32091C58731FA5334AD866E69B6BC1C /* DDFileLogger+Internal.h in Headers */, + 472DB6DBAE1A77BC90155D079EFDB532 /* DDFileLogger.h in Headers */, + DA8873CDEC36D66A0F34E77BBCCE4845 /* DDLegacyMacros.h in Headers */, + 56F91FA81942575207E08BC8A4282F1A /* DDLog+LOGV.h in Headers */, + C8A6AA8D038EEF7D92D9C18CA267DD07 /* DDLog.h in Headers */, + 26CF55B50EFD96F686F1034DC77FC1B1 /* DDLoggerNames.h in Headers */, + 8587059C8E400C517C9928CB61FDF93E /* DDLogMacros.h in Headers */, + B141D91BA3589DD1D420958CE808626D /* DDMultiFormatter.h in Headers */, + 931B2A750443D856378E3853A275EBE0 /* DDOSLogger.h in Headers */, + 01CE51FB76D0147E1872C7CD10F7C761 /* DDTTYLogger.h in Headers */, + 016F6B908BB437FF7F0AE11A18067FD5 /* SwiftLogLevel.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -420,18 +434,18 @@ /* Begin PBXNativeTarget section */ 2B4C725F933688ADC7A8F06E06F56FEB /* Pods-Downloader */ = { isa = PBXNativeTarget; - buildConfigurationList = 9591BF5621B8D6ABD4A433C8CEE8DE42 /* Build configuration list for PBXNativeTarget "Pods-Downloader" */; + buildConfigurationList = 7D7BA7C36A33F9361D123C32B42051B2 /* Build configuration list for PBXNativeTarget "Pods-Downloader" */; buildPhases = ( - 870CD184B81999782BD53AC5EFBAC45C /* Headers */, - 6CBA3AFF0FFB4254F16614CA57B2845E /* Sources */, - D6079444BC3F6D2D2EA1999F1128E34A /* Frameworks */, - 7F3B63C3378F4542179B08E69B24DD78 /* Resources */, + 1B39BB65FAEF5B1B99D10E5E8E8774A3 /* Headers */, + 07A1CC65543C363E26329F4E7C1F0CD6 /* Sources */, + 1CADD5E933E00FECF7D1A9EF937D782C /* Frameworks */, + 76BEA2E72A6577EFBCD5087A5F7B35AD /* Resources */, ); buildRules = ( ); dependencies = ( - 740454B384C878BCCE3771CD55B20364 /* PBXTargetDependency */, - B1782098ED8610186990BBE74920B01B /* PBXTargetDependency */, + A8E7E7E1B3119E3A9343A54ED5403C4E /* PBXTargetDependency */, + 67D58C656025FFC96C4EF89444A18440 /* PBXTargetDependency */, ); name = "Pods-Downloader"; productName = "Pods-Downloader"; @@ -440,12 +454,12 @@ }; E95654B155D25890BE8E26081FCA8265 /* CocoaLumberjack */ = { isa = PBXNativeTarget; - buildConfigurationList = FE1656DF5D916841ABB86B9B166CBEEC /* Build configuration list for PBXNativeTarget "CocoaLumberjack" */; + buildConfigurationList = 75892CD94F4DFCC19161FC52A3AE99FD /* Build configuration list for PBXNativeTarget "CocoaLumberjack" */; buildPhases = ( - 3D266023E04E16B1B76145D432C8C354 /* Headers */, - 36F1C9E0484289644008D84C2CFB28FC /* Sources */, - 7479D8F6F2A4E7522CE618877A6C7593 /* Frameworks */, - 0A8F69AD0BDE81B314AAE7E7A7701D75 /* Resources */, + 9667AF1733D8CB60DD4DAD7B23A1B19C /* Headers */, + 1A3BB61F11247163DCE1A5F39895F661 /* Sources */, + EA6DB16C3A5193A02A2EAEB6DD1BA6EF /* Frameworks */, + E6800683362B753CC10F2DF923F459F5 /* Resources */, ); buildRules = ( ); @@ -463,10 +477,10 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 1100; - LastUpgradeCheck = 1140; + LastUpgradeCheck = 1100; }; buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 9.3"; + compatibilityVersion = "Xcode 10.0"; developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( @@ -486,14 +500,14 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 0A8F69AD0BDE81B314AAE7E7A7701D75 /* Resources */ = { + 76BEA2E72A6577EFBCD5087A5F7B35AD /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - 7F3B63C3378F4542179B08E69B24DD78 /* Resources */ = { + E6800683362B753CC10F2DF923F459F5 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -502,101 +516,102 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + AAD7D4593ED3B713FDA455F0E36487CE /* [CP] Copy XCFrameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/AppCenter/AppCenter-xcframeworks-input-files.xcfilelist", + ); + name = "[CP] Copy XCFrameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/AppCenter/AppCenter-xcframeworks-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/AppCenter/AppCenter-xcframeworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ - 36F1C9E0484289644008D84C2CFB28FC /* Sources */ = { + 07A1CC65543C363E26329F4E7C1F0CD6 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 82773CC13612C373B4D313D10D016985 /* CLIColor.m in Sources */, - 0265F252A09E5FA6C26381DA4CAF8079 /* CocoaLumberjack-dummy.m in Sources */, - 8F5BD7EB4F1FDF034E047D01B616197D /* CocoaLumberjack.swift in Sources */, - BA873BE7155FCC56E178360D4E54992B /* DDAbstractDatabaseLogger.m in Sources */, - AAC9ECA67A80A03C3761E73F34F043A3 /* DDASLLogCapture.m in Sources */, - 7D486A49BC79417C10B6ED59D1F29973 /* DDASLLogger.m in Sources */, - F7A1CB7A1DAC0FFC21CE547FFC3F09C6 /* DDAssert.swift in Sources */, - 77451FEEC21F5F4F94A37CE52F87CA58 /* DDContextFilterLogFormatter.m in Sources */, - 83EF552F3D8D3E12E3F0F3B7ADD6D3A4 /* DDDispatchQueueLogFormatter.m in Sources */, - A3DD30BA881E3D94258F0887BCF4944B /* DDFileLogger+Buffering.m in Sources */, - 65B3B0A18B7A1D742BB467F959FB9E41 /* DDFileLogger.m in Sources */, - 1ACE18FB9618325E6761FC7BB8E35376 /* DDLog.m in Sources */, - 22568D121F150FCFA640B0175197C7C4 /* DDLoggerNames.m in Sources */, - DCB4BC4CB3BFC32F3A975995BEB6F92B /* DDMultiFormatter.m in Sources */, - B99DB958F2C7DA6223C0D2CABE7299AD /* DDOSLogger.m in Sources */, - 051FAF71CAED233F64E10A1FE97ADEFD /* DDTTYLogger.m in Sources */, + 996140530D9D6CF311D4C8FCB4E9F216 /* Pods-Downloader-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 6CBA3AFF0FFB4254F16614CA57B2845E /* Sources */ = { + 1A3BB61F11247163DCE1A5F39895F661 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 887C7174EB5E789123DAD8403DB17946 /* Pods-Downloader-dummy.m in Sources */, + 4536834B0F6D3F4ED48748D8D7DFCFE5 /* CLIColor.m in Sources */, + D33BACF3A7CFA42EE1D519DDF938DF99 /* CocoaLumberjack-dummy.m in Sources */, + D5A0A5D7A642891025CF62D1C69A59A3 /* CocoaLumberjack.swift in Sources */, + 9D1708AEB1261F7D8E4FA78952CAEDE8 /* DDAbstractDatabaseLogger.m in Sources */, + FDE0A67B15848E66E46EEB98136ACF5A /* DDASLLogCapture.m in Sources */, + 881788D7EAABC905B6D11AC2D8FE5E5D /* DDASLLogger.m in Sources */, + 30188DA09667D4A5C2DD5709211EB8E9 /* DDAssert.swift in Sources */, + CFB104E784E1DC06373350F66B6F8638 /* DDContextFilterLogFormatter+Deprecated.m in Sources */, + F60C6B8D4EF9E6D3FFA15B89BF821525 /* DDContextFilterLogFormatter.m in Sources */, + E59F6A5FB10EFCF131624E328C45382B /* DDDispatchQueueLogFormatter.m in Sources */, + 67EBC918B2AC3A624FA3D28BBDF03559 /* DDFileLogger+Buffering.m in Sources */, + 2C765699AF1CF1A778E416159FA66908 /* DDFileLogger.m in Sources */, + E6A3FDBB3C1A54886C4318A90A6A8AF8 /* DDLog+Combine.swift in Sources */, + 42488D973FD3B653FC0D6E950E13AAF9 /* DDLog.m in Sources */, + 5428B95B1A635363D142E862BFA62880 /* DDLoggerNames.m in Sources */, + 8768BEA4827F91747A5BE59BDC26F715 /* DDMultiFormatter.m in Sources */, + 5AAAE8F6550BABD77821CF4997DC762F /* DDOSLogger.m in Sources */, + 243897837AF23E4F4D6487B35322EDB1 /* DDTTYLogger.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 740454B384C878BCCE3771CD55B20364 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = AppCenter; - target = A3282A5B2437E609EEB85861D7ECE717 /* AppCenter */; - targetProxy = C71526744D43D43BE8AC346E421262EE /* PBXContainerItemProxy */; - }; - B1782098ED8610186990BBE74920B01B /* PBXTargetDependency */ = { + 67D58C656025FFC96C4EF89444A18440 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = CocoaLumberjack; target = E95654B155D25890BE8E26081FCA8265 /* CocoaLumberjack */; - targetProxy = 8BF461D95C6093A8432612E9E3C2084D /* PBXContainerItemProxy */; + targetProxy = C88E28AC05C12D329BC5C098CE829765 /* PBXContainerItemProxy */; + }; + A8E7E7E1B3119E3A9343A54ED5403C4E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = AppCenter; + target = A3282A5B2437E609EEB85861D7ECE717 /* AppCenter */; + targetProxy = FEA3EA8E86B8EA75949A5180836FAB63 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 13B8B55FF4847A0E19181D7197913EED /* Debug */ = { + 065EA18A1E429E9FDA1454CE0BCDEAC1 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 6B9A5B5D262004C1CF4F34D2C3D021EB /* Pods-Downloader.debug.xcconfig */; + baseConfigurationReference = 3C3A97C1E0E2FBB82F7620E74C0DAE6B /* AppCenter.debug.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = "Target Support Files/Pods-Downloader/Pods-Downloader-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/../Frameworks", - "@loader_path/Frameworks", ); - MACH_O_TYPE = staticlib; - MACOSX_DEPLOYMENT_TARGET = 10.13; - MODULEMAP_FILE = "Target Support Files/Pods-Downloader/Pods-Downloader.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + MACOSX_DEPLOYMENT_TARGET = 10.9; SDKROOT = macosx; - SKIP_INSTALL = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; }; name = Debug; }; - 48B0A7A1FE414E4797411BF4005412EA /* Release */ = { + 198F9B739BDFF88C4F47D0245FA2D565 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = EDB2B70268AF5A6BE4B2DB3D06DFE8D4 /* CocoaLumberjack.release.xcconfig */; + baseConfigurationReference = 6B5F6966F6FCABCB066296512EEDC109 /* Pods-Downloader.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -606,32 +621,33 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/CocoaLumberjack/CocoaLumberjack-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/CocoaLumberjack/CocoaLumberjack-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-Downloader/Pods-Downloader-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MACOSX_DEPLOYMENT_TARGET = 10.10; - MODULEMAP_FILE = "Target Support Files/CocoaLumberjack/CocoaLumberjack.modulemap"; - PRODUCT_MODULE_NAME = CocoaLumberjack; - PRODUCT_NAME = CocoaLumberjack; + MACH_O_TYPE = staticlib; + MACOSX_DEPLOYMENT_TARGET = 10.13; + MODULEMAP_FILE = "Target Support Files/Pods-Downloader/Pods-Downloader.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = macosx; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; - 9382317ED75CFC741F429FC224405042 /* Debug */ = { + 7599BD86FD28576C20F8B9B6B5ACBEC9 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; @@ -654,6 +670,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -692,29 +709,13 @@ }; name = Debug; }; - AA58B79AC9B8A89DE30ACE80088E977B /* Release */ = { + A7BDEDED9B473B4544FB76F72DB5748B /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 52F41EEBDE3E1C7BB0B17D5D7CB143DF /* AppCenter.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 10.9; - SDKROOT = macosx; - }; - name = Release; - }; - BBF54422B20A8C2309BC282AA70396FD /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 6B5F6966F6FCABCB066296512EEDC109 /* Pods-Downloader.release.xcconfig */; + baseConfigurationReference = 6B9A5B5D262004C1CF4F34D2C3D021EB /* Pods-Downloader.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -724,7 +725,6 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; INFOPLIST_FILE = "Target Support Files/Pods-Downloader/Pods-Downloader-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = ( @@ -745,49 +745,30 @@ VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - D45057CB8DEEAA59D8E824605F29D102 /* Debug */ = { + A9659A6350F5980C5AC97C35E5B0AAAE /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 4B4E8569E8F38CD9BE4540E1E2611647 /* CocoaLumberjack.debug.xcconfig */; + baseConfigurationReference = 8746CD51ACCD0B6E856C2D711DB87F2F /* AppCenter.release.xcconfig */; buildSettings = { - CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/CocoaLumberjack/CocoaLumberjack-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/CocoaLumberjack/CocoaLumberjack-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/../Frameworks", - "@loader_path/Frameworks", ); - MACOSX_DEPLOYMENT_TARGET = 10.10; - MODULEMAP_FILE = "Target Support Files/CocoaLumberjack/CocoaLumberjack.modulemap"; - PRODUCT_MODULE_NAME = CocoaLumberjack; - PRODUCT_NAME = CocoaLumberjack; + MACOSX_DEPLOYMENT_TARGET = 10.9; SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - E4DEAC9B52796426D2A37E7074A1738D /* Release */ = { + C0AB89DB0533D8E2B9201FA6579824B7 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; @@ -810,6 +791,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -844,19 +826,75 @@ }; name = Release; }; - EA34315A01BB6A822F5CE3E08B1742B9 /* Debug */ = { + D03202003EEC18E4DF5E08CEDFDC1DA9 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D53C97B40606C74F6207B064B0E75B88 /* AppCenter.debug.xcconfig */; + baseConfigurationReference = B3AC58121A1F141742E53AC648BA111C /* CocoaLumberjack.release.xcconfig */; buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "-"; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/CocoaLumberjack/CocoaLumberjack-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/CocoaLumberjack/CocoaLumberjack-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/../Frameworks", + "@loader_path/Frameworks", ); - MACOSX_DEPLOYMENT_TARGET = 10.9; + MACOSX_DEPLOYMENT_TARGET = 10.10; + MODULEMAP_FILE = "Target Support Files/CocoaLumberjack/CocoaLumberjack.modulemap"; + PRODUCT_MODULE_NAME = CocoaLumberjack; + PRODUCT_NAME = CocoaLumberjack; SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + E05B36751FED9AB5325005A862629337 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 131E3711EAB4829378DDDB727695C1B6 /* CocoaLumberjack.debug.xcconfig */; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/CocoaLumberjack/CocoaLumberjack-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/CocoaLumberjack/CocoaLumberjack-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.10; + MODULEMAP_FILE = "Target Support Files/CocoaLumberjack/CocoaLumberjack.modulemap"; + PRODUCT_MODULE_NAME = CocoaLumberjack; + PRODUCT_NAME = CocoaLumberjack; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; }; name = Debug; }; @@ -866,35 +904,35 @@ 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - 9382317ED75CFC741F429FC224405042 /* Debug */, - E4DEAC9B52796426D2A37E7074A1738D /* Release */, + 7599BD86FD28576C20F8B9B6B5ACBEC9 /* Debug */, + C0AB89DB0533D8E2B9201FA6579824B7 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 9591BF5621B8D6ABD4A433C8CEE8DE42 /* Build configuration list for PBXNativeTarget "Pods-Downloader" */ = { + 5242D03FC5C1EAA4F817066052F80607 /* Build configuration list for PBXAggregateTarget "AppCenter" */ = { isa = XCConfigurationList; buildConfigurations = ( - 13B8B55FF4847A0E19181D7197913EED /* Debug */, - BBF54422B20A8C2309BC282AA70396FD /* Release */, + 065EA18A1E429E9FDA1454CE0BCDEAC1 /* Debug */, + A9659A6350F5980C5AC97C35E5B0AAAE /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - D0944D0DEFF9CDF0CBE6D4A41B195020 /* Build configuration list for PBXAggregateTarget "AppCenter" */ = { + 75892CD94F4DFCC19161FC52A3AE99FD /* Build configuration list for PBXNativeTarget "CocoaLumberjack" */ = { isa = XCConfigurationList; buildConfigurations = ( - EA34315A01BB6A822F5CE3E08B1742B9 /* Debug */, - AA58B79AC9B8A89DE30ACE80088E977B /* Release */, + E05B36751FED9AB5325005A862629337 /* Debug */, + D03202003EEC18E4DF5E08CEDFDC1DA9 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - FE1656DF5D916841ABB86B9B166CBEEC /* Build configuration list for PBXNativeTarget "CocoaLumberjack" */ = { + 7D7BA7C36A33F9361D123C32B42051B2 /* Build configuration list for PBXNativeTarget "Pods-Downloader" */ = { isa = XCConfigurationList; buildConfigurations = ( - D45057CB8DEEAA59D8E824605F29D102 /* Debug */, - 48B0A7A1FE414E4797411BF4005412EA /* Release */, + A7BDEDED9B473B4544FB76F72DB5748B /* Debug */, + 198F9B739BDFF88C4F47D0245FA2D565 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-input-files.xcfilelist b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-input-files.xcfilelist new file mode 100644 index 0000000..dd3724d --- /dev/null +++ b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-input-files.xcfilelist @@ -0,0 +1,4 @@ +${PODS_ROOT}/Target Support Files/AppCenter/AppCenter-xcframeworks.sh +${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework +${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework +${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework \ No newline at end of file diff --git a/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-output-files.xcfilelist b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-output-files.xcfilelist new file mode 100644 index 0000000..d9c3b22 --- /dev/null +++ b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-output-files.xcfilelist @@ -0,0 +1,3 @@ +${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics +${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter +${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes \ No newline at end of file diff --git a/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks.sh b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks.sh new file mode 100755 index 0000000..0755518 --- /dev/null +++ b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks.sh @@ -0,0 +1,155 @@ +#!/bin/sh +set -e +set -u +set -o pipefail + +function on_error { + echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" +} +trap 'on_error $LINENO' ERR + + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + + +copy_dir() +{ + local source="$1" + local destination="$2" + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}" "${destination}" +} + +SELECT_SLICE_RETVAL="" + +select_slice() { + local paths=("$@") + # Locate the correct slice of the .xcframework for the current architectures + local target_path="" + + # Split archs on space so we can find a slice that has all the needed archs + local target_archs=$(echo $ARCHS | tr " " "\n") + + local target_variant="" + if [[ "$PLATFORM_NAME" == *"simulator" ]]; then + target_variant="simulator" + fi + if [[ ! -z ${EFFECTIVE_PLATFORM_NAME+x} && "$EFFECTIVE_PLATFORM_NAME" == *"maccatalyst" ]]; then + target_variant="maccatalyst" + fi + for i in ${!paths[@]}; do + local matched_all_archs="1" + for target_arch in $target_archs + do + if ! [[ "${paths[$i]}" == *"$target_variant"* ]]; then + matched_all_archs="0" + break + fi + + # Verifies that the path contains the variant string (simulator or maccatalyst) if the variant is set. + if [[ -z "$target_variant" && ("${paths[$i]}" == *"simulator"* || "${paths[$i]}" == *"maccatalyst"*) ]]; then + matched_all_archs="0" + break + fi + + # This regex matches all possible variants of the arch in the folder name: + # Let's say the folder name is: ios-armv7_armv7s_arm64_arm64e/CoconutLib.framework + # We match the following: -armv7_, _armv7s_, _arm64_ and _arm64e/. + # If we have a specific variant: ios-i386_x86_64-simulator/CoconutLib.framework + # We match the following: -i386_ and _x86_64- + # When the .xcframework wraps a static library, the folder name does not include + # any .framework. In that case, the folder name can be: ios-arm64_armv7 + # We also match _armv7$ to handle that case. + local target_arch_regex="[_\-]${target_arch}([\/_\-]|$)" + if ! [[ "${paths[$i]}" =~ $target_arch_regex ]]; then + matched_all_archs="0" + break + fi + done + + if [[ "$matched_all_archs" == "1" ]]; then + # Found a matching slice + echo "Selected xcframework slice ${paths[$i]}" + SELECT_SLICE_RETVAL=${paths[$i]} + break + fi + done +} + +install_library() { + local source="$1" + local name="$2" + local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}" + + # Libraries can contain headers, module maps, and a binary, so we'll copy everything in the folder over + + local source="$binary" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}/*\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}/*" "${destination}" +} + +# Copies a framework to derived data for use in later build phases +install_framework() +{ + local source="$1" + local name="$2" + local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}" + + if [ ! -d "$destination" ]; then + mkdir -p "$destination" + fi + + copy_dir "$source" "$destination" + echo "Copied $source to $destination" +} + +install_xcframework_library() { + local basepath="$1" + local name="$2" + local paths=("$@") + + # Locate the correct slice of the .xcframework for the current architectures + select_slice "${paths[@]}" + local target_path="$SELECT_SLICE_RETVAL" + if [[ -z "$target_path" ]]; then + echo "warning: [CP] Unable to find matching .xcframework slice in '${paths[@]}' for the current build architectures ($ARCHS)." + return + fi + + install_framework "$basepath/$target_path" "$name" +} + +install_xcframework() { + local basepath="$1" + local name="$2" + local package_type="$3" + local paths=("$@") + + # Locate the correct slice of the .xcframework for the current architectures + select_slice "${paths[@]}" + local target_path="$SELECT_SLICE_RETVAL" + if [[ -z "$target_path" ]]; then + echo "warning: [CP] Unable to find matching .xcframework slice in '${paths[@]}' for the current build architectures ($ARCHS)." + return + fi + local source="$basepath/$target_path" + + local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}" + + if [ ! -d "$destination" ]; then + mkdir -p "$destination" + fi + + copy_dir "$source/" "$destination" + + echo "Copied $source to $destination" +} + +install_xcframework "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework" "AppCenterAnalytics" "framework" "macos-arm64_x86_64" +install_xcframework "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework" "AppCenter" "framework" "macos-arm64_x86_64" +install_xcframework "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework" "AppCenterCrashes" "framework" "macos-arm64_x86_64" + diff --git a/Pods/Target Support Files/AppCenter/AppCenter.debug.xcconfig b/Pods/Target Support Files/AppCenter/AppCenter.debug.xcconfig index cfb350d..e0e2124 100644 --- a/Pods/Target Support Files/AppCenter/AppCenter.debug.xcconfig +++ b/Pods/Target Support Files/AppCenter/AppCenter.debug.xcconfig @@ -1,12 +1,14 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CODE_SIGN_IDENTITY = CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AppCenter -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/macOS" +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 OTHER_LDFLAGS = $(inherited) -l"c++" -l"sqlite3" -l"z" -framework "AppKit" -framework "Foundation" -framework "SystemConfiguration" PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/AppCenter +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} SKIP_INSTALL = YES USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/AppCenter/AppCenter.release.xcconfig b/Pods/Target Support Files/AppCenter/AppCenter.release.xcconfig index cfb350d..e0e2124 100644 --- a/Pods/Target Support Files/AppCenter/AppCenter.release.xcconfig +++ b/Pods/Target Support Files/AppCenter/AppCenter.release.xcconfig @@ -1,12 +1,14 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CODE_SIGN_IDENTITY = CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AppCenter -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/macOS" +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 OTHER_LDFLAGS = $(inherited) -l"c++" -l"sqlite3" -l"z" -framework "AppKit" -framework "Foundation" -framework "SystemConfiguration" PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/AppCenter +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} SKIP_INSTALL = YES USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack-Info.plist b/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack-Info.plist index 646f73c..7fc5efa 100644 --- a/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack-Info.plist +++ b/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.6.1 + 3.7.2 CFBundleSignature ???? CFBundleVersion diff --git a/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack-umbrella.h b/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack-umbrella.h index 6a2aae1..b1dbb00 100644 --- a/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack-umbrella.h +++ b/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack-umbrella.h @@ -15,6 +15,7 @@ #import "DDASLLogCapture.h" #import "DDASLLogger.h" #import "DDAssertMacros.h" +#import "DDContextFilterLogFormatter+Deprecated.h" #import "DDContextFilterLogFormatter.h" #import "DDDispatchQueueLogFormatter.h" #import "DDFileLogger+Buffering.h" diff --git a/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack.debug.xcconfig b/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack.debug.xcconfig index b6c6d8d..a404e6e 100644 --- a/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack.debug.xcconfig +++ b/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack.debug.xcconfig @@ -1,3 +1,4 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CODE_SIGN_IDENTITY = CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 @@ -6,6 +7,7 @@ PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/CocoaLumberjack +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} SKIP_INSTALL = YES USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack.release.xcconfig b/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack.release.xcconfig index b6c6d8d..a404e6e 100644 --- a/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack.release.xcconfig +++ b/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack.release.xcconfig @@ -1,3 +1,4 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CODE_SIGN_IDENTITY = CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 @@ -6,6 +7,7 @@ PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/CocoaLumberjack +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} SKIP_INSTALL = YES USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-acknowledgements.markdown b/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-acknowledgements.markdown index a201d69..6a5b9ea 100644 --- a/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-acknowledgements.markdown +++ b/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-acknowledgements.markdown @@ -33,7 +33,7 @@ THE SOFTWARE. BSD 3-Clause License -Copyright (c) 2010-2020, Deusty, LLC +Copyright (c) 2010-2021, Deusty, LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-acknowledgements.plist b/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-acknowledgements.plist index ea7ba45..3565249 100644 --- a/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-acknowledgements.plist +++ b/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-acknowledgements.plist @@ -50,7 +50,7 @@ THE SOFTWARE. FooterText BSD 3-Clause License -Copyright (c) 2010-2020, Deusty, LLC +Copyright (c) 2010-2021, Deusty, LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-frameworks.sh b/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-frameworks.sh index 11c3373..ffbc22a 100755 --- a/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-frameworks.sh +++ b/Pods/Target Support Files/Pods-Downloader/Pods-Downloader-frameworks.sh @@ -19,9 +19,8 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +BCSYMBOLMAP_DIR="BCSymbolMaps" -# Used as a return value for each invocation of `strip_invalid_archs` function. -STRIP_BINARY_RETVAL=0 # This protects against multiple targets copying the same framework dependency at the same time. The solution # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html @@ -45,6 +44,16 @@ install_framework() source="$(readlink "${source}")" fi + if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then + # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied + find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do + echo "Installing $f" + install_bcsymbolmap "$f" "$destination" + rm "$f" + done + rmdir "${source}/${BCSYMBOLMAP_DIR}" + fi + # Use filter instead of exclude so missing patterns don't throw errors. echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" @@ -80,7 +89,6 @@ install_framework() done fi } - # Copies and strips a vendored dSYM install_dsym() { local source="$1" @@ -95,12 +103,11 @@ install_dsym() { binary_name="$(ls "$source/Contents/Resources/DWARF")" binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" - # Strip invalid architectures so "fat" simulator / device frameworks work on device + # Strip invalid architectures from the dSYM. if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then strip_invalid_archs "$binary" "$warn_missing_arch" fi - - if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + if [[ $STRIP_BINARY_RETVAL == 0 ]]; then # Move the stripped file into its final destination. echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" @@ -111,28 +118,8 @@ install_dsym() { fi } -# Copies the bcsymbolmap files of a vendored framework -install_bcsymbolmap() { - local bcsymbolmap_path="$1" - local destination="${BUILT_PRODUCTS_DIR}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identity - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 # Strip invalid architectures strip_invalid_archs() { @@ -147,7 +134,7 @@ strip_invalid_archs() { if [[ "$warn_missing_arch" == "true" ]]; then echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." fi - STRIP_BINARY_RETVAL=0 + STRIP_BINARY_RETVAL=1 return fi stripped="" @@ -161,40 +148,31 @@ strip_invalid_archs() { if [[ "$stripped" ]]; then echo "Stripped $binary of architectures:$stripped" fi - STRIP_BINARY_RETVAL=1 + STRIP_BINARY_RETVAL=0 } -install_artifact() { - artifact="$1" - base="$(basename "$artifact")" - case $base in - *.framework) - install_framework "$artifact" - ;; - *.dSYM) - # Suppress arch warnings since XCFrameworks will include many dSYM files - install_dsym "$artifact" "false" - ;; - *.bcsymbolmap) - install_bcsymbolmap "$artifact" - ;; - *) - echo "error: Unrecognized artifact "$artifact"" - ;; - esac +# Copies the bcsymbolmap files of a vendored framework +install_bcsymbolmap() { + local bcsymbolmap_path="$1" + local destination="${BUILT_PRODUCTS_DIR}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" } -copy_artifacts() { - file_list="$1" - while read artifact; do - install_artifact "$artifact" - done <$file_list -} +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identity + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" -ARTIFACT_LIST_FILE="${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt" -if [ -r "${ARTIFACT_LIST_FILE}" ]; then - copy_artifacts "${ARTIFACT_LIST_FILE}" -fi + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} if [[ "$CONFIGURATION" == "Debug" ]]; then install_framework "${BUILT_PRODUCTS_DIR}/CocoaLumberjack/CocoaLumberjack.framework" diff --git a/Pods/Target Support Files/Pods-Downloader/Pods-Downloader.debug.xcconfig b/Pods/Target Support Files/Pods-Downloader/Pods-Downloader.debug.xcconfig index b8aa038..151b422 100644 --- a/Pods/Target Support Files/Pods-Downloader/Pods-Downloader.debug.xcconfig +++ b/Pods/Target Support Files/Pods-Downloader/Pods-Downloader.debug.xcconfig @@ -1,12 +1,14 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/macOS" +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack/CocoaLumberjack.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks' -OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -l"z" -framework "AppCenter" -framework "AppCenterAnalytics" -framework "AppCenterCrashes" -framework "AppKit" -framework "CocoaLumberjack" -framework "Foundation" -framework "SystemConfiguration" +OTHER_LDFLAGS = $(inherited) -l"c++" -l"sqlite3" -l"z" -framework "AppCenter" -framework "AppCenterAnalytics" -framework "AppCenterCrashes" -framework "AppKit" -framework "CocoaLumberjack" -framework "Foundation" -framework "SystemConfiguration" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/Pods-Downloader/Pods-Downloader.release.xcconfig b/Pods/Target Support Files/Pods-Downloader/Pods-Downloader.release.xcconfig index b8aa038..151b422 100644 --- a/Pods/Target Support Files/Pods-Downloader/Pods-Downloader.release.xcconfig +++ b/Pods/Target Support Files/Pods-Downloader/Pods-Downloader.release.xcconfig @@ -1,12 +1,14 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/macOS" +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack/CocoaLumberjack.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks' -OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -l"z" -framework "AppCenter" -framework "AppCenterAnalytics" -framework "AppCenterCrashes" -framework "AppKit" -framework "CocoaLumberjack" -framework "Foundation" -framework "SystemConfiguration" +OTHER_LDFLAGS = $(inherited) -l"c++" -l"sqlite3" -l"z" -framework "AppCenter" -framework "AppCenterAnalytics" -framework "AppCenterCrashes" -framework "AppKit" -framework "CocoaLumberjack" -framework "Foundation" -framework "SystemConfiguration" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES