From e1c823bb42a030dbc351c2a9f542fa3afddf2dd0 Mon Sep 17 00:00:00 2001 From: lpw <812862340@qq.com> Date: Thu, 11 Sep 2025 09:03:41 +0800 Subject: [PATCH] 提交版本 4.7.0 --- frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h | 93 ++++++---------------------------------------- 1 files changed, 12 insertions(+), 81 deletions(-) diff --git a/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h b/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h index 29618df..1feee19 100644 --- a/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h +++ b/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) #ifndef FBSDKCOREKIT_SWIFT_H #define FBSDKCOREKIT_SWIFT_H #pragma clang diagnostic push @@ -42,6 +42,8 @@ #include <string.h> #endif #if defined(__cplusplus) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module" #if defined(__arm64e__) && __has_include(<ptrauth.h>) # include <ptrauth.h> #else @@ -55,6 +57,7 @@ # endif #pragma clang diagnostic pop #endif +#pragma clang diagnostic pop #endif #if !defined(SWIFT_TYPEDEFS) @@ -62,6 +65,7 @@ # if __has_include(<uchar.h>) # include <uchar.h> # elif !defined(__cplusplus) +typedef unsigned char char8_t; typedef uint_least16_t char16_t; typedef uint_least32_t char32_t; # endif @@ -300,6 +304,7 @@ #pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Wnullability" #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" #if __has_attribute(external_source_symbol) # pragma push_macro("any") @@ -309,10 +314,10 @@ #endif #if defined(__OBJC__) + @class NSString; @class NSNumber; @class NSURL; - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -326,14 +331,10 @@ + (void)handle:(NSURL * _Nullable)url; @end - @interface FBAEMReporter (SWIFT_EXTENSION(FBSDKCoreKit)) <FBSDKAEMReporter> @end - - @protocol FBSDKAppLinkTarget; - /// Contains App Link metadata relevant for navigation on this device /// derived from the HTML at a given URL. SWIFT_CLASS_NAMED("AppLink") @@ -385,8 +386,6 @@ @protocol FBSDKAppLinkResolving; @protocol FBSDKSettings; -@class NSError; - /// Represents a pending request to navigate to an app link. Instead of simplying opening a URL, you can build custom requests with additional navigation and app data attached to them by creating an <code>AppLinkNavigation</code>. SWIFT_CLASS_NAMED("AppLinkNavigation") SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Not available in app extension") @interface FBSDKAppLinkNavigation : NSObject @@ -416,13 +415,12 @@ /// Creates an instance of <code>[String: [String: String]]</code> with the correct format for iOS callback URLs to be used as ‘appLinkData’ argument in the call to init(appLink:extras:appLinkData:). + (NSDictionary<NSString *, NSDictionary<NSString *, NSString *> *> * _Nonnull)callbackAppLinkDataForAppWithName:(NSString * _Nonnull)appName url:(NSString * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; /// Performs the navigation -- (FBSDKAppLinkNavigationType)navigate:(NSError * _Nullable * _Nullable)errorPointer SWIFT_WARN_UNUSED_RESULT; +- (void)navigate:(FBSDKAppLinkNavigationBlock _Nullable)handler; /// Returns an AppLink for the given URL + (void)resolveAppLink:(NSURL * _Nonnull)destination handler:(FBSDKAppLinkBlock _Nonnull)handler; /// Returns an AppLink for the given URL using the given App Link resolution strategy + (void)resolveAppLink:(NSURL * _Nonnull)destination resolver:(id <FBSDKAppLinkResolving> _Nonnull)resolver handler:(FBSDKAppLinkBlock _Nonnull)handler; -/// Navigates to an AppLink and returns whether it opened in-app or in-browser -+ (FBSDKAppLinkNavigationType)navigateToAppLink:(FBSDKAppLink * _Nonnull)appLink error:(NSError * _Nullable * _Nullable)errorPointer SWIFT_WARN_UNUSED_RESULT; ++ (void)navigateToAppLink:(FBSDKAppLink * _Nonnull)appLink handler:(FBSDKAppLinkNavigationBlock _Nonnull)handler; /// Returns an AppLinkNavigationType based on a FBSDKAppLink. /// It’s essentially a no-side-effect version of navigateToAppLink:error:, /// allowing apps to determine flow based on the link type (e.g. open an @@ -437,8 +435,6 @@ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - - /// Provides an implementation of the AppLinkResolving protocol that uses the Facebook App Link /// Index API to resolve App Links given a URL. It also provides an additional helper method that can resolve /// multiple App Links in a single call. @@ -451,8 +447,6 @@ - (void)appLinksFrom:(NSArray<NSURL *> * _Nonnull)urls handler:(FBSDKAppLinksBlock _Nonnull)handler SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Not available in app extension"); - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - - /// Represents a target defined in App Link metadata, consisting of at least /// a URL, and optionally an App Store ID and name. @@ -475,7 +469,6 @@ @class UIApplication; @class NSUserActivity; @protocol FBSDKApplicationObserving; - /// An <code>ApplicationDelegate</code> is designed to post-process the results from Facebook Login /// or Facebook Dialogs (or any action that requires switching over to the native Facebook /// app or Safari). @@ -553,7 +546,6 @@ - (void)removeObserver:(id <FBSDKApplicationObserving> _Nonnull)observer; @end - SWIFT_CLASS_NAMED("AuthenticationTokenClaims") @interface FBSDKAuthenticationTokenClaims : NSObject /// Internal method exposed to facilitate transition to Swift. @@ -564,9 +556,7 @@ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - @protocol FBSDKGraphRequestFactory; - SWIFT_PROTOCOL_NAMED("CAPIReporter") @protocol FBSDKCAPIReporter - (void)enable; @@ -575,7 +565,6 @@ @end @protocol FBSDKInternalURLOpener; - /// Internal type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -588,7 +577,6 @@ @class UIImage; @class UIColor; - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -604,7 +592,6 @@ enum FBSDKProfilePictureMode : NSUInteger; @class FBSDKProfile; @class NSCoder; - /// A view to display a profile picture. SWIFT_CLASS_NAMED("FBProfilePictureView") @interface FBSDKProfilePictureView : UIView @@ -637,7 +624,6 @@ - (void)setNeedsImageUpdate; @end - SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") @interface FBSDKAppEventsCAPIManager : NSObject <FBSDKCAPIReporter> SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) @@ -648,7 +634,6 @@ - (void)recordEvent:(NSDictionary<NSString *, id> * _Nonnull)parameters; @end - SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") @interface FBSDKTransformerGraphRequestFactory : NSObject SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) @@ -657,7 +642,6 @@ - (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; - (void)callCapiGatewayAPIWith:(NSDictionary<NSString *, id> * _Nonnull)parameters userAgent:(NSString * _Nonnull)userAgent; @end - SWIFT_PROTOCOL_NAMED("MACARuleMatching") @protocol FBSDKMACARuleMatching @@ -668,7 +652,6 @@ @class NSDate; @class FBSDKUserAgeRange; @class FBSDKLocation; - /// Represents an immutable Facebook profile. /// This class provides a global current profile instance to more easily /// add social context to your application. When the profile changes, a notification is @@ -854,7 +837,6 @@ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - @interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit)) /// A convenience method for returning a complete <code>URL</code> for retrieving the user’s profile image. /// \param pictureMode The picture mode. @@ -878,8 +860,6 @@ FBSDKProfilePictureModeLarge = 4, }; - - /// Internal type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -891,7 +871,6 @@ + (FBSDKProfile * _Nullable)fetchCachedProfile SWIFT_WARN_UNUSED_RESULT; @end - @interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit)) <FBSDKProfileProviding> /// The current profile. SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) FBSDKProfile * _Nullable currentProfile;) @@ -900,14 +879,12 @@ + (nullable instancetype)fetchCachedProfile SWIFT_WARN_UNUSED_RESULT; @end - @interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit)) <NSSecureCoding> SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) + (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder; - (void)encodeWithCoder:(NSCoder * _Nonnull)encoder; @end - @interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit)) /// Loads the current profile and passes it to the completion block. @@ -922,8 +899,6 @@ + (void)loadCurrentProfileWithCompletion:(FBSDKProfileBlock _Nullable)completion; @end - - SWIFT_CLASS_NAMED("ProtectedModeManager") @interface FBSDKProtectedModeManager : NSObject <FBSDKAppEventsParameterProcessing> - (void)enable; @@ -932,8 +907,6 @@ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -941,7 +914,6 @@ @interface ServerConfigurationProvider : NSObject - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - /// Internal type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. @@ -992,7 +964,6 @@ /// - (void)setDataProcessingOptions:(NSArray<NSString *> * _Nullable)options country:(int32_t)country state:(int32_t)state; @end - SWIFT_CLASS_NAMED("Settings") @interface FBSDKSettings : NSObject <FBSDKSettingsLogging, FBSDKSettings, FBSDKClientTokenProviding> @@ -1154,11 +1125,6 @@ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - - - - - @interface FBSDKSettings (SWIFT_EXTENSION(FBSDKCoreKit)) /// Internal method exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. @@ -1174,10 +1140,7 @@ - (void)logIfSDKSettingsChanged; @end - - @class NSURLRequest; - /// Internal class exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1190,8 +1153,6 @@ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1201,7 +1162,6 @@ @protocol _FBSDKNotificationPosting; @protocol FBSDKNotificationDelivering; - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1212,9 +1172,7 @@ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - @class FBSDKContainerViewController; - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1226,13 +1184,11 @@ @end @class SFSafariViewController; - @interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit)) - (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)safariViewController; @end @class ASWebAuthenticationSession; - SWIFT_AVAILABILITY(ios,introduced=13) @interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit)) <ASWebAuthenticationPresentationContextProviding> - (ASPresentationAnchor _Nonnull)presentationAnchorForWebAuthenticationSession:(ASWebAuthenticationSession * _Nonnull)session SWIFT_WARN_UNUSED_RESULT; @@ -1241,13 +1197,11 @@ @protocol FBSDKURLOpening; @protocol FBSDKBridgeAPIRequest; @class UIViewController; - @interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit)) - (void)openURL:(NSURL * _Nonnull)url sender:(id <FBSDKURLOpening> _Nullable)sender handler:(FBSDKSuccessBlock _Nonnull)handler; - (void)openBridgeAPIRequest:(id <FBSDKBridgeAPIRequest> _Nonnull)request useSafariViewController:(BOOL)useSafariViewController fromViewController:(UIViewController * _Nullable)fromViewController completionBlock:(FBSDKBridgeAPIResponseBlock _Nonnull)completionBlock; - (void)openURLWithSafariViewController:(NSURL * _Nonnull)url sender:(id <FBSDKURLOpening> _Nullable)sender fromViewController:(UIViewController * _Nullable)fromViewController handler:(FBSDKSuccessBlock _Nonnull)handler; @end - @interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit)) - (void)applicationWillResignActive:(UIApplication * _Nullable)application; @@ -1258,7 +1212,6 @@ @end @protocol FBSDKPasteboard; - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1272,8 +1225,6 @@ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1284,7 +1235,6 @@ @end @class FBSDKDialogConfiguration; - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1293,7 +1243,6 @@ - (NSDictionary<NSString *, FBSDKDialogConfiguration *> * _Nonnull)buildDialogConfigurationMapWithRawConfigurations:(NSArray<NSDictionary<NSString *, id> *> * _Nonnull)rawConfigurations SWIFT_WARN_UNUSED_RESULT; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - /// Internal type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. @@ -1310,8 +1259,6 @@ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1321,7 +1268,6 @@ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1330,7 +1276,6 @@ - (CGPathRef _Nullable)pathWith:(CGSize)size SWIFT_WARN_UNUSED_RESULT; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. @@ -1345,8 +1290,6 @@ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1355,7 +1298,6 @@ - (CGPathRef _Nullable)pathWith:(CGSize)size SWIFT_WARN_UNUSED_RESULT; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. @@ -1368,12 +1310,11 @@ @class SKPaymentQueue; @protocol FBSDKPaymentProductRequestorCreating; - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE /// Class to encapsulate implicit logging of purchase events -SWIFT_CLASS_NAMED("_PaymentObserver") +SWIFT_CLASS_NAMED("_PaymentObserver") SWIFT_AVAILABILITY(ios,deprecated=18.0) @interface FBSDKPaymentObserver : NSObject <FBSDKPaymentObserving> - (nonnull instancetype)initWithPaymentQueue:(SKPaymentQueue * _Nonnull)paymentQueue paymentProductRequestorFactory:(id <FBSDKPaymentProductRequestorCreating> _Nonnull)paymentProductRequestorFactory OBJC_DESIGNATED_INITIALIZER; - (void)startObservingTransactions; @@ -1383,23 +1324,20 @@ @end @class SKPaymentTransaction; - +SWIFT_AVAILABILITY(ios,deprecated=18.0) @interface FBSDKPaymentObserver (SWIFT_EXTENSION(FBSDKCoreKit)) <SKPaymentTransactionObserver> - (void)paymentQueue:(SKPaymentQueue * _Nonnull)queue updatedTransactions:(NSArray<SKPaymentTransaction *> * _Nonnull)transactions; @end @class FBSDKPaymentProductRequestor; - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE -SWIFT_CLASS_NAMED("_PaymentProductRequestorFactory") +SWIFT_CLASS_NAMED("_PaymentProductRequestorFactory") SWIFT_AVAILABILITY(ios,deprecated=18.0) @interface FBSDKPaymentProductRequestorFactory : NSObject <FBSDKPaymentProductRequestorCreating> - (FBSDKPaymentProductRequestor * _Nonnull)createRequestorWithTransaction:(SKPaymentTransaction * _Nonnull)transaction SWIFT_WARN_UNUSED_RESULT; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @end - - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. @@ -1413,7 +1351,6 @@ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1425,7 +1362,6 @@ - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. @@ -1439,9 +1375,7 @@ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - @protocol FBSDKWebDialogDelegate; - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE @@ -1457,7 +1391,6 @@ @end @class FBSDKWebDialogView; - @interface FBSDKWebDialog (SWIFT_EXTENSION(FBSDKCoreKit)) <FBSDKWebDialogViewDelegate> - (void)webDialogView:(FBSDKWebDialogView * _Nonnull)webDialogView didCompleteWithResults:(NSDictionary<NSString *, id> * _Nonnull)results; - (void)webDialogView:(FBSDKWebDialogView * _Nonnull)webDialogView didFailWithError:(NSError * _Nonnull)error; @@ -1465,9 +1398,7 @@ - (void)webDialogViewDidFinishLoad:(FBSDKWebDialogView * _Nonnull)webDialogView; @end - @protocol FBSDKWebView; - /// Internal Type exposed to facilitate transition to Swift. /// API Subject to change or removal without warning. Do not use. /// @warning INTERNAL - DO NOT USE -- Gitblit v1.8.0