From b19a78b27247f5f0761c35b5b3e8a41876eabb05 Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 20 Apr 2021 17:18:32 +0800
Subject: [PATCH] no message

---
 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