Skip to content

Commit fcbf768

Browse files
committed
Add header search paths to BranchSDKTests target
Add HEADER_SEARCH_PATHS to Debug and Release configurations for BranchSDKTests to allow importing private SDK headers: - $(SRCROOT)/Sources/BranchSDK - $(SRCROOT)/Sources/BranchSDK/Private - $(SRCROOT)/Sources/BranchSDK/Public Also includes the deployment target fix (18.5 -> 12.0) from previous session to allow running on iOS 18.4 simulators.
1 parent 5c5b806 commit fcbf768

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

BranchSDK.xcodeproj/project.pbxproj

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@
575575
5FCDD3812B7AC6A100EAF29F /* BNCNetworkInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BNCNetworkInterface.m; sourceTree = "<group>"; };
576576
5FCDD3822B7AC6A100EAF29F /* BNCPreferenceHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BNCPreferenceHelper.m; sourceTree = "<group>"; };
577577
5FCDD3832B7AC6A100EAF29F /* BNCConfig.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BNCConfig.m; sourceTree = "<group>"; };
578-
5FCDD3842B7AC6A100EAF29F /* BranchConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BranchConstants.m; path = BranchConstants.m; sourceTree = "<group>"; };
578+
5FCDD3842B7AC6A100EAF29F /* BranchConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BranchConstants.m; sourceTree = "<group>"; };
579579
5FCDD3852B7AC6A100EAF29F /* BranchContentDiscoveryManifest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BranchContentDiscoveryManifest.m; sourceTree = "<group>"; };
580580
5FCDD3862B7AC6A100EAF29F /* BranchSpotlightUrlRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BranchSpotlightUrlRequest.m; sourceTree = "<group>"; };
581581
5FCDD3882B7AC6A100EAF29F /* BranchContentDiscoverer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BranchContentDiscoverer.m; sourceTree = "<group>"; };
@@ -944,7 +944,7 @@
944944
5FCDD39F2B7AC6A100EAF29F /* BranchSDK.h */,
945945
5FCDD3A52B7AC6A100EAF29F /* BranchShareLink.h */,
946946
5FCDD3AC2B7AC6A100EAF29F /* BranchUniversalObject.h */,
947-
5FCDD3DB2B7AC6A100EAF29F /* BNCConfig.h */,
947+
5FCDD3DB2B7AC6A100EAF29F /* BNCConfig.h */,
948948
);
949949
path = Public;
950950
sourceTree = "<group>";
@@ -2293,7 +2293,13 @@
22932293
ENABLE_USER_SCRIPT_SANDBOXING = YES;
22942294
GCC_C_LANGUAGE_STANDARD = gnu17;
22952295
GENERATE_INFOPLIST_FILE = YES;
2296-
IPHONEOS_DEPLOYMENT_TARGET = 18.5;
2296+
HEADER_SEARCH_PATHS = (
2297+
"$(inherited)",
2298+
"$(SRCROOT)/Sources/BranchSDK",
2299+
"$(SRCROOT)/Sources/BranchSDK/Private",
2300+
"$(SRCROOT)/Sources/BranchSDK/Public",
2301+
);
2302+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
22972303
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
22982304
MARKETING_VERSION = 1.0;
22992305
PRODUCT_BUNDLE_IDENTIFIER = branch.BranchSDKTests;
@@ -2317,7 +2323,13 @@
23172323
ENABLE_USER_SCRIPT_SANDBOXING = YES;
23182324
GCC_C_LANGUAGE_STANDARD = gnu17;
23192325
GENERATE_INFOPLIST_FILE = YES;
2320-
IPHONEOS_DEPLOYMENT_TARGET = 18.5;
2326+
HEADER_SEARCH_PATHS = (
2327+
"$(inherited)",
2328+
"$(SRCROOT)/Sources/BranchSDK",
2329+
"$(SRCROOT)/Sources/BranchSDK/Private",
2330+
"$(SRCROOT)/Sources/BranchSDK/Public",
2331+
);
2332+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
23212333
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
23222334
MARKETING_VERSION = 1.0;
23232335
PRODUCT_BUNDLE_IDENTIFIER = branch.BranchSDKTests;
@@ -2349,7 +2361,7 @@
23492361
INFOPLIST_KEY_UIMainStoryboardFile = Main;
23502362
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
23512363
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
2352-
IPHONEOS_DEPLOYMENT_TARGET = 18.5;
2364+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
23532365
LD_RUNPATH_SEARCH_PATHS = (
23542366
"$(inherited)",
23552367
"@executable_path/Frameworks",
@@ -2384,7 +2396,7 @@
23842396
INFOPLIST_KEY_UIMainStoryboardFile = Main;
23852397
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
23862398
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
2387-
IPHONEOS_DEPLOYMENT_TARGET = 18.5;
2399+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
23882400
LD_RUNPATH_SEARCH_PATHS = (
23892401
"$(inherited)",
23902402
"@executable_path/Frameworks",

0 commit comments

Comments
 (0)