Pārlūkot izejas kodu

Fix iOS example

Mathieu Acthernoene 7 gadus atpakaļ
vecāks
revīzija
d14ddbe6bc

+ 0
- 1
RCTConvert+RNPStatus.m Parādīt failu

@@ -10,7 +10,6 @@
10 10
 
11 11
 @implementation RCTConvert (RNPStatus)
12 12
 
13
-
14 13
 RCT_ENUM_CONVERTER(RNPType, (@{ @"location" : @(RNPTypeLocation),
15 14
                                 @"camera" : @(RNPTypeCamera),
16 15
                                 @"microphone" : @(RNPTypeMicrophone),

+ 0
- 1
ReactNativePermissions.h Parādīt failu

@@ -16,5 +16,4 @@
16 16
 
17 17
 @interface ReactNativePermissions : NSObject <RCTBridgeModule>
18 18
 
19
-
20 19
 @end

+ 0
- 1
ReactNativePermissions.m Parādīt failu

@@ -18,7 +18,6 @@
18 18
   #import "RCTBridge.h"
19 19
 #endif
20 20
 
21
-
22 21
 #if __has_include(<React/RCTConvert.h>)
23 22
   #import <React/RCTConvert.h>
24 23
 #elif __has_include("React/RCTConvert.h")

+ 125
- 29
example/ios/Example.xcodeproj/project.pbxproj Parādīt failu

@@ -32,10 +32,10 @@
32 32
 		2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
33 33
 		2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
34 34
 		2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
35
-		2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */; };
35
+		2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
36 36
 		2DCD954D1E0B4F2C00145EB5 /* ExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ExampleTests.m */; };
37 37
 		5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
38
-		66F16C091FC608C600E71FEB /* libReactNativePermissions.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 66F16C071FC608A900E71FEB /* libReactNativePermissions.a */; };
38
+		661E35741FD3114100C328EA /* libReactNativePermissions.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 661E35731FD3113500C328EA /* libReactNativePermissions.a */; };
39 39
 		832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
40 40
 		ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
41 41
 /* End PBXBuildFile section */
@@ -216,6 +216,55 @@
216 216
 			remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
217 217
 			remoteInfo = "RCTAnimation-tvOS";
218 218
 		};
219
+		661E35331FD3107F00C328EA /* PBXContainerItemProxy */ = {
220
+			isa = PBXContainerItemProxy;
221
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
222
+			proxyType = 2;
223
+			remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
224
+			remoteInfo = "third-party";
225
+		};
226
+		661E35351FD3107F00C328EA /* PBXContainerItemProxy */ = {
227
+			isa = PBXContainerItemProxy;
228
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
229
+			proxyType = 2;
230
+			remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
231
+			remoteInfo = "third-party-tvOS";
232
+		};
233
+		661E35371FD3107F00C328EA /* PBXContainerItemProxy */ = {
234
+			isa = PBXContainerItemProxy;
235
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
236
+			proxyType = 2;
237
+			remoteGlobalIDString = 139D7E881E25C6D100323FB7;
238
+			remoteInfo = "double-conversion";
239
+		};
240
+		661E35391FD3107F00C328EA /* PBXContainerItemProxy */ = {
241
+			isa = PBXContainerItemProxy;
242
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
243
+			proxyType = 2;
244
+			remoteGlobalIDString = 3D383D621EBD27B9005632C8;
245
+			remoteInfo = "double-conversion-tvOS";
246
+		};
247
+		661E353B1FD3107F00C328EA /* PBXContainerItemProxy */ = {
248
+			isa = PBXContainerItemProxy;
249
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
250
+			proxyType = 2;
251
+			remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
252
+			remoteInfo = privatedata;
253
+		};
254
+		661E353D1FD3107F00C328EA /* PBXContainerItemProxy */ = {
255
+			isa = PBXContainerItemProxy;
256
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
257
+			proxyType = 2;
258
+			remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
259
+			remoteInfo = "privatedata-tvOS";
260
+		};
261
+		661E35721FD3113500C328EA /* PBXContainerItemProxy */ = {
262
+			isa = PBXContainerItemProxy;
263
+			containerPortal = A04BD34DF4564A4A8E4497EC /* ReactNativePermissions.xcodeproj */;
264
+			proxyType = 2;
265
+			remoteGlobalIDString = 9D23B34F1C767B80008B4819;
266
+			remoteInfo = ReactNativePermissions;
267
+		};
219 268
 		66F16BED1FC608A800E71FEB /* PBXContainerItemProxy */ = {
220 269
 			isa = PBXContainerItemProxy;
221 270
 			containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
@@ -237,13 +286,6 @@
237 286
 			remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
238 287
 			remoteInfo = "fishhook-tvOS";
239 288
 		};
240
-		66F16C061FC608A900E71FEB /* PBXContainerItemProxy */ = {
241
-			isa = PBXContainerItemProxy;
242
-			containerPortal = 0D173517D64E4E0C9D1491B9 /* ReactNativePermissions.xcodeproj */;
243
-			proxyType = 2;
244
-			remoteGlobalIDString = 9D23B34F1C767B80008B4819;
245
-			remoteInfo = ReactNativePermissions;
246
-		};
247 289
 		78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
248 290
 			isa = PBXContainerItemProxy;
249 291
 			containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
@@ -277,7 +319,6 @@
277 319
 		00E356EE1AD99517003FC87E /* ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
278 320
 		00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
279 321
 		00E356F21AD99517003FC87E /* ExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExampleTests.m; sourceTree = "<group>"; };
280
-		0D173517D64E4E0C9D1491B9 /* ReactNativePermissions.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = ReactNativePermissions.xcodeproj; path = "../node_modules/react-native-permissions/ReactNativePermissions.xcodeproj"; sourceTree = "<group>"; };
281 322
 		139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
282 323
 		139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
283 324
 		13B07F961A680F5B00A75B9A /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -293,6 +334,7 @@
293 334
 		5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
294 335
 		78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
295 336
 		832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
337
+		A04BD34DF4564A4A8E4497EC /* ReactNativePermissions.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = ReactNativePermissions.xcodeproj; path = "../node_modules/react-native-permissions/ReactNativePermissions.xcodeproj"; sourceTree = "<group>"; };
296 338
 		ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = "<group>"; };
297 339
 /* End PBXFileReference section */
298 340
 
@@ -322,7 +364,7 @@
322 364
 				832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
323 365
 				00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
324 366
 				139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
325
-				66F16C091FC608C600E71FEB /* libReactNativePermissions.a in Frameworks */,
367
+				661E35741FD3114100C328EA /* libReactNativePermissions.a in Frameworks */,
326 368
 			);
327 369
 			runOnlyForDeploymentPostprocessing = 0;
328 370
 		};
@@ -330,7 +372,7 @@
330 372
 			isa = PBXFrameworksBuildPhase;
331 373
 			buildActionMask = 2147483647;
332 374
 			files = (
333
-				2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */,
375
+				2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */,
334 376
 				2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
335 377
 				2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
336 378
 				2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
@@ -448,13 +490,19 @@
448 490
 			isa = PBXGroup;
449 491
 			children = (
450 492
 				146834041AC3E56700842450 /* libReact.a */,
493
+				3DAD3EA31DF850E9000B6D8A /* libReact.a */,
451 494
 				3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
452 495
 				3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
453 496
 				3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
454 497
 				3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
455 498
 				3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
456 499
 				3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
457
-				3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */,
500
+				661E35341FD3107F00C328EA /* libthird-party.a */,
501
+				661E35361FD3107F00C328EA /* libthird-party.a */,
502
+				661E35381FD3107F00C328EA /* libdouble-conversion.a */,
503
+				661E353A1FD3107F00C328EA /* libdouble-conversion.a */,
504
+				661E353C1FD3107F00C328EA /* libprivatedata.a */,
505
+				661E353E1FD3107F00C328EA /* libprivatedata-tvOS.a */,
458 506
 			);
459 507
 			name = Products;
460 508
 			sourceTree = "<group>";
@@ -468,10 +516,10 @@
468 516
 			name = Products;
469 517
 			sourceTree = "<group>";
470 518
 		};
471
-		66F16C031FC608A800E71FEB /* Products */ = {
519
+		661E356F1FD3113500C328EA /* Products */ = {
472 520
 			isa = PBXGroup;
473 521
 			children = (
474
-				66F16C071FC608A900E71FEB /* libReactNativePermissions.a */,
522
+				661E35731FD3113500C328EA /* libReactNativePermissions.a */,
475 523
 			);
476 524
 			name = Products;
477 525
 			sourceTree = "<group>";
@@ -507,7 +555,7 @@
507 555
 				832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
508 556
 				00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
509 557
 				139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
510
-				0D173517D64E4E0C9D1491B9 /* ReactNativePermissions.xcodeproj */,
558
+				A04BD34DF4564A4A8E4497EC /* ReactNativePermissions.xcodeproj */,
511 559
 			);
512 560
 			name = Libraries;
513 561
 			sourceTree = "<group>";
@@ -724,8 +772,8 @@
724 772
 					ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
725 773
 				},
726 774
 				{
727
-					ProductGroup = 66F16C031FC608A800E71FEB /* Products */;
728
-					ProjectRef = 0D173517D64E4E0C9D1491B9 /* ReactNativePermissions.xcodeproj */;
775
+					ProductGroup = 661E356F1FD3113500C328EA /* Products */;
776
+					ProjectRef = A04BD34DF4564A4A8E4497EC /* ReactNativePermissions.xcodeproj */;
729 777
 				},
730 778
 			);
731 779
 			projectRoot = "";
@@ -837,10 +885,10 @@
837 885
 			remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
838 886
 			sourceTree = BUILT_PRODUCTS_DIR;
839 887
 		};
840
-		3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = {
888
+		3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
841 889
 			isa = PBXReferenceProxy;
842 890
 			fileType = archive.ar;
843
-			path = "libReact-tvOS.a";
891
+			path = libReact.a;
844 892
 			remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
845 893
 			sourceTree = BUILT_PRODUCTS_DIR;
846 894
 		};
@@ -900,6 +948,55 @@
900 948
 			remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
901 949
 			sourceTree = BUILT_PRODUCTS_DIR;
902 950
 		};
951
+		661E35341FD3107F00C328EA /* libthird-party.a */ = {
952
+			isa = PBXReferenceProxy;
953
+			fileType = archive.ar;
954
+			path = "libthird-party.a";
955
+			remoteRef = 661E35331FD3107F00C328EA /* PBXContainerItemProxy */;
956
+			sourceTree = BUILT_PRODUCTS_DIR;
957
+		};
958
+		661E35361FD3107F00C328EA /* libthird-party.a */ = {
959
+			isa = PBXReferenceProxy;
960
+			fileType = archive.ar;
961
+			path = "libthird-party.a";
962
+			remoteRef = 661E35351FD3107F00C328EA /* PBXContainerItemProxy */;
963
+			sourceTree = BUILT_PRODUCTS_DIR;
964
+		};
965
+		661E35381FD3107F00C328EA /* libdouble-conversion.a */ = {
966
+			isa = PBXReferenceProxy;
967
+			fileType = archive.ar;
968
+			path = "libdouble-conversion.a";
969
+			remoteRef = 661E35371FD3107F00C328EA /* PBXContainerItemProxy */;
970
+			sourceTree = BUILT_PRODUCTS_DIR;
971
+		};
972
+		661E353A1FD3107F00C328EA /* libdouble-conversion.a */ = {
973
+			isa = PBXReferenceProxy;
974
+			fileType = archive.ar;
975
+			path = "libdouble-conversion.a";
976
+			remoteRef = 661E35391FD3107F00C328EA /* PBXContainerItemProxy */;
977
+			sourceTree = BUILT_PRODUCTS_DIR;
978
+		};
979
+		661E353C1FD3107F00C328EA /* libprivatedata.a */ = {
980
+			isa = PBXReferenceProxy;
981
+			fileType = archive.ar;
982
+			path = libprivatedata.a;
983
+			remoteRef = 661E353B1FD3107F00C328EA /* PBXContainerItemProxy */;
984
+			sourceTree = BUILT_PRODUCTS_DIR;
985
+		};
986
+		661E353E1FD3107F00C328EA /* libprivatedata-tvOS.a */ = {
987
+			isa = PBXReferenceProxy;
988
+			fileType = archive.ar;
989
+			path = "libprivatedata-tvOS.a";
990
+			remoteRef = 661E353D1FD3107F00C328EA /* PBXContainerItemProxy */;
991
+			sourceTree = BUILT_PRODUCTS_DIR;
992
+		};
993
+		661E35731FD3113500C328EA /* libReactNativePermissions.a */ = {
994
+			isa = PBXReferenceProxy;
995
+			fileType = archive.ar;
996
+			path = libReactNativePermissions.a;
997
+			remoteRef = 661E35721FD3113500C328EA /* PBXContainerItemProxy */;
998
+			sourceTree = BUILT_PRODUCTS_DIR;
999
+		};
903 1000
 		66F16BEE1FC608A800E71FEB /* libRCTBlob-tvOS.a */ = {
904 1001
 			isa = PBXReferenceProxy;
905 1002
 			fileType = archive.ar;
@@ -921,13 +1018,6 @@
921 1018
 			remoteRef = 66F16C011FC608A800E71FEB /* PBXContainerItemProxy */;
922 1019
 			sourceTree = BUILT_PRODUCTS_DIR;
923 1020
 		};
924
-		66F16C071FC608A900E71FEB /* libReactNativePermissions.a */ = {
925
-			isa = PBXReferenceProxy;
926
-			fileType = archive.ar;
927
-			path = libReactNativePermissions.a;
928
-			remoteRef = 66F16C061FC608A900E71FEB /* PBXContainerItemProxy */;
929
-			sourceTree = BUILT_PRODUCTS_DIR;
930
-		};
931 1021
 		78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
932 1022
 			isa = PBXReferenceProxy;
933 1023
 			fileType = archive.ar;
@@ -1098,6 +1188,7 @@
1098 1188
 				LIBRARY_SEARCH_PATHS = (
1099 1189
 					"$(inherited)",
1100 1190
 					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1191
+					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1101 1192
 				);
1102 1193
 				OTHER_LDFLAGS = (
1103 1194
 					"-ObjC",
@@ -1124,6 +1215,7 @@
1124 1215
 				LIBRARY_SEARCH_PATHS = (
1125 1216
 					"$(inherited)",
1126 1217
 					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1218
+					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1127 1219
 				);
1128 1220
 				OTHER_LDFLAGS = (
1129 1221
 					"-ObjC",
@@ -1195,13 +1287,14 @@
1195 1287
 				GCC_NO_COMMON_BLOCKS = YES;
1196 1288
 				HEADER_SEARCH_PATHS = (
1197 1289
 					"$(inherited)",
1198
-					"$(SRCROOT)/../node_modules/react-native-permissions/**",
1290
+					"$(SRCROOT)/../node_modules/react-native-permissions",
1199 1291
 				);
1200 1292
 				INFOPLIST_FILE = "Example-tvOS/Info.plist";
1201 1293
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1202 1294
 				LIBRARY_SEARCH_PATHS = (
1203 1295
 					"$(inherited)",
1204 1296
 					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1297
+					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1205 1298
 				);
1206 1299
 				OTHER_LDFLAGS = (
1207 1300
 					"-ObjC",
@@ -1229,13 +1322,14 @@
1229 1322
 				GCC_NO_COMMON_BLOCKS = YES;
1230 1323
 				HEADER_SEARCH_PATHS = (
1231 1324
 					"$(inherited)",
1232
-					"$(SRCROOT)/../node_modules/react-native-permissions/**",
1325
+					"$(SRCROOT)/../node_modules/react-native-permissions",
1233 1326
 				);
1234 1327
 				INFOPLIST_FILE = "Example-tvOS/Info.plist";
1235 1328
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1236 1329
 				LIBRARY_SEARCH_PATHS = (
1237 1330
 					"$(inherited)",
1238 1331
 					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1332
+					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1239 1333
 				);
1240 1334
 				OTHER_LDFLAGS = (
1241 1335
 					"-ObjC",
@@ -1265,6 +1359,7 @@
1265 1359
 				LIBRARY_SEARCH_PATHS = (
1266 1360
 					"$(inherited)",
1267 1361
 					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1362
+					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1268 1363
 				);
1269 1364
 				PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOSTests";
1270 1365
 				PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1290,6 +1385,7 @@
1290 1385
 				LIBRARY_SEARCH_PATHS = (
1291 1386
 					"$(inherited)",
1292 1387
 					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1388
+					"\"$(SRCROOT)/$(TARGET_NAME)\"",
1293 1389
 				);
1294 1390
 				PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOSTests";
1295 1391
 				PRODUCT_NAME = "$(TARGET_NAME)";