Skip to content

Commit 20c57b4

Browse files
committed
Revert "[INTENG-21518] Fix for compilation issue on tvOS (#1469)"
This reverts commit 60ad084.
1 parent ca99836 commit 20c57b4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Framework/BranchSDK.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@ FOUNDATION_EXPORT const unsigned char BranchSDKVersionString[];
3030

3131
#import <BranchSDK/BranchDeepLinkingController.h>
3232

33+
#if !TARGET_OS_TV
34+
// tvOS does not support these features
3335
#import <BranchSDK/BranchShareLink.h>
3436
#import <BranchSDK/BranchCSSearchableItemAttributeSet.h>
3537
#import <BranchSDK/BranchActivityItemProvider.h>
38+
3639
#import <BranchSDK/BranchPasteControl.h>
40+
#endif
3741

3842
// Used by Branch.h for debug and testing APIs. Need to move these.
3943
#import <BranchSDK/BNCInitSessionResponse.h>

Sources/BranchSDK/Public/BranchSDK.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@ FOUNDATION_EXPORT const unsigned char BranchSDKVersionString[];
3030
#import "BranchDeepLinkingController.h"
3131
#import "BranchLogger.h"
3232

33+
#if !TARGET_OS_TV
34+
// tvOS does not support these features
3335
#import "BranchShareLink.h"
3436
#import "BranchCSSearchableItemAttributeSet.h"
3537
#import "BranchActivityItemProvider.h"
38+
3639
#import "BranchPasteControl.h"
40+
#endif
3741

3842
// Used by Branch.h for debug and testing APIs. Need to move these.
3943
#import "BNCInitSessionResponse.h"

0 commit comments

Comments
 (0)