Skip to content

Commit

Permalink
Added tvOS conditional headers
Browse files Browse the repository at this point in the history
  • Loading branch information
sharath-branch committed Oct 22, 2024
1 parent 5239c1b commit 4b0e2cd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BranchSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@
E52E5B072CC79E4E00F553EE /* BranchFileLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = E52E5B052CC79E4E00F553EE /* BranchFileLogger.h */; };
E52E5B0A2CC79E5C00F553EE /* BranchFileLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = E52E5B092CC79E5C00F553EE /* BranchFileLogger.m */; };
E52E5B0B2CC79E5C00F553EE /* BranchFileLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = E52E5B092CC79E5C00F553EE /* BranchFileLogger.m */; };
E563942E2CC7A8E600E18E65 /* BranchFileLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = E52E5B052CC79E4E00F553EE /* BranchFileLogger.h */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -1200,6 +1201,7 @@
5FCDD4A02B7AC6A200EAF29F /* Branch.h in Headers */,
5FCDD5092B7AC6A300EAF29F /* BNCUrlQueryParameter.h in Headers */,
5FCDD5482B7AC6A300EAF29F /* BNCConfig.h in Headers */,
E563942E2CC7A8E600E18E65 /* BranchFileLogger.h in Headers */,
5FCDD4E82B7AC6A200EAF29F /* UIViewController+Branch.h in Headers */,
5FCDD54B2B7AC6A300EAF29F /* BranchConstants.h in Headers */,
5F5FDA1C2B7DE31E00F14A43 /* BranchLogger.h in Headers */,
Expand Down
3 changes: 3 additions & 0 deletions Sources/BranchSDK/BranchFileLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//
// Created by Sharath Sriram on 15/10/24.
//
#if !TARGET_OS_TV

#import "BranchFileLogger.h"

Expand Down Expand Up @@ -109,3 +110,5 @@ - (void)shareLogFileFromViewController:(UIViewController *)viewController {
}

@end

#endif
4 changes: 4 additions & 0 deletions Sources/BranchSDK/Public/BranchFileLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// Created by Sharath Sriram on 15/10/24.
//

#if !TARGET_OS_TV

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

Expand All @@ -18,3 +20,5 @@
- (void)shareLogFileFromViewController:(UIViewController *)viewController;

@end

#endif

0 comments on commit 4b0e2cd

Please sign in to comment.