Sfoglia il codice sorgente

rename of all iOS project data to example: change the schemes, folder names, plist location

Artal Druk 8 anni fa
parent
commit
80c13bb6ef

+ 34
- 160
example/ios/example.xcodeproj/project.pbxproj Vedi File

@@ -12,17 +12,16 @@
12 12
 		00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13 13
 		00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14 14
 		00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15
-		00E356F31AD99517003FC87E /* react_native_navigation_bootstrapTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* react_native_navigation_bootstrapTests.m */; };
16 15
 		133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
17 16
 		139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
18 17
 		139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
19
-		13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
20
-		13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
21
-		13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
22
-		13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
23
-		140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
24 18
 		146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
25 19
 		832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
20
+		D8168D2E1DCAA82600E21CF1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D8168D281DCAA82600E21CF1 /* AppDelegate.m */; };
21
+		D8168D2F1DCAA82600E21CF1 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = D8168D291DCAA82600E21CF1 /* LaunchScreen.xib */; };
22
+		D8168D301DCAA82600E21CF1 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D8168D2B1DCAA82600E21CF1 /* Images.xcassets */; };
23
+		D8168D311DCAA82600E21CF1 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = D8168D2C1DCAA82600E21CF1 /* Info.plist */; };
24
+		D8168D321DCAA82600E21CF1 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D8168D2D1DCAA82600E21CF1 /* main.m */; };
26 25
 		D857276A1DC8D47B00A26F4B /* libReact-Native-Webview-Bridge.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D85727691DC8D47200A26F4B /* libReact-Native-Webview-Bridge.a */; };
27 26
 /* End PBXBuildFile section */
28 27
 
@@ -62,13 +61,6 @@
62 61
 			remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
63 62
 			remoteInfo = RCTVibration;
64 63
 		};
65
-		00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
66
-			isa = PBXContainerItemProxy;
67
-			containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
68
-			proxyType = 1;
69
-			remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
70
-			remoteInfo = react_native_navigation_bootstrap;
71
-		};
72 64
 		139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
73 65
 			isa = PBXContainerItemProxy;
74 66
 			containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
@@ -114,39 +106,27 @@
114 106
 /* End PBXContainerItemProxy section */
115 107
 
116 108
 /* Begin PBXFileReference section */
117
-		008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
118 109
 		00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = "<group>"; };
119 110
 		00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = "<group>"; };
120 111
 		00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = "<group>"; };
121 112
 		00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = "<group>"; };
122 113
 		00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = "<group>"; };
123
-		00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
124
-		00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
125
-		00E356F21AD99517003FC87E /* react_native_navigation_bootstrapTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = react_native_navigation_bootstrapTests.m; sourceTree = "<group>"; };
126 114
 		139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
127 115
 		139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
128 116
 		13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; };
129
-		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = react_native_navigation_bootstrap/AppDelegate.h; sourceTree = "<group>"; };
130
-		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = react_native_navigation_bootstrap/AppDelegate.m; sourceTree = "<group>"; };
131
-		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
132
-		13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = react_native_navigation_bootstrap/Images.xcassets; sourceTree = "<group>"; };
133
-		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = react_native_navigation_bootstrap/Info.plist; sourceTree = "<group>"; };
134
-		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = react_native_navigation_bootstrap/main.m; sourceTree = "<group>"; };
135 117
 		146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
136 118
 		78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
137 119
 		832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
120
+		D8168D271DCAA82600E21CF1 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
121
+		D8168D281DCAA82600E21CF1 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
122
+		D8168D2A1DCAA82600E21CF1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
123
+		D8168D2B1DCAA82600E21CF1 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
124
+		D8168D2C1DCAA82600E21CF1 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
125
+		D8168D2D1DCAA82600E21CF1 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
138 126
 		D85727641DC8D47200A26F4B /* React-Native-Webview-Bridge.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "React-Native-Webview-Bridge.xcodeproj"; path = "../node_modules/react-native-webview-bridge-updated/ios/React-Native-Webview-Bridge.xcodeproj"; sourceTree = "<group>"; };
139 127
 /* End PBXFileReference section */
140 128
 
141 129
 /* Begin PBXFrameworksBuildPhase section */
142
-		00E356EB1AD99517003FC87E /* Frameworks */ = {
143
-			isa = PBXFrameworksBuildPhase;
144
-			buildActionMask = 2147483647;
145
-			files = (
146
-				140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
147
-			);
148
-			runOnlyForDeploymentPostprocessing = 0;
149
-		};
150 130
 		13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
151 131
 			isa = PBXFrameworksBuildPhase;
152 132
 			buildActionMask = 2147483647;
@@ -208,23 +188,6 @@
208 188
 			name = Products;
209 189
 			sourceTree = "<group>";
210 190
 		};
211
-		00E356EF1AD99517003FC87E /* react_native_navigation_bootstrapTests */ = {
212
-			isa = PBXGroup;
213
-			children = (
214
-				00E356F21AD99517003FC87E /* react_native_navigation_bootstrapTests.m */,
215
-				00E356F01AD99517003FC87E /* Supporting Files */,
216
-			);
217
-			path = react_native_navigation_bootstrapTests;
218
-			sourceTree = "<group>";
219
-		};
220
-		00E356F01AD99517003FC87E /* Supporting Files */ = {
221
-			isa = PBXGroup;
222
-			children = (
223
-				00E356F11AD99517003FC87E /* Info.plist */,
224
-			);
225
-			name = "Supporting Files";
226
-			sourceTree = "<group>";
227
-		};
228 191
 		139105B71AF99BAD00B5F7CC /* Products */ = {
229 192
 			isa = PBXGroup;
230 193
 			children = (
@@ -241,20 +204,6 @@
241 204
 			name = Products;
242 205
 			sourceTree = "<group>";
243 206
 		};
244
-		13B07FAE1A68108700A75B9A /* react_native_navigation_bootstrap */ = {
245
-			isa = PBXGroup;
246
-			children = (
247
-				008F07F21AC5B25A0029DE68 /* main.jsbundle */,
248
-				13B07FAF1A68108700A75B9A /* AppDelegate.h */,
249
-				13B07FB01A68108700A75B9A /* AppDelegate.m */,
250
-				13B07FB51A68108700A75B9A /* Images.xcassets */,
251
-				13B07FB61A68108700A75B9A /* Info.plist */,
252
-				13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
253
-				13B07FB71A68108700A75B9A /* main.m */,
254
-			);
255
-			name = react_native_navigation_bootstrap;
256
-			sourceTree = "<group>";
257
-		};
258 207
 		146834001AC3E56700842450 /* Products */ = {
259 208
 			isa = PBXGroup;
260 209
 			children = (
@@ -300,9 +249,8 @@
300 249
 		83CBB9F61A601CBA00E9B192 = {
301 250
 			isa = PBXGroup;
302 251
 			children = (
303
-				13B07FAE1A68108700A75B9A /* react_native_navigation_bootstrap */,
252
+				D8168D261DCAA82600E21CF1 /* example */,
304 253
 				832341AE1AAA6A7D00B99B32 /* Libraries */,
305
-				00E356EF1AD99517003FC87E /* react_native_navigation_bootstrapTests */,
306 254
 				83CBBA001A601CBA00E9B192 /* Products */,
307 255
 			);
308 256
 			indentWidth = 2;
@@ -313,11 +261,23 @@
313 261
 			isa = PBXGroup;
314 262
 			children = (
315 263
 				13B07F961A680F5B00A75B9A /* example.app */,
316
-				00E356EE1AD99517003FC87E /* exampleTests.xctest */,
317 264
 			);
318 265
 			name = Products;
319 266
 			sourceTree = "<group>";
320 267
 		};
268
+		D8168D261DCAA82600E21CF1 /* example */ = {
269
+			isa = PBXGroup;
270
+			children = (
271
+				D8168D271DCAA82600E21CF1 /* AppDelegate.h */,
272
+				D8168D281DCAA82600E21CF1 /* AppDelegate.m */,
273
+				D8168D291DCAA82600E21CF1 /* LaunchScreen.xib */,
274
+				D8168D2B1DCAA82600E21CF1 /* Images.xcassets */,
275
+				D8168D2C1DCAA82600E21CF1 /* Info.plist */,
276
+				D8168D2D1DCAA82600E21CF1 /* main.m */,
277
+			);
278
+			path = example;
279
+			sourceTree = "<group>";
280
+		};
321 281
 		D85727651DC8D47200A26F4B /* Products */ = {
322 282
 			isa = PBXGroup;
323 283
 			children = (
@@ -329,24 +289,6 @@
329 289
 /* End PBXGroup section */
330 290
 
331 291
 /* Begin PBXNativeTarget section */
332
-		00E356ED1AD99517003FC87E /* exampleTests */ = {
333
-			isa = PBXNativeTarget;
334
-			buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */;
335
-			buildPhases = (
336
-				00E356EA1AD99517003FC87E /* Sources */,
337
-				00E356EB1AD99517003FC87E /* Frameworks */,
338
-				00E356EC1AD99517003FC87E /* Resources */,
339
-			);
340
-			buildRules = (
341
-			);
342
-			dependencies = (
343
-				00E356F51AD99517003FC87E /* PBXTargetDependency */,
344
-			);
345
-			name = exampleTests;
346
-			productName = react_native_navigation_bootstrapTests;
347
-			productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */;
348
-			productType = "com.apple.product-type.bundle.unit-test";
349
-		};
350 292
 		13B07F861A680F5B00A75B9A /* example */ = {
351 293
 			isa = PBXNativeTarget;
352 294
 			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */;
@@ -373,12 +315,6 @@
373 315
 			attributes = {
374 316
 				LastUpgradeCheck = 0610;
375 317
 				ORGANIZATIONNAME = Facebook;
376
-				TargetAttributes = {
377
-					00E356ED1AD99517003FC87E = {
378
-						CreatedOnToolsVersion = 6.2;
379
-						TestTargetID = 13B07F861A680F5B00A75B9A;
380
-					};
381
-				};
382 318
 			};
383 319
 			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */;
384 320
 			compatibilityVersion = "Xcode 3.2";
@@ -440,7 +376,6 @@
440 376
 			projectRoot = "";
441 377
 			targets = (
442 378
 				13B07F861A680F5B00A75B9A /* example */,
443
-				00E356ED1AD99517003FC87E /* exampleTests */,
444 379
 			);
445 380
 		};
446 381
 /* End PBXProject section */
@@ -526,19 +461,13 @@
526 461
 /* End PBXReferenceProxy section */
527 462
 
528 463
 /* Begin PBXResourcesBuildPhase section */
529
-		00E356EC1AD99517003FC87E /* Resources */ = {
530
-			isa = PBXResourcesBuildPhase;
531
-			buildActionMask = 2147483647;
532
-			files = (
533
-			);
534
-			runOnlyForDeploymentPostprocessing = 0;
535
-		};
536 464
 		13B07F8E1A680F5B00A75B9A /* Resources */ = {
537 465
 			isa = PBXResourcesBuildPhase;
538 466
 			buildActionMask = 2147483647;
539 467
 			files = (
540
-				13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
541
-				13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
468
+				D8168D2F1DCAA82600E21CF1 /* LaunchScreen.xib in Resources */,
469
+				D8168D301DCAA82600E21CF1 /* Images.xcassets in Resources */,
470
+				D8168D311DCAA82600E21CF1 /* Info.plist in Resources */,
542 471
 			);
543 472
 			runOnlyForDeploymentPostprocessing = 0;
544 473
 		};
@@ -562,75 +491,29 @@
562 491
 /* End PBXShellScriptBuildPhase section */
563 492
 
564 493
 /* Begin PBXSourcesBuildPhase section */
565
-		00E356EA1AD99517003FC87E /* Sources */ = {
566
-			isa = PBXSourcesBuildPhase;
567
-			buildActionMask = 2147483647;
568
-			files = (
569
-				00E356F31AD99517003FC87E /* react_native_navigation_bootstrapTests.m in Sources */,
570
-			);
571
-			runOnlyForDeploymentPostprocessing = 0;
572
-		};
573 494
 		13B07F871A680F5B00A75B9A /* Sources */ = {
574 495
 			isa = PBXSourcesBuildPhase;
575 496
 			buildActionMask = 2147483647;
576 497
 			files = (
577
-				13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
578
-				13B07FC11A68108700A75B9A /* main.m in Sources */,
498
+				D8168D321DCAA82600E21CF1 /* main.m in Sources */,
499
+				D8168D2E1DCAA82600E21CF1 /* AppDelegate.m in Sources */,
579 500
 			);
580 501
 			runOnlyForDeploymentPostprocessing = 0;
581 502
 		};
582 503
 /* End PBXSourcesBuildPhase section */
583 504
 
584
-/* Begin PBXTargetDependency section */
585
-		00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
586
-			isa = PBXTargetDependency;
587
-			target = 13B07F861A680F5B00A75B9A /* example */;
588
-			targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
589
-		};
590
-/* End PBXTargetDependency section */
591
-
592 505
 /* Begin PBXVariantGroup section */
593
-		13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
506
+		D8168D291DCAA82600E21CF1 /* LaunchScreen.xib */ = {
594 507
 			isa = PBXVariantGroup;
595 508
 			children = (
596
-				13B07FB21A68108700A75B9A /* Base */,
509
+				D8168D2A1DCAA82600E21CF1 /* Base */,
597 510
 			);
598 511
 			name = LaunchScreen.xib;
599
-			path = react_native_navigation_bootstrap;
600 512
 			sourceTree = "<group>";
601 513
 		};
602 514
 /* End PBXVariantGroup section */
603 515
 
604 516
 /* Begin XCBuildConfiguration section */
605
-		00E356F61AD99517003FC87E /* Debug */ = {
606
-			isa = XCBuildConfiguration;
607
-			buildSettings = {
608
-				BUNDLE_LOADER = "$(TEST_HOST)";
609
-				GCC_PREPROCESSOR_DEFINITIONS = (
610
-					"DEBUG=1",
611
-					"$(inherited)",
612
-				);
613
-				INFOPLIST_FILE = react_native_navigation_bootstrapTests/Info.plist;
614
-				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
615
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
616
-				PRODUCT_NAME = "$(TARGET_NAME)";
617
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
618
-			};
619
-			name = Debug;
620
-		};
621
-		00E356F71AD99517003FC87E /* Release */ = {
622
-			isa = XCBuildConfiguration;
623
-			buildSettings = {
624
-				BUNDLE_LOADER = "$(TEST_HOST)";
625
-				COPY_PHASE_STRIP = NO;
626
-				INFOPLIST_FILE = react_native_navigation_bootstrapTests/Info.plist;
627
-				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
628
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
629
-				PRODUCT_NAME = "$(TARGET_NAME)";
630
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
631
-			};
632
-			name = Release;
633
-		};
634 517
 		13B07F941A680F5B00A75B9A /* Debug */ = {
635 518
 			isa = XCBuildConfiguration;
636 519
 			buildSettings = {
@@ -642,7 +525,7 @@
642 525
 					"$(SRCROOT)/../node_modules/react-native/React/**",
643 526
 					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
644 527
 				);
645
-				INFOPLIST_FILE = react_native_navigation_bootstrap/Info.plist;
528
+				INFOPLIST_FILE = example/Info.plist;
646 529
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
647 530
 				OTHER_LDFLAGS = (
648 531
 					"$(inherited)",
@@ -663,7 +546,7 @@
663 546
 					"$(SRCROOT)/../node_modules/react-native/React/**",
664 547
 					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
665 548
 				);
666
-				INFOPLIST_FILE = react_native_navigation_bootstrap/Info.plist;
549
+				INFOPLIST_FILE = example/Info.plist;
667 550
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
668 551
 				OTHER_LDFLAGS = (
669 552
 					"$(inherited)",
@@ -763,15 +646,6 @@
763 646
 /* End XCBuildConfiguration section */
764 647
 
765 648
 /* Begin XCConfigurationList section */
766
-		00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = {
767
-			isa = XCConfigurationList;
768
-			buildConfigurations = (
769
-				00E356F61AD99517003FC87E /* Debug */,
770
-				00E356F71AD99517003FC87E /* Release */,
771
-			);
772
-			defaultConfigurationIsVisible = 0;
773
-			defaultConfigurationName = Release;
774
-		};
775 649
 		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = {
776 650
 			isa = XCConfigurationList;
777 651
 			buildConfigurations = (

+ 0
- 115
example/ios/example.xcodeproj/xcshareddata/xcschemes/react_native_navigation_bootstrap.xcscheme Vedi File

@@ -1,115 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<Scheme
3
-   LastUpgradeVersion = "0620"
4
-   version = "1.3">
5
-   <BuildAction
6
-      parallelizeBuildables = "YES"
7
-      buildImplicitDependencies = "YES">
8
-      <BuildActionEntries>
9
-         <BuildActionEntry
10
-            buildForTesting = "YES"
11
-            buildForRunning = "YES"
12
-            buildForProfiling = "YES"
13
-            buildForArchiving = "YES"
14
-            buildForAnalyzing = "YES">
15
-            <BuildableReference
16
-               BuildableIdentifier = "primary"
17
-               BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18
-               BuildableName = "react_native_navigation_bootstrap.app"
19
-               BlueprintName = "example"
20
-               ReferencedContainer = "container:example.xcodeproj">
21
-            </BuildableReference>
22
-         </BuildActionEntry>
23
-         <BuildActionEntry
24
-            buildForTesting = "YES"
25
-            buildForRunning = "YES"
26
-            buildForProfiling = "NO"
27
-            buildForArchiving = "NO"
28
-            buildForAnalyzing = "YES">
29
-            <BuildableReference
30
-               BuildableIdentifier = "primary"
31
-               BlueprintIdentifier = "00E356ED1AD99517003FC87E"
32
-               BuildableName = "exampleTests.xctest"
33
-               BlueprintName = "exampleTests"
34
-               ReferencedContainer = "container:example.xcodeproj">
35
-            </BuildableReference>
36
-         </BuildActionEntry>
37
-      </BuildActionEntries>
38
-   </BuildAction>
39
-   <TestAction
40
-      buildConfiguration = "Debug"
41
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
42
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43
-      shouldUseLaunchSchemeArgsEnv = "YES">
44
-      <Testables>
45
-         <TestableReference
46
-            skipped = "NO">
47
-            <BuildableReference
48
-               BuildableIdentifier = "primary"
49
-               BlueprintIdentifier = "00E356ED1AD99517003FC87E"
50
-               BuildableName = "exampleTests.xctest"
51
-               BlueprintName = "exampleTests"
52
-               ReferencedContainer = "container:example.xcodeproj">
53
-            </BuildableReference>
54
-         </TestableReference>
55
-      </Testables>
56
-      <MacroExpansion>
57
-         <BuildableReference
58
-            BuildableIdentifier = "primary"
59
-            BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
60
-            BuildableName = "react_native_navigation_bootstrap.app"
61
-            BlueprintName = "example"
62
-            ReferencedContainer = "container:example.xcodeproj">
63
-         </BuildableReference>
64
-      </MacroExpansion>
65
-      <AdditionalOptions>
66
-      </AdditionalOptions>
67
-   </TestAction>
68
-   <LaunchAction
69
-      buildConfiguration = "Debug"
70
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
71
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
72
-      launchStyle = "0"
73
-      useCustomWorkingDirectory = "NO"
74
-      ignoresPersistentStateOnLaunch = "NO"
75
-      debugDocumentVersioning = "YES"
76
-      debugServiceExtension = "internal"
77
-      allowLocationSimulation = "YES">
78
-      <BuildableProductRunnable
79
-         runnableDebuggingMode = "0">
80
-         <BuildableReference
81
-            BuildableIdentifier = "primary"
82
-            BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
83
-            BuildableName = "react_native_navigation_bootstrap.app"
84
-            BlueprintName = "example"
85
-            ReferencedContainer = "container:example.xcodeproj">
86
-         </BuildableReference>
87
-      </BuildableProductRunnable>
88
-      <AdditionalOptions>
89
-      </AdditionalOptions>
90
-   </LaunchAction>
91
-   <ProfileAction
92
-      buildConfiguration = "Release"
93
-      shouldUseLaunchSchemeArgsEnv = "YES"
94
-      savedToolIdentifier = ""
95
-      useCustomWorkingDirectory = "NO"
96
-      debugDocumentVersioning = "YES">
97
-      <BuildableProductRunnable
98
-         runnableDebuggingMode = "0">
99
-         <BuildableReference
100
-            BuildableIdentifier = "primary"
101
-            BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
102
-            BuildableName = "react_native_navigation_bootstrap.app"
103
-            BlueprintName = "example"
104
-            ReferencedContainer = "container:example.xcodeproj">
105
-         </BuildableReference>
106
-      </BuildableProductRunnable>
107
-   </ProfileAction>
108
-   <AnalyzeAction
109
-      buildConfiguration = "Debug">
110
-   </AnalyzeAction>
111
-   <ArchiveAction
112
-      buildConfiguration = "Release"
113
-      revealArchiveInOrganizer = "YES">
114
-   </ArchiveAction>
115
-</Scheme>

example/ios/react_native_navigation_bootstrap/AppDelegate.h → example/ios/example/AppDelegate.h Vedi File


example/ios/react_native_navigation_bootstrap/AppDelegate.m → example/ios/example/AppDelegate.m Vedi File


example/ios/react_native_navigation_bootstrap/Base.lproj/LaunchScreen.xib → example/ios/example/Base.lproj/LaunchScreen.xib Vedi File


example/ios/react_native_navigation_bootstrap/Images.xcassets/AppIcon.appiconset/Contents.json → example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json Vedi File


example/ios/react_native_navigation_bootstrap/Info.plist → example/ios/example/Info.plist Vedi File


example/ios/react_native_navigation_bootstrap/main.m → example/ios/example/main.m Vedi File


+ 0
- 24
example/ios/react_native_navigation_bootstrapTests/Info.plist Vedi File

@@ -1,24 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
-<plist version="1.0">
4
-<dict>
5
-	<key>CFBundleDevelopmentRegion</key>
6
-	<string>en</string>
7
-	<key>CFBundleExecutable</key>
8
-	<string>$(EXECUTABLE_NAME)</string>
9
-	<key>CFBundleIdentifier</key>
10
-	<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
11
-	<key>CFBundleInfoDictionaryVersion</key>
12
-	<string>6.0</string>
13
-	<key>CFBundleName</key>
14
-	<string>$(PRODUCT_NAME)</string>
15
-	<key>CFBundlePackageType</key>
16
-	<string>BNDL</string>
17
-	<key>CFBundleShortVersionString</key>
18
-	<string>1.0</string>
19
-	<key>CFBundleSignature</key>
20
-	<string>????</string>
21
-	<key>CFBundleVersion</key>
22
-	<string>1</string>
23
-</dict>
24
-</plist>

+ 0
- 70
example/ios/react_native_navigation_bootstrapTests/react_native_navigation_bootstrapTests.m Vedi File

@@ -1,70 +0,0 @@
1
-/**
2
- * Copyright (c) 2015-present, Facebook, Inc.
3
- * All rights reserved.
4
- *
5
- * This source code is licensed under the BSD-style license found in the
6
- * LICENSE file in the root directory of this source tree. An additional grant
7
- * of patent rights can be found in the PATENTS file in the same directory.
8
- */
9
-
10
-#import <UIKit/UIKit.h>
11
-#import <XCTest/XCTest.h>
12
-
13
-#import "RCTLog.h"
14
-#import "RCTRootView.h"
15
-
16
-#define TIMEOUT_SECONDS 600
17
-#define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
18
-
19
-@interface react_native_navigation_bootstrapTests : XCTestCase
20
-
21
-@end
22
-
23
-@implementation react_native_navigation_bootstrapTests
24
-
25
-- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
26
-{
27
-  if (test(view)) {
28
-    return YES;
29
-  }
30
-  for (UIView *subview in [view subviews]) {
31
-    if ([self findSubviewInView:subview matching:test]) {
32
-      return YES;
33
-    }
34
-  }
35
-  return NO;
36
-}
37
-
38
-- (void)testRendersWelcomeScreen
39
-{
40
-  UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController];
41
-  NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
42
-  BOOL foundElement = NO;
43
-
44
-  __block NSString *redboxError = nil;
45
-  RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
46
-    if (level >= RCTLogLevelError) {
47
-      redboxError = message;
48
-    }
49
-  });
50
-
51
-  while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
52
-    [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
53
-    [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
54
-
55
-    foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
56
-      if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
57
-        return YES;
58
-      }
59
-      return NO;
60
-    }];
61
-  }
62
-
63
-  RCTSetLogFunction(RCTDefaultLogFunction);
64
-
65
-  XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
66
-  XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
67
-}
68
-
69
-
70
-@end