From 49b8839fda3439edc31581527e84036e58f55f0f Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 26 Jan 2021 09:43:00 +0800
Subject: [PATCH] 3.9.2

---
 frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h |   23 ++++++++++++++++++++---
 1 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h b/frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h
index 9b0e0fe..367a168 100644
--- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h
+++ b/frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h
@@ -18,7 +18,18 @@
 
 #import <Foundation/Foundation.h>
 
-#import <FBSDKCoreKit/FBSDKCopying.h>
+#if TARGET_OS_TV
+
+typedef NS_ENUM(NSUInteger, AppGroupPrivacy) { AppGroupPrivacyOpen };
+
+FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(AppGroupPrivacy privacy)
+NS_REFINED_FOR_SWIFT;
+
+#else
+
+#import "FBSDKCoreKitImport.h"
+
+NS_ASSUME_NONNULL_BEGIN
 
 /**
  NS_ENUM(NSUInteger, FBSDKAppGroupPrivacy)
@@ -30,16 +41,18 @@
   FBSDKAppGroupPrivacyOpen = 0,
   /** Anyone can see the group and who's in it, but only members can see posts. */
   FBSDKAppGroupPrivacyClosed,
-};
+} NS_SWIFT_NAME(AppGroupPrivacy);
 
 /**
   Converts an FBSDKAppGroupPrivacy to an NSString.
  */
-FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(FBSDKAppGroupPrivacy privacy);
+FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(FBSDKAppGroupPrivacy privacy)
+NS_REFINED_FOR_SWIFT;
 
 /**
   A model for creating an app group.
  */
+NS_SWIFT_NAME(AppGroupContent)
 @interface FBSDKAppGroupContent : NSObject <FBSDKCopying, NSSecureCoding>
 
 /**
@@ -65,3 +78,7 @@
 - (BOOL)isEqualToAppGroupContent:(FBSDKAppGroupContent *)content;
 
 @end
+
+NS_ASSUME_NONNULL_END
+
+#endif

--
Gitblit v1.8.0