From 5e3cad620a9fb20d778ca2f7566ba11f54dbc767 Mon Sep 17 00:00:00 2001 From: kurtsergey Date: Fri, 2 Feb 2018 15:32:24 +0300 Subject: [PATCH] Add header search path in order to fix build of pods-configured projects --- .../RCTAppMetrica.xcodeproj/project.pbxproj | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/ios/RCTAppMetrica/RCTAppMetrica.xcodeproj/project.pbxproj b/ios/RCTAppMetrica/RCTAppMetrica.xcodeproj/project.pbxproj index 7e86f32..6ca997b 100644 --- a/ios/RCTAppMetrica/RCTAppMetrica.xcodeproj/project.pbxproj +++ b/ios/RCTAppMetrica/RCTAppMetrica.xcodeproj/project.pbxproj @@ -224,9 +224,12 @@ isa = XCBuildConfiguration; buildSettings = { FRAMEWORK_SEARCH_PATHS = ( - "$(PROJECT_DIR)/../../../../ios", - "$(PROJECT_DIR)/../../../../ios/Frameworks", - ); + "$(PROJECT_DIR)/../../../../ios", + "$(PROJECT_DIR)/../../../../ios/Frameworks", + ); + HEADER_SEARCH_PATHS = ( + "$(PROJECT_DIR)/../../../../ios/Pods/**", + ); OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -237,9 +240,12 @@ isa = XCBuildConfiguration; buildSettings = { FRAMEWORK_SEARCH_PATHS = ( - "$(PROJECT_DIR)/../../../../ios", - "$(PROJECT_DIR)/../../../../ios/Frameworks", - ); + "$(PROJECT_DIR)/../../../../ios", + "$(PROJECT_DIR)/../../../../ios/Frameworks", + ); + HEADER_SEARCH_PATHS = ( + "$(PROJECT_DIR)/../../../../ios/Pods/**", + ); OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES;