瀏覽代碼

move ios unit tests to the navigation framework

Daniel Zlotin 7 年之前
父節點
當前提交
30b70db09b

+ 207
- 0
lib/ios/ReactNativeNavigation.xcodeproj/project.pbxproj 查看文件

@@ -61,6 +61,26 @@
61 61
 		7B1126A91E2D2B6C00F9B03B /* RNNControllerFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BC9346C1E26886E00EFA125 /* RNNControllerFactory.h */; };
62 62
 		7B4928081E70415400555040 /* RNNCommandsHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B4928061E70415400555040 /* RNNCommandsHandler.h */; };
63 63
 		7B4928091E70415400555040 /* RNNCommandsHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B4928071E70415400555040 /* RNNCommandsHandler.m */; };
64
+		7B49FEC01E95090800DEB3EA /* libReactNativeNavigation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D8AFADBD1BEE6F3F00A4592D /* libReactNativeNavigation.a */; };
65
+		7B49FECB1E95098500DEB3EA /* RNNControllerFactoryTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B49FEC61E95098500DEB3EA /* RNNControllerFactoryTest.m */; };
66
+		7B49FECC1E95098500DEB3EA /* RNNStoreTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B49FEC71E95098500DEB3EA /* RNNStoreTest.m */; };
67
+		7B49FECD1E95098500DEB3EA /* RNNModalManagerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B49FEC81E95098500DEB3EA /* RNNModalManagerTest.m */; };
68
+		7B49FECE1E95098500DEB3EA /* RNNCommandsHandlerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B49FEC91E95098500DEB3EA /* RNNCommandsHandlerTest.m */; };
69
+		7B49FECF1E95098500DEB3EA /* RNNNavigationStackManagerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B49FECA1E95098500DEB3EA /* RNNNavigationStackManagerTest.m */; };
70
+		7B49FEDF1E950A7A00DEB3EA /* libcxxreact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FED11E950A7A00DEB3EA /* libcxxreact.a */; };
71
+		7B49FEE01E950A7A00DEB3EA /* libjschelpers.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FED21E950A7A00DEB3EA /* libjschelpers.a */; };
72
+		7B49FEE11E950A7A00DEB3EA /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FED31E950A7A00DEB3EA /* libRCTActionSheet.a */; };
73
+		7B49FEE21E950A7A00DEB3EA /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FED41E950A7A00DEB3EA /* libRCTAnimation.a */; };
74
+		7B49FEE31E950A7A00DEB3EA /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FED51E950A7A00DEB3EA /* libRCTGeolocation.a */; };
75
+		7B49FEE41E950A7A00DEB3EA /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FED61E950A7A00DEB3EA /* libRCTImage.a */; };
76
+		7B49FEE51E950A7A00DEB3EA /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FED71E950A7A00DEB3EA /* libRCTLinking.a */; };
77
+		7B49FEE61E950A7A00DEB3EA /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FED81E950A7A00DEB3EA /* libRCTNetwork.a */; };
78
+		7B49FEE71E950A7A00DEB3EA /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FED91E950A7A00DEB3EA /* libRCTSettings.a */; };
79
+		7B49FEE81E950A7A00DEB3EA /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FEDA1E950A7A00DEB3EA /* libRCTText.a */; };
80
+		7B49FEE91E950A7A00DEB3EA /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FEDB1E950A7A00DEB3EA /* libRCTVibration.a */; };
81
+		7B49FEEA1E950A7A00DEB3EA /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FEDC1E950A7A00DEB3EA /* libRCTWebSocket.a */; };
82
+		7B49FEEB1E950A7A00DEB3EA /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FEDD1E950A7A00DEB3EA /* libReact.a */; };
83
+		7B49FEEC1E950A7A00DEB3EA /* libyoga.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B49FEDE1E950A7A00DEB3EA /* libyoga.a */; };
64 84
 		7BA500751E2544B9001B9E1B /* ReactNativeNavigation.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BA500741E2544B9001B9E1B /* ReactNativeNavigation.m */; };
65 85
 		7BA500781E254908001B9E1B /* RNNSplashScreen.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BA500771E254908001B9E1B /* RNNSplashScreen.m */; };
66 86
 		7BBFE5441E25330E002A6182 /* RNNBridgeModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BBFE5431E25330E002A6182 /* RNNBridgeModule.m */; };
@@ -71,6 +91,16 @@
71 91
 		7BEF0D1D1E43771B003E96B0 /* RNNLayoutNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BEF0D1B1E43771B003E96B0 /* RNNLayoutNode.m */; };
72 92
 /* End PBXBuildFile section */
73 93
 
94
+/* Begin PBXContainerItemProxy section */
95
+		7B49FEC11E95090800DEB3EA /* PBXContainerItemProxy */ = {
96
+			isa = PBXContainerItemProxy;
97
+			containerPortal = D8AFADB51BEE6F3F00A4592D /* Project object */;
98
+			proxyType = 1;
99
+			remoteGlobalIDString = D8AFADBC1BEE6F3F00A4592D;
100
+			remoteInfo = ReactNativeNavigation;
101
+		};
102
+/* End PBXContainerItemProxy section */
103
+
74 104
 /* Begin PBXCopyFilesBuildPhase section */
75 105
 		D8AFADBB1BEE6F3F00A4592D /* CopyFiles */ = {
76 106
 			isa = PBXCopyFilesBuildPhase;
@@ -135,6 +165,27 @@
135 165
 		7B11269F1E2D263F00F9B03B /* RNNEventEmitter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNEventEmitter.m; sourceTree = "<group>"; };
136 166
 		7B4928061E70415400555040 /* RNNCommandsHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNNCommandsHandler.h; sourceTree = "<group>"; };
137 167
 		7B4928071E70415400555040 /* RNNCommandsHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNCommandsHandler.m; sourceTree = "<group>"; };
168
+		7B49FEBB1E95090800DEB3EA /* ReactNativeNavigationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNativeNavigationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
169
+		7B49FEBF1E95090800DEB3EA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
170
+		7B49FEC61E95098500DEB3EA /* RNNControllerFactoryTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNControllerFactoryTest.m; sourceTree = "<group>"; };
171
+		7B49FEC71E95098500DEB3EA /* RNNStoreTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNStoreTest.m; sourceTree = "<group>"; };
172
+		7B49FEC81E95098500DEB3EA /* RNNModalManagerTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNModalManagerTest.m; sourceTree = "<group>"; };
173
+		7B49FEC91E95098500DEB3EA /* RNNCommandsHandlerTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNCommandsHandlerTest.m; sourceTree = "<group>"; };
174
+		7B49FECA1E95098500DEB3EA /* RNNNavigationStackManagerTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNNavigationStackManagerTest.m; sourceTree = "<group>"; };
175
+		7B49FED11E950A7A00DEB3EA /* libcxxreact.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcxxreact.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libcxxreact.a"; sourceTree = "<group>"; };
176
+		7B49FED21E950A7A00DEB3EA /* libjschelpers.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libjschelpers.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libjschelpers.a"; sourceTree = "<group>"; };
177
+		7B49FED31E950A7A00DEB3EA /* libRCTActionSheet.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRCTActionSheet.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libRCTActionSheet.a"; sourceTree = "<group>"; };
178
+		7B49FED41E950A7A00DEB3EA /* libRCTAnimation.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRCTAnimation.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libRCTAnimation.a"; sourceTree = "<group>"; };
179
+		7B49FED51E950A7A00DEB3EA /* libRCTGeolocation.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRCTGeolocation.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libRCTGeolocation.a"; sourceTree = "<group>"; };
180
+		7B49FED61E950A7A00DEB3EA /* libRCTImage.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRCTImage.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libRCTImage.a"; sourceTree = "<group>"; };
181
+		7B49FED71E950A7A00DEB3EA /* libRCTLinking.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRCTLinking.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libRCTLinking.a"; sourceTree = "<group>"; };
182
+		7B49FED81E950A7A00DEB3EA /* libRCTNetwork.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRCTNetwork.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libRCTNetwork.a"; sourceTree = "<group>"; };
183
+		7B49FED91E950A7A00DEB3EA /* libRCTSettings.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRCTSettings.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libRCTSettings.a"; sourceTree = "<group>"; };
184
+		7B49FEDA1E950A7A00DEB3EA /* libRCTText.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRCTText.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libRCTText.a"; sourceTree = "<group>"; };
185
+		7B49FEDB1E950A7A00DEB3EA /* libRCTVibration.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRCTVibration.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libRCTVibration.a"; sourceTree = "<group>"; };
186
+		7B49FEDC1E950A7A00DEB3EA /* libRCTWebSocket.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRCTWebSocket.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libRCTWebSocket.a"; sourceTree = "<group>"; };
187
+		7B49FEDD1E950A7A00DEB3EA /* libReact.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libReact.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libReact.a"; sourceTree = "<group>"; };
188
+		7B49FEDE1E950A7A00DEB3EA /* libyoga.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libyoga.a; path = "../../../../Library/Developer/Xcode/DerivedData/playground-hbcxylrsfjqeuaduerohqubsbqqi/Build/Products/Debug-iphonesimulator/libyoga.a"; sourceTree = "<group>"; };
138 189
 		7BA500731E2544B9001B9E1B /* ReactNativeNavigation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReactNativeNavigation.h; sourceTree = "<group>"; };
139 190
 		7BA500741E2544B9001B9E1B /* ReactNativeNavigation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReactNativeNavigation.m; sourceTree = "<group>"; };
140 191
 		7BA500761E254908001B9E1B /* RNNSplashScreen.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNNSplashScreen.h; sourceTree = "<group>"; };
@@ -151,6 +202,28 @@
151 202
 /* End PBXFileReference section */
152 203
 
153 204
 /* Begin PBXFrameworksBuildPhase section */
205
+		7B49FEB81E95090800DEB3EA /* Frameworks */ = {
206
+			isa = PBXFrameworksBuildPhase;
207
+			buildActionMask = 2147483647;
208
+			files = (
209
+				7B49FEDF1E950A7A00DEB3EA /* libcxxreact.a in Frameworks */,
210
+				7B49FEE01E950A7A00DEB3EA /* libjschelpers.a in Frameworks */,
211
+				7B49FEE11E950A7A00DEB3EA /* libRCTActionSheet.a in Frameworks */,
212
+				7B49FEE21E950A7A00DEB3EA /* libRCTAnimation.a in Frameworks */,
213
+				7B49FEE31E950A7A00DEB3EA /* libRCTGeolocation.a in Frameworks */,
214
+				7B49FEE41E950A7A00DEB3EA /* libRCTImage.a in Frameworks */,
215
+				7B49FEE51E950A7A00DEB3EA /* libRCTLinking.a in Frameworks */,
216
+				7B49FEE61E950A7A00DEB3EA /* libRCTNetwork.a in Frameworks */,
217
+				7B49FEE71E950A7A00DEB3EA /* libRCTSettings.a in Frameworks */,
218
+				7B49FEE81E950A7A00DEB3EA /* libRCTText.a in Frameworks */,
219
+				7B49FEE91E950A7A00DEB3EA /* libRCTVibration.a in Frameworks */,
220
+				7B49FEEA1E950A7A00DEB3EA /* libRCTWebSocket.a in Frameworks */,
221
+				7B49FEEB1E950A7A00DEB3EA /* libReact.a in Frameworks */,
222
+				7B49FEEC1E950A7A00DEB3EA /* libyoga.a in Frameworks */,
223
+				7B49FEC01E95090800DEB3EA /* libReactNativeNavigation.a in Frameworks */,
224
+			);
225
+			runOnlyForDeploymentPostprocessing = 0;
226
+		};
154 227
 		D8AFADBA1BEE6F3F00A4592D /* Frameworks */ = {
155 228
 			isa = PBXFrameworksBuildPhase;
156 229
 			buildActionMask = 2147483647;
@@ -252,6 +325,40 @@
252 325
 			name = Controllers;
253 326
 			sourceTree = "<group>";
254 327
 		};
328
+		7B49FEBC1E95090800DEB3EA /* ReactNativeNavigationTests */ = {
329
+			isa = PBXGroup;
330
+			children = (
331
+				7B49FEC61E95098500DEB3EA /* RNNControllerFactoryTest.m */,
332
+				7B49FEC71E95098500DEB3EA /* RNNStoreTest.m */,
333
+				7B49FEC81E95098500DEB3EA /* RNNModalManagerTest.m */,
334
+				7B49FEC91E95098500DEB3EA /* RNNCommandsHandlerTest.m */,
335
+				7B49FECA1E95098500DEB3EA /* RNNNavigationStackManagerTest.m */,
336
+				7B49FEBF1E95090800DEB3EA /* Info.plist */,
337
+			);
338
+			path = ReactNativeNavigationTests;
339
+			sourceTree = "<group>";
340
+		};
341
+		7B49FED01E950A7A00DEB3EA /* Frameworks */ = {
342
+			isa = PBXGroup;
343
+			children = (
344
+				7B49FED11E950A7A00DEB3EA /* libcxxreact.a */,
345
+				7B49FED21E950A7A00DEB3EA /* libjschelpers.a */,
346
+				7B49FED31E950A7A00DEB3EA /* libRCTActionSheet.a */,
347
+				7B49FED41E950A7A00DEB3EA /* libRCTAnimation.a */,
348
+				7B49FED51E950A7A00DEB3EA /* libRCTGeolocation.a */,
349
+				7B49FED61E950A7A00DEB3EA /* libRCTImage.a */,
350
+				7B49FED71E950A7A00DEB3EA /* libRCTLinking.a */,
351
+				7B49FED81E950A7A00DEB3EA /* libRCTNetwork.a */,
352
+				7B49FED91E950A7A00DEB3EA /* libRCTSettings.a */,
353
+				7B49FEDA1E950A7A00DEB3EA /* libRCTText.a */,
354
+				7B49FEDB1E950A7A00DEB3EA /* libRCTVibration.a */,
355
+				7B49FEDC1E950A7A00DEB3EA /* libRCTWebSocket.a */,
356
+				7B49FEDD1E950A7A00DEB3EA /* libReact.a */,
357
+				7B49FEDE1E950A7A00DEB3EA /* libyoga.a */,
358
+			);
359
+			name = Frameworks;
360
+			sourceTree = "<group>";
361
+		};
255 362
 		7BD721F31E2D3AA100724059 /* Bridge */ = {
256 363
 			isa = PBXGroup;
257 364
 			children = (
@@ -275,7 +382,9 @@
275 382
 				7BD721F31E2D3AA100724059 /* Bridge */,
276 383
 				7B1E4C4B1E2D173700C3A525 /* Controllers */,
277 384
 				263905881E4C6F440023D7D3 /* RNNSideMenu */,
385
+				7B49FEBC1E95090800DEB3EA /* ReactNativeNavigationTests */,
278 386
 				D8AFADBE1BEE6F3F00A4592D /* Products */,
387
+				7B49FED01E950A7A00DEB3EA /* Frameworks */,
279 388
 			);
280 389
 			sourceTree = "<group>";
281 390
 			tabWidth = 4;
@@ -286,6 +395,7 @@
286 395
 			isa = PBXGroup;
287 396
 			children = (
288 397
 				D8AFADBD1BEE6F3F00A4592D /* libReactNativeNavigation.a */,
398
+				7B49FEBB1E95090800DEB3EA /* ReactNativeNavigationTests.xctest */,
289 399
 			);
290 400
 			name = Products;
291 401
 			sourceTree = "<group>";
@@ -335,6 +445,24 @@
335 445
 /* End PBXHeadersBuildPhase section */
336 446
 
337 447
 /* Begin PBXNativeTarget section */
448
+		7B49FEBA1E95090800DEB3EA /* ReactNativeNavigationTests */ = {
449
+			isa = PBXNativeTarget;
450
+			buildConfigurationList = 7B49FEC51E95090800DEB3EA /* Build configuration list for PBXNativeTarget "ReactNativeNavigationTests" */;
451
+			buildPhases = (
452
+				7B49FEB71E95090800DEB3EA /* Sources */,
453
+				7B49FEB81E95090800DEB3EA /* Frameworks */,
454
+				7B49FEB91E95090800DEB3EA /* Resources */,
455
+			);
456
+			buildRules = (
457
+			);
458
+			dependencies = (
459
+				7B49FEC21E95090800DEB3EA /* PBXTargetDependency */,
460
+			);
461
+			name = ReactNativeNavigationTests;
462
+			productName = ReactNativeNavigationTests;
463
+			productReference = 7B49FEBB1E95090800DEB3EA /* ReactNativeNavigationTests.xctest */;
464
+			productType = "com.apple.product-type.bundle.unit-test";
465
+		};
338 466
 		D8AFADBC1BEE6F3F00A4592D /* ReactNativeNavigation */ = {
339 467
 			isa = PBXNativeTarget;
340 468
 			buildConfigurationList = D8AFADC61BEE6F3F00A4592D /* Build configuration list for PBXNativeTarget "ReactNativeNavigation" */;
@@ -362,6 +490,10 @@
362 490
 				LastUpgradeCheck = 0820;
363 491
 				ORGANIZATIONNAME = Wix;
364 492
 				TargetAttributes = {
493
+					7B49FEBA1E95090800DEB3EA = {
494
+						CreatedOnToolsVersion = 8.3;
495
+						ProvisioningStyle = Automatic;
496
+					};
365 497
 					D8AFADBC1BEE6F3F00A4592D = {
366 498
 						CreatedOnToolsVersion = 7.1;
367 499
 					};
@@ -380,11 +512,34 @@
380 512
 			projectRoot = "";
381 513
 			targets = (
382 514
 				D8AFADBC1BEE6F3F00A4592D /* ReactNativeNavigation */,
515
+				7B49FEBA1E95090800DEB3EA /* ReactNativeNavigationTests */,
383 516
 			);
384 517
 		};
385 518
 /* End PBXProject section */
386 519
 
520
+/* Begin PBXResourcesBuildPhase section */
521
+		7B49FEB91E95090800DEB3EA /* Resources */ = {
522
+			isa = PBXResourcesBuildPhase;
523
+			buildActionMask = 2147483647;
524
+			files = (
525
+			);
526
+			runOnlyForDeploymentPostprocessing = 0;
527
+		};
528
+/* End PBXResourcesBuildPhase section */
529
+
387 530
 /* Begin PBXSourcesBuildPhase section */
531
+		7B49FEB71E95090800DEB3EA /* Sources */ = {
532
+			isa = PBXSourcesBuildPhase;
533
+			buildActionMask = 2147483647;
534
+			files = (
535
+				7B49FECE1E95098500DEB3EA /* RNNCommandsHandlerTest.m in Sources */,
536
+				7B49FECF1E95098500DEB3EA /* RNNNavigationStackManagerTest.m in Sources */,
537
+				7B49FECB1E95098500DEB3EA /* RNNControllerFactoryTest.m in Sources */,
538
+				7B49FECD1E95098500DEB3EA /* RNNModalManagerTest.m in Sources */,
539
+				7B49FECC1E95098500DEB3EA /* RNNStoreTest.m in Sources */,
540
+			);
541
+			runOnlyForDeploymentPostprocessing = 0;
542
+		};
388 543
 		D8AFADB91BEE6F3F00A4592D /* Sources */ = {
389 544
 			isa = PBXSourcesBuildPhase;
390 545
 			buildActionMask = 2147483647;
@@ -424,7 +579,51 @@
424 579
 		};
425 580
 /* End PBXSourcesBuildPhase section */
426 581
 
582
+/* Begin PBXTargetDependency section */
583
+		7B49FEC21E95090800DEB3EA /* PBXTargetDependency */ = {
584
+			isa = PBXTargetDependency;
585
+			target = D8AFADBC1BEE6F3F00A4592D /* ReactNativeNavigation */;
586
+			targetProxy = 7B49FEC11E95090800DEB3EA /* PBXContainerItemProxy */;
587
+		};
588
+/* End PBXTargetDependency section */
589
+
427 590
 /* Begin XCBuildConfiguration section */
591
+		7B49FEC31E95090800DEB3EA /* Debug */ = {
592
+			isa = XCBuildConfiguration;
593
+			buildSettings = {
594
+				CLANG_ANALYZER_NONNULL = YES;
595
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
596
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
597
+				INFOPLIST_FILE = ReactNativeNavigationTests/Info.plist;
598
+				IPHONEOS_DEPLOYMENT_TARGET = 10.3;
599
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
600
+				OTHER_LDFLAGS = (
601
+					"-l\"c++\"",
602
+					"-ObjC",
603
+				);
604
+				PRODUCT_BUNDLE_IDENTIFIER = com.wix.ReactNativeNavigationTests;
605
+				PRODUCT_NAME = "$(TARGET_NAME)";
606
+			};
607
+			name = Debug;
608
+		};
609
+		7B49FEC41E95090800DEB3EA /* Release */ = {
610
+			isa = XCBuildConfiguration;
611
+			buildSettings = {
612
+				CLANG_ANALYZER_NONNULL = YES;
613
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
614
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
615
+				INFOPLIST_FILE = ReactNativeNavigationTests/Info.plist;
616
+				IPHONEOS_DEPLOYMENT_TARGET = 10.3;
617
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
618
+				OTHER_LDFLAGS = (
619
+					"-l\"c++\"",
620
+					"-ObjC",
621
+				);
622
+				PRODUCT_BUNDLE_IDENTIFIER = com.wix.ReactNativeNavigationTests;
623
+				PRODUCT_NAME = "$(TARGET_NAME)";
624
+			};
625
+			name = Release;
626
+		};
428 627
 		D8AFADC41BEE6F3F00A4592D /* Debug */ = {
429 628
 			isa = XCBuildConfiguration;
430 629
 			buildSettings = {
@@ -534,6 +733,14 @@
534 733
 /* End XCBuildConfiguration section */
535 734
 
536 735
 /* Begin XCConfigurationList section */
736
+		7B49FEC51E95090800DEB3EA /* Build configuration list for PBXNativeTarget "ReactNativeNavigationTests" */ = {
737
+			isa = XCConfigurationList;
738
+			buildConfigurations = (
739
+				7B49FEC31E95090800DEB3EA /* Debug */,
740
+				7B49FEC41E95090800DEB3EA /* Release */,
741
+			);
742
+			defaultConfigurationIsVisible = 0;
743
+		};
537 744
 		D8AFADB81BEE6F3F00A4592D /* Build configuration list for PBXProject "ReactNativeNavigation" */ = {
538 745
 			isa = XCConfigurationList;
539 746
 			buildConfigurations = (

+ 19
- 0
lib/ios/ReactNativeNavigation.xcodeproj/xcshareddata/xcschemes/ReactNativeNavigation.xcscheme 查看文件

@@ -28,7 +28,26 @@
28 28
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29 29
       shouldUseLaunchSchemeArgsEnv = "YES">
30 30
       <Testables>
31
+         <TestableReference
32
+            skipped = "NO">
33
+            <BuildableReference
34
+               BuildableIdentifier = "primary"
35
+               BlueprintIdentifier = "7B49FEBA1E95090800DEB3EA"
36
+               BuildableName = "ReactNativeNavigationTests.xctest"
37
+               BlueprintName = "ReactNativeNavigationTests"
38
+               ReferencedContainer = "container:ReactNativeNavigation.xcodeproj">
39
+            </BuildableReference>
40
+         </TestableReference>
31 41
       </Testables>
42
+      <MacroExpansion>
43
+         <BuildableReference
44
+            BuildableIdentifier = "primary"
45
+            BlueprintIdentifier = "D8AFADBC1BEE6F3F00A4592D"
46
+            BuildableName = "libReactNativeNavigation.a"
47
+            BlueprintName = "ReactNativeNavigation"
48
+            ReferencedContainer = "container:ReactNativeNavigation.xcodeproj">
49
+         </BuildableReference>
50
+      </MacroExpansion>
32 51
       <AdditionalOptions>
33 52
       </AdditionalOptions>
34 53
    </TestAction>

playground/ios/playgroundTests/Info.plist → lib/ios/ReactNativeNavigationTests/Info.plist 查看文件

@@ -16,8 +16,6 @@
16 16
 	<string>BNDL</string>
17 17
 	<key>CFBundleShortVersionString</key>
18 18
 	<string>1.0</string>
19
-	<key>CFBundleSignature</key>
20
-	<string>????</string>
21 19
 	<key>CFBundleVersion</key>
22 20
 	<string>1</string>
23 21
 </dict>

playground/ios/playgroundTests/RNNCommandsHandlerTest.m → lib/ios/ReactNativeNavigationTests/RNNCommandsHandlerTest.m 查看文件

@@ -1,6 +1,6 @@
1 1
 #import <XCTest/XCTest.h>
2 2
 #import <objc/runtime.h>
3
-#import "RNNCommandsHandler.m"
3
+#import "RNNCommandsHandler.h"
4 4
 
5 5
 @interface RNNCommandsHandlerTest : XCTestCase
6 6
 

playground/ios/playgroundTests/RNNControllerFactoryTest.m → lib/ios/ReactNativeNavigationTests/RNNControllerFactoryTest.m 查看文件


playground/ios/playgroundTests/RNNModalManagerTest.m → lib/ios/ReactNativeNavigationTests/RNNModalManagerTest.m 查看文件

@@ -1,5 +1,5 @@
1 1
 #import <XCTest/XCTest.h>
2
-#import "RNNModalManager.m"
2
+#import "RNNModalManager.h"
3 3
 
4 4
 @interface RNNModalManagerTest : XCTestCase
5 5
 

playground/ios/playgroundTests/RNNNavigationStackManagerTest.m → lib/ios/ReactNativeNavigationTests/RNNNavigationStackManagerTest.m 查看文件


playground/ios/playgroundTests/RNNStoreTest.m → lib/ios/ReactNativeNavigationTests/RNNStoreTest.m 查看文件

@@ -1,6 +1,6 @@
1 1
 
2 2
 #import <XCTest/XCTest.h>
3
-#import "RNNStore.m"
3
+#import "RNNStore.h"
4 4
 
5 5
 @interface RNNStoreTest : XCTestCase
6 6
 

+ 13
- 142
playground/ios/playground.xcodeproj/project.pbxproj 查看文件

@@ -11,11 +11,6 @@
11 11
 		13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
12 12
 		13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13 13
 		13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
14
-		26070FD01E4B8B9D003EC8B9 /* RNNControllerFactoryTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 26070FCF1E4B8B9D003EC8B9 /* RNNControllerFactoryTest.m */; };
15
-		261F0E671E6EE9EC00989DE2 /* RNNModalManagerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 261F0E661E6EE9EC00989DE2 /* RNNModalManagerTest.m */; };
16
-		266DDDF71E8BCE9900C6F13C /* RNNNavigationStackManagerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 266DDDF61E8BCE9900C6F13C /* RNNNavigationStackManagerTest.m */; };
17
-		268692851E50572700E2C612 /* RNNStoreTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 268692841E50572700E2C612 /* RNNStoreTest.m */; };
18
-		26DB71671E82C65600A69712 /* RNNCommandsHandlerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 26DB71661E82C65600A69712 /* RNNCommandsHandlerTest.m */; };
19 14
 		7B8F30491E84151300110AEC /* libcxxreact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B8F2FDE1E840F3600110AEC /* libcxxreact.a */; };
20 15
 		7B8F304A1E84151300110AEC /* libjschelpers.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B8F2FE21E840F3600110AEC /* libjschelpers.a */; };
21 16
 		7B8F304B1E84151300110AEC /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B8F2FFA1E8411A800110AEC /* libRCTActionSheet.a */; };
@@ -34,12 +29,12 @@
34 29
 /* End PBXBuildFile section */
35 30
 
36 31
 /* Begin PBXContainerItemProxy section */
37
-		00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
32
+		7B49FF081E950AF400DEB3EA /* PBXContainerItemProxy */ = {
38 33
 			isa = PBXContainerItemProxy;
39
-			containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
40
-			proxyType = 1;
41
-			remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
42
-			remoteInfo = example;
34
+			containerPortal = 7B8F2FC41E840F1A00110AEC /* ReactNativeNavigation.xcodeproj */;
35
+			proxyType = 2;
36
+			remoteGlobalIDString = 7B49FEBB1E95090800DEB3EA;
37
+			remoteInfo = ReactNativeNavigationTests;
43 38
 		};
44 39
 		7B8F2FC81E840F1A00110AEC /* PBXContainerItemProxy */ = {
45 40
 			isa = PBXContainerItemProxy;
@@ -226,8 +221,6 @@
226 221
 /* End PBXContainerItemProxy section */
227 222
 
228 223
 /* Begin PBXFileReference section */
229
-		00E356EE1AD99517003FC87E /* playgroundTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = playgroundTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
230
-		00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
231 224
 		13B07F961A680F5B00A75B9A /* playground.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = playground.app; sourceTree = BUILT_PRODUCTS_DIR; };
232 225
 		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
233 226
 		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
@@ -235,11 +228,6 @@
235 228
 		13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
236 229
 		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
237 230
 		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
238
-		26070FCF1E4B8B9D003EC8B9 /* RNNControllerFactoryTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNControllerFactoryTest.m; sourceTree = "<group>"; };
239
-		261F0E661E6EE9EC00989DE2 /* RNNModalManagerTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNModalManagerTest.m; sourceTree = "<group>"; };
240
-		266DDDF61E8BCE9900C6F13C /* RNNNavigationStackManagerTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNNavigationStackManagerTest.m; sourceTree = "<group>"; };
241
-		268692841E50572700E2C612 /* RNNStoreTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNStoreTest.m; sourceTree = "<group>"; };
242
-		26DB71661E82C65600A69712 /* RNNCommandsHandlerTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNCommandsHandlerTest.m; sourceTree = "<group>"; };
243 231
 		7B8F2FC41E840F1A00110AEC /* ReactNativeNavigation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeNavigation.xcodeproj; path = ../../lib/ios/ReactNativeNavigation.xcodeproj; sourceTree = "<group>"; };
244 232
 		7B8F2FCA1E840F3600110AEC /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
245 233
 		7B8F2FE51E840F6700110AEC /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
@@ -255,13 +243,6 @@
255 243
 /* End PBXFileReference section */
256 244
 
257 245
 /* Begin PBXFrameworksBuildPhase section */
258
-		00E356EB1AD99517003FC87E /* Frameworks */ = {
259
-			isa = PBXFrameworksBuildPhase;
260
-			buildActionMask = 2147483647;
261
-			files = (
262
-			);
263
-			runOnlyForDeploymentPostprocessing = 0;
264
-		};
265 246
 		13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
266 247
 			isa = PBXFrameworksBuildPhase;
267 248
 			buildActionMask = 2147483647;
@@ -287,27 +268,6 @@
287 268
 /* End PBXFrameworksBuildPhase section */
288 269
 
289 270
 /* Begin PBXGroup section */
290
-		00E356EF1AD99517003FC87E /* playgroundTests */ = {
291
-			isa = PBXGroup;
292
-			children = (
293
-				26070FCF1E4B8B9D003EC8B9 /* RNNControllerFactoryTest.m */,
294
-				268692841E50572700E2C612 /* RNNStoreTest.m */,
295
-				261F0E661E6EE9EC00989DE2 /* RNNModalManagerTest.m */,
296
-				26DB71661E82C65600A69712 /* RNNCommandsHandlerTest.m */,
297
-				266DDDF61E8BCE9900C6F13C /* RNNNavigationStackManagerTest.m */,
298
-				00E356F01AD99517003FC87E /* Supporting Files */,
299
-			);
300
-			path = playgroundTests;
301
-			sourceTree = "<group>";
302
-		};
303
-		00E356F01AD99517003FC87E /* Supporting Files */ = {
304
-			isa = PBXGroup;
305
-			children = (
306
-				00E356F11AD99517003FC87E /* Info.plist */,
307
-			);
308
-			name = "Supporting Files";
309
-			sourceTree = "<group>";
310
-		};
311 271
 		13B07FAE1A68108700A75B9A /* playground */ = {
312 272
 			isa = PBXGroup;
313 273
 			children = (
@@ -325,6 +285,7 @@
325 285
 			isa = PBXGroup;
326 286
 			children = (
327 287
 				7B8F2FC91E840F1A00110AEC /* libReactNativeNavigation.a */,
288
+				7B49FF091E950AF400DEB3EA /* ReactNativeNavigationTests.xctest */,
328 289
 			);
329 290
 			name = Products;
330 291
 			sourceTree = "<group>";
@@ -455,7 +416,6 @@
455 416
 			children = (
456 417
 				13B07FAE1A68108700A75B9A /* playground */,
457 418
 				832341AE1AAA6A7D00B99B32 /* Libraries */,
458
-				00E356EF1AD99517003FC87E /* playgroundTests */,
459 419
 				83CBBA001A601CBA00E9B192 /* Products */,
460 420
 			);
461 421
 			indentWidth = 4;
@@ -467,7 +427,6 @@
467 427
 			isa = PBXGroup;
468 428
 			children = (
469 429
 				13B07F961A680F5B00A75B9A /* playground.app */,
470
-				00E356EE1AD99517003FC87E /* playgroundTests.xctest */,
471 430
 			);
472 431
 			name = Products;
473 432
 			sourceTree = "<group>";
@@ -475,24 +434,6 @@
475 434
 /* End PBXGroup section */
476 435
 
477 436
 /* Begin PBXNativeTarget section */
478
-		00E356ED1AD99517003FC87E /* playgroundTests */ = {
479
-			isa = PBXNativeTarget;
480
-			buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "playgroundTests" */;
481
-			buildPhases = (
482
-				00E356EA1AD99517003FC87E /* Sources */,
483
-				00E356EB1AD99517003FC87E /* Frameworks */,
484
-				00E356EC1AD99517003FC87E /* Resources */,
485
-			);
486
-			buildRules = (
487
-			);
488
-			dependencies = (
489
-				00E356F51AD99517003FC87E /* PBXTargetDependency */,
490
-			);
491
-			name = playgroundTests;
492
-			productName = exampleTests;
493
-			productReference = 00E356EE1AD99517003FC87E /* playgroundTests.xctest */;
494
-			productType = "com.apple.product-type.bundle.unit-test";
495
-		};
496 437
 		13B07F861A680F5B00A75B9A /* playground */ = {
497 438
 			isa = PBXNativeTarget;
498 439
 			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "playground" */;
@@ -520,11 +461,6 @@
520 461
 				LastUpgradeCheck = 0820;
521 462
 				ORGANIZATIONNAME = Wix;
522 463
 				TargetAttributes = {
523
-					00E356ED1AD99517003FC87E = {
524
-						CreatedOnToolsVersion = 6.2;
525
-						ProvisioningStyle = Manual;
526
-						TestTargetID = 13B07F861A680F5B00A75B9A;
527
-					};
528 464
 					13B07F861A680F5B00A75B9A = {
529 465
 						ProvisioningStyle = Manual;
530 466
 					};
@@ -594,12 +530,18 @@
594 530
 			projectRoot = "";
595 531
 			targets = (
596 532
 				13B07F861A680F5B00A75B9A /* playground */,
597
-				00E356ED1AD99517003FC87E /* playgroundTests */,
598 533
 			);
599 534
 		};
600 535
 /* End PBXProject section */
601 536
 
602 537
 /* Begin PBXReferenceProxy section */
538
+		7B49FF091E950AF400DEB3EA /* ReactNativeNavigationTests.xctest */ = {
539
+			isa = PBXReferenceProxy;
540
+			fileType = wrapper.cfbundle;
541
+			path = ReactNativeNavigationTests.xctest;
542
+			remoteRef = 7B49FF081E950AF400DEB3EA /* PBXContainerItemProxy */;
543
+			sourceTree = BUILT_PRODUCTS_DIR;
544
+		};
603 545
 		7B8F2FC91E840F1A00110AEC /* libReactNativeNavigation.a */ = {
604 546
 			isa = PBXReferenceProxy;
605 547
 			fileType = archive.ar;
@@ -785,13 +727,6 @@
785 727
 /* End PBXReferenceProxy section */
786 728
 
787 729
 /* Begin PBXResourcesBuildPhase section */
788
-		00E356EC1AD99517003FC87E /* Resources */ = {
789
-			isa = PBXResourcesBuildPhase;
790
-			buildActionMask = 2147483647;
791
-			files = (
792
-			);
793
-			runOnlyForDeploymentPostprocessing = 0;
794
-		};
795 730
 		13B07F8E1A680F5B00A75B9A /* Resources */ = {
796 731
 			isa = PBXResourcesBuildPhase;
797 732
 			buildActionMask = 2147483647;
@@ -821,18 +756,6 @@
821 756
 /* End PBXShellScriptBuildPhase section */
822 757
 
823 758
 /* Begin PBXSourcesBuildPhase section */
824
-		00E356EA1AD99517003FC87E /* Sources */ = {
825
-			isa = PBXSourcesBuildPhase;
826
-			buildActionMask = 2147483647;
827
-			files = (
828
-				268692851E50572700E2C612 /* RNNStoreTest.m in Sources */,
829
-				266DDDF71E8BCE9900C6F13C /* RNNNavigationStackManagerTest.m in Sources */,
830
-				26DB71671E82C65600A69712 /* RNNCommandsHandlerTest.m in Sources */,
831
-				261F0E671E6EE9EC00989DE2 /* RNNModalManagerTest.m in Sources */,
832
-				26070FD01E4B8B9D003EC8B9 /* RNNControllerFactoryTest.m in Sources */,
833
-			);
834
-			runOnlyForDeploymentPostprocessing = 0;
835
-		};
836 759
 		13B07F871A680F5B00A75B9A /* Sources */ = {
837 760
 			isa = PBXSourcesBuildPhase;
838 761
 			buildActionMask = 2147483647;
@@ -844,14 +767,6 @@
844 767
 		};
845 768
 /* End PBXSourcesBuildPhase section */
846 769
 
847
-/* Begin PBXTargetDependency section */
848
-		00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
849
-			isa = PBXTargetDependency;
850
-			target = 13B07F861A680F5B00A75B9A /* playground */;
851
-			targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
852
-		};
853
-/* End PBXTargetDependency section */
854
-
855 770
 /* Begin PBXVariantGroup section */
856 771
 		13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
857 772
 			isa = PBXVariantGroup;
@@ -864,41 +779,6 @@
864 779
 /* End PBXVariantGroup section */
865 780
 
866 781
 /* Begin XCBuildConfiguration section */
867
-		00E356F61AD99517003FC87E /* Debug */ = {
868
-			isa = XCBuildConfiguration;
869
-			buildSettings = {
870
-				BUNDLE_LOADER = "$(TEST_HOST)";
871
-				DEVELOPMENT_TEAM = "";
872
-				GCC_PREPROCESSOR_DEFINITIONS = (
873
-					"DEBUG=1",
874
-					"$(inherited)",
875
-				);
876
-				HEADER_SEARCH_PATHS = "${SRCROOT}/../../lib/ios/**";
877
-				INFOPLIST_FILE = playgroundTests/Info.plist;
878
-				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
879
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
880
-				PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.playground.$(PRODUCT_NAME:rfc1034identifier)";
881
-				PRODUCT_NAME = "$(TARGET_NAME)";
882
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground";
883
-			};
884
-			name = Debug;
885
-		};
886
-		00E356F71AD99517003FC87E /* Release */ = {
887
-			isa = XCBuildConfiguration;
888
-			buildSettings = {
889
-				BUNDLE_LOADER = "$(TEST_HOST)";
890
-				COPY_PHASE_STRIP = NO;
891
-				DEVELOPMENT_TEAM = "";
892
-				HEADER_SEARCH_PATHS = "${SRCROOT}/../../lib/ios/**";
893
-				INFOPLIST_FILE = playgroundTests/Info.plist;
894
-				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
895
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
896
-				PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.playground.$(PRODUCT_NAME:rfc1034identifier)";
897
-				PRODUCT_NAME = "$(TARGET_NAME)";
898
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground";
899
-			};
900
-			name = Release;
901
-		};
902 782
 		13B07F941A680F5B00A75B9A /* Debug */ = {
903 783
 			isa = XCBuildConfiguration;
904 784
 			buildSettings = {
@@ -1021,15 +901,6 @@
1021 901
 /* End XCBuildConfiguration section */
1022 902
 
1023 903
 /* Begin XCConfigurationList section */
1024
-		00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "playgroundTests" */ = {
1025
-			isa = XCConfigurationList;
1026
-			buildConfigurations = (
1027
-				00E356F61AD99517003FC87E /* Debug */,
1028
-				00E356F71AD99517003FC87E /* Release */,
1029
-			);
1030
-			defaultConfigurationIsVisible = 0;
1031
-			defaultConfigurationName = Debug;
1032
-		};
1033 904
 		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "playground" */ = {
1034 905
 			isa = XCConfigurationList;
1035 906
 			buildConfigurations = (

+ 2
- 2
scripts/test.unit.ios.js 查看文件

@@ -12,7 +12,7 @@ function run() {
12 12
   runWithXcpretty(`RCT_NO_LAUNCH_PACKAGER=true
13 13
           cd ./playground/ios && xcodebuild
14 14
             build build-for-testing
15
-            -scheme "playground"
15
+            -scheme "ReactNativeNavigation"
16 16
             -project playground.xcodeproj
17 17
             -sdk iphonesimulator
18 18
             -configuration Debug
@@ -20,7 +20,7 @@ function run() {
20 20
   runWithXcpretty(`RCT_NO_LAUNCH_PACKAGER=true
21 21
           cd ./playground/ios && xcodebuild
22 22
             test-without-building
23
-            -scheme "playground"
23
+            -scheme "ReactNativeNavigation"
24 24
             -project playground.xcodeproj
25 25
             -sdk iphonesimulator
26 26
             -destination 'platform=iOS Simulator,name=iPhone 7'