Przeglądaj źródła

fix xcode public headers build settings

yogevbd 6 lat temu
rodzic
commit
5a65847a4f

+ 2
- 2
lib/ios/ReactNativeNavigation.xcodeproj/project.pbxproj Wyświetl plik

@@ -1195,7 +1195,7 @@
1195 1195
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1196 1196
 				OTHER_LDFLAGS = "-ObjC";
1197 1197
 				PRODUCT_NAME = ReactNativeNavigation;
1198
-				PUBLIC_HEADERS_FOLDER_PATH = "include/${PRODUCT_NAME}";
1198
+				PUBLIC_HEADERS_FOLDER_PATH = "include/$(TARGET_NAME)";
1199 1199
 				SKIP_INSTALL = YES;
1200 1200
 				SWIFT_OBJC_BRIDGING_HEADER = "ReactNativeNavigation-Bridging-Header.h";
1201 1201
 				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -1211,7 +1211,7 @@
1211 1211
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1212 1212
 				OTHER_LDFLAGS = "-ObjC";
1213 1213
 				PRODUCT_NAME = ReactNativeNavigation;
1214
-				PUBLIC_HEADERS_FOLDER_PATH = "include/${PRODUCT_NAME}";
1214
+				PUBLIC_HEADERS_FOLDER_PATH = "include/$(TARGET_NAME)";
1215 1215
 				SKIP_INSTALL = YES;
1216 1216
 				SWIFT_OBJC_BRIDGING_HEADER = "ReactNativeNavigation-Bridging-Header.h";
1217 1217
 				SWIFT_VERSION = 3.0;