Ver código fonte

migrated ios to RN41.2

Daniel Zlotin 8 anos atrás
pai
commit
c1abfad6ff

+ 1
- 1
ios/RNN.h Ver arquivo

3
 #import <UIKit/UIKit.h>
3
 #import <UIKit/UIKit.h>
4
 
4
 
5
 #import "RNNEventEmitter.h"
5
 #import "RNNEventEmitter.h"
6
-#import "RCTBridge.h"
6
+#import <React/RCTBridge.h>
7
 #import "RNNStore.h"
7
 #import "RNNStore.h"
8
 
8
 
9
 @interface RNN : NSObject
9
 @interface RNN : NSObject

+ 2
- 2
ios/RNN.m Ver arquivo

2
 #import "RNN.h"
2
 #import "RNN.h"
3
 #import "RNNEventEmitter.h"
3
 #import "RNNEventEmitter.h"
4
 
4
 
5
-#import "RCTBridge.h"
5
+#import <React/RCTBridge.h>
6
 #import "RNNSplashScreen.h"
6
 #import "RNNSplashScreen.h"
7
 
7
 
8
 @interface RNN()
8
 @interface RNN()
62
 	
62
 	
63
 #pragma GCC diagnostic push
63
 #pragma GCC diagnostic push
64
 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
64
 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
65
-	[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onJavaScriptDevReload) name:RCTReloadNotification object:self.bridge];
65
+//	[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onJavaScriptDevReload) name:RCTReloadNotification object:self.bridge];
66
 #pragma GCC diagnostic pop
66
 #pragma GCC diagnostic pop
67
 }
67
 }
68
 
68
 

+ 1
- 1
ios/RNNBridgeModule.h Ver arquivo

1
 #import <Foundation/Foundation.h>
1
 #import <Foundation/Foundation.h>
2
 #import <UIKit/UIKit.h>
2
 #import <UIKit/UIKit.h>
3
 
3
 
4
-#import "RCTBridgeModule.h"
4
+#import <React/RCTBridgeModule.h>
5
 
5
 
6
 @interface RNNBridgeModule : NSObject <RCTBridgeModule>
6
 @interface RNNBridgeModule : NSObject <RCTBridgeModule>
7
 
7
 

+ 2
- 2
ios/RNNEventEmitter.h Ver arquivo

1
 
1
 
2
 #import <Foundation/Foundation.h>
2
 #import <Foundation/Foundation.h>
3
 
3
 
4
-#import "RCTEventEmitter.h"
5
-#import "RCTBridgeModule.h"
4
+#import <React/RCTEventEmitter.h>
5
+#import <React/RCTBridgeModule.h>
6
 
6
 
7
 @interface RNNEventEmitter : RCTEventEmitter <RCTBridgeModule>
7
 @interface RNNEventEmitter : RCTEventEmitter <RCTBridgeModule>
8
 
8
 

+ 1
- 1
ios/RNNReactRootViewCreator.m Ver arquivo

8
 
8
 
9
 #import "RNNReactRootViewCreator.h"
9
 #import "RNNReactRootViewCreator.h"
10
 #import "RNN.h"
10
 #import "RNN.h"
11
-#import "RCTRootView.h"
11
+#import <React/RCTRootView.h>
12
 
12
 
13
 @implementation RNNReactRootViewCreator
13
 @implementation RNNReactRootViewCreator
14
 
14
 

+ 1
- 1
ios/RNNRootViewController.m Ver arquivo

1
 
1
 
2
 #import "RNNRootViewController.h"
2
 #import "RNNRootViewController.h"
3
-#import "RCTRootView.h"
3
+#import <React/RCTRootView.h>
4
 #import "RNN.h"
4
 #import "RNN.h"
5
 
5
 
6
 @interface RNNRootViewController()
6
 @interface RNNRootViewController()

+ 0
- 16
ios/ReactNativeNavigation.xcodeproj/project.pbxproj Ver arquivo

447
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
447
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
448
 				GCC_WARN_UNUSED_FUNCTION = YES;
448
 				GCC_WARN_UNUSED_FUNCTION = YES;
449
 				GCC_WARN_UNUSED_VARIABLE = YES;
449
 				GCC_WARN_UNUSED_VARIABLE = YES;
450
-				HEADER_SEARCH_PATHS = (
451
-					"$(inherited)",
452
-					"$(SRCROOT)/../../react-native/React/**",
453
-				);
454
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
450
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
455
 				MTL_ENABLE_DEBUG_INFO = YES;
451
 				MTL_ENABLE_DEBUG_INFO = YES;
456
 				ONLY_ACTIVE_ARCH = YES;
452
 				ONLY_ACTIVE_ARCH = YES;
490
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
486
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
491
 				GCC_WARN_UNUSED_FUNCTION = YES;
487
 				GCC_WARN_UNUSED_FUNCTION = YES;
492
 				GCC_WARN_UNUSED_VARIABLE = YES;
488
 				GCC_WARN_UNUSED_VARIABLE = YES;
493
-				HEADER_SEARCH_PATHS = (
494
-					"$(inherited)",
495
-					"$(SRCROOT)/../../react-native/React/**",
496
-				);
497
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
489
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
498
 				MTL_ENABLE_DEBUG_INFO = NO;
490
 				MTL_ENABLE_DEBUG_INFO = NO;
499
 				SDKROOT = iphoneos;
491
 				SDKROOT = iphoneos;
505
 			isa = XCBuildConfiguration;
497
 			isa = XCBuildConfiguration;
506
 			buildSettings = {
498
 			buildSettings = {
507
 				GCC_TREAT_WARNINGS_AS_ERRORS = YES;
499
 				GCC_TREAT_WARNINGS_AS_ERRORS = YES;
508
-				HEADER_SEARCH_PATHS = (
509
-					"$(inherited)",
510
-					"$(SRCROOT)/../../react-native/React/**",
511
-				);
512
 				OTHER_LDFLAGS = "-ObjC";
500
 				OTHER_LDFLAGS = "-ObjC";
513
 				PRODUCT_NAME = ReactNativeNavigation;
501
 				PRODUCT_NAME = ReactNativeNavigation;
514
 				PUBLIC_HEADERS_FOLDER_PATH = "include/${PRODUCT_NAME}";
502
 				PUBLIC_HEADERS_FOLDER_PATH = "include/${PRODUCT_NAME}";
520
 			isa = XCBuildConfiguration;
508
 			isa = XCBuildConfiguration;
521
 			buildSettings = {
509
 			buildSettings = {
522
 				GCC_TREAT_WARNINGS_AS_ERRORS = YES;
510
 				GCC_TREAT_WARNINGS_AS_ERRORS = YES;
523
-				HEADER_SEARCH_PATHS = (
524
-					"$(inherited)",
525
-					"$(SRCROOT)/../../react-native/React/**",
526
-				);
527
 				OTHER_LDFLAGS = "-ObjC";
511
 				OTHER_LDFLAGS = "-ObjC";
528
 				PRODUCT_NAME = ReactNativeNavigation;
512
 				PRODUCT_NAME = ReactNativeNavigation;
529
 				PUBLIC_HEADERS_FOLDER_PATH = "include/${PRODUCT_NAME}";
513
 				PUBLIC_HEADERS_FOLDER_PATH = "include/${PRODUCT_NAME}";

+ 95
- 33
playground/ios/playground.xcodeproj/project.pbxproj Ver arquivo

176
 			remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
176
 			remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
177
 			remoteInfo = "React-tvOS";
177
 			remoteInfo = "React-tvOS";
178
 		};
178
 		};
179
+		7BBE23FE1E632A63006FC0DF /* PBXContainerItemProxy */ = {
180
+			isa = PBXContainerItemProxy;
181
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
182
+			proxyType = 2;
183
+			remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
184
+			remoteInfo = yoga;
185
+		};
186
+		7BBE24001E632A63006FC0DF /* PBXContainerItemProxy */ = {
187
+			isa = PBXContainerItemProxy;
188
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
189
+			proxyType = 2;
190
+			remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
191
+			remoteInfo = "yoga-tvOS";
192
+		};
193
+		7BBE24021E632A63006FC0DF /* PBXContainerItemProxy */ = {
194
+			isa = PBXContainerItemProxy;
195
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
196
+			proxyType = 2;
197
+			remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
198
+			remoteInfo = cxxreact;
199
+		};
200
+		7BBE24041E632A63006FC0DF /* PBXContainerItemProxy */ = {
201
+			isa = PBXContainerItemProxy;
202
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
203
+			proxyType = 2;
204
+			remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
205
+			remoteInfo = "cxxreact-tvOS";
206
+		};
207
+		7BBE24061E632A63006FC0DF /* PBXContainerItemProxy */ = {
208
+			isa = PBXContainerItemProxy;
209
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
210
+			proxyType = 2;
211
+			remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
212
+			remoteInfo = jschelpers;
213
+		};
214
+		7BBE24081E632A63006FC0DF /* PBXContainerItemProxy */ = {
215
+			isa = PBXContainerItemProxy;
216
+			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
217
+			proxyType = 2;
218
+			remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
219
+			remoteInfo = "jschelpers-tvOS";
220
+		};
179
 		7BD721FD1E2E420400724059 /* PBXContainerItemProxy */ = {
221
 		7BD721FD1E2E420400724059 /* PBXContainerItemProxy */ = {
180
 			isa = PBXContainerItemProxy;
222
 			isa = PBXContainerItemProxy;
181
 			containerPortal = 2647D6591DB175B300B23722 /* ReactNativeNavigation.xcodeproj */;
223
 			containerPortal = 2647D6591DB175B300B23722 /* ReactNativeNavigation.xcodeproj */;
344
 			isa = PBXGroup;
386
 			isa = PBXGroup;
345
 			children = (
387
 			children = (
346
 				146834041AC3E56700842450 /* libReact.a */,
388
 				146834041AC3E56700842450 /* libReact.a */,
347
-				7B9B39831DEB4076004A6281 /* libReact-tvOS.a */,
389
+				7B9B39831DEB4076004A6281 /* libReact.a */,
390
+				7BBE23FF1E632A63006FC0DF /* libyoga.a */,
391
+				7BBE24011E632A63006FC0DF /* libyoga.a */,
392
+				7BBE24031E632A63006FC0DF /* libcxxreact.a */,
393
+				7BBE24051E632A63006FC0DF /* libcxxreact.a */,
394
+				7BBE24071E632A63006FC0DF /* libjschelpers.a */,
395
+				7BBE24091E632A63006FC0DF /* libjschelpers.a */,
348
 			);
396
 			);
349
 			name = Products;
397
 			name = Products;
350
 			sourceTree = "<group>";
398
 			sourceTree = "<group>";
680
 			remoteRef = 7B9B397E1DEB4076004A6281 /* PBXContainerItemProxy */;
728
 			remoteRef = 7B9B397E1DEB4076004A6281 /* PBXContainerItemProxy */;
681
 			sourceTree = BUILT_PRODUCTS_DIR;
729
 			sourceTree = BUILT_PRODUCTS_DIR;
682
 		};
730
 		};
683
-		7B9B39831DEB4076004A6281 /* libReact-tvOS.a */ = {
731
+		7B9B39831DEB4076004A6281 /* libReact.a */ = {
684
 			isa = PBXReferenceProxy;
732
 			isa = PBXReferenceProxy;
685
 			fileType = archive.ar;
733
 			fileType = archive.ar;
686
-			path = "libReact-tvOS.a";
734
+			path = libReact.a;
687
 			remoteRef = 7B9B39821DEB4076004A6281 /* PBXContainerItemProxy */;
735
 			remoteRef = 7B9B39821DEB4076004A6281 /* PBXContainerItemProxy */;
688
 			sourceTree = BUILT_PRODUCTS_DIR;
736
 			sourceTree = BUILT_PRODUCTS_DIR;
689
 		};
737
 		};
738
+		7BBE23FF1E632A63006FC0DF /* libyoga.a */ = {
739
+			isa = PBXReferenceProxy;
740
+			fileType = archive.ar;
741
+			path = libyoga.a;
742
+			remoteRef = 7BBE23FE1E632A63006FC0DF /* PBXContainerItemProxy */;
743
+			sourceTree = BUILT_PRODUCTS_DIR;
744
+		};
745
+		7BBE24011E632A63006FC0DF /* libyoga.a */ = {
746
+			isa = PBXReferenceProxy;
747
+			fileType = archive.ar;
748
+			path = libyoga.a;
749
+			remoteRef = 7BBE24001E632A63006FC0DF /* PBXContainerItemProxy */;
750
+			sourceTree = BUILT_PRODUCTS_DIR;
751
+		};
752
+		7BBE24031E632A63006FC0DF /* libcxxreact.a */ = {
753
+			isa = PBXReferenceProxy;
754
+			fileType = archive.ar;
755
+			path = libcxxreact.a;
756
+			remoteRef = 7BBE24021E632A63006FC0DF /* PBXContainerItemProxy */;
757
+			sourceTree = BUILT_PRODUCTS_DIR;
758
+		};
759
+		7BBE24051E632A63006FC0DF /* libcxxreact.a */ = {
760
+			isa = PBXReferenceProxy;
761
+			fileType = archive.ar;
762
+			path = libcxxreact.a;
763
+			remoteRef = 7BBE24041E632A63006FC0DF /* PBXContainerItemProxy */;
764
+			sourceTree = BUILT_PRODUCTS_DIR;
765
+		};
766
+		7BBE24071E632A63006FC0DF /* libjschelpers.a */ = {
767
+			isa = PBXReferenceProxy;
768
+			fileType = archive.ar;
769
+			path = libjschelpers.a;
770
+			remoteRef = 7BBE24061E632A63006FC0DF /* PBXContainerItemProxy */;
771
+			sourceTree = BUILT_PRODUCTS_DIR;
772
+		};
773
+		7BBE24091E632A63006FC0DF /* libjschelpers.a */ = {
774
+			isa = PBXReferenceProxy;
775
+			fileType = archive.ar;
776
+			path = libjschelpers.a;
777
+			remoteRef = 7BBE24081E632A63006FC0DF /* PBXContainerItemProxy */;
778
+			sourceTree = BUILT_PRODUCTS_DIR;
779
+		};
690
 		832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
780
 		832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
691
 			isa = PBXReferenceProxy;
781
 			isa = PBXReferenceProxy;
692
 			fileType = archive.ar;
782
 			fileType = archive.ar;
791
 					"DEBUG=1",
881
 					"DEBUG=1",
792
 					"$(inherited)",
882
 					"$(inherited)",
793
 				);
883
 				);
794
-				HEADER_SEARCH_PATHS = (
795
-					"$(inherited)",
796
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
797
-					"$(SRCROOT)/../node_modules/react-native/React/**",
798
-					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
799
-				);
884
+				HEADER_SEARCH_PATHS = "${SRCROOT}/../node_modules/react-native-navigation/ios/**";
800
 				INFOPLIST_FILE = playgroundTests/Info.plist;
885
 				INFOPLIST_FILE = playgroundTests/Info.plist;
801
 				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
886
 				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
802
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
887
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
811
 			buildSettings = {
896
 			buildSettings = {
812
 				BUNDLE_LOADER = "$(TEST_HOST)";
897
 				BUNDLE_LOADER = "$(TEST_HOST)";
813
 				COPY_PHASE_STRIP = NO;
898
 				COPY_PHASE_STRIP = NO;
814
-				HEADER_SEARCH_PATHS = (
815
-					"$(inherited)",
816
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
817
-					"$(SRCROOT)/../node_modules/react-native/React/**",
818
-					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
819
-				);
899
+				HEADER_SEARCH_PATHS = "${SRCROOT}/../node_modules/react-native-navigation/ios/**";
820
 				INFOPLIST_FILE = playgroundTests/Info.plist;
900
 				INFOPLIST_FILE = playgroundTests/Info.plist;
821
 				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
901
 				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
822
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
902
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
832
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
912
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
833
 				DEAD_CODE_STRIPPING = NO;
913
 				DEAD_CODE_STRIPPING = NO;
834
 				DEVELOPMENT_TEAM = "";
914
 				DEVELOPMENT_TEAM = "";
835
-				HEADER_SEARCH_PATHS = (
836
-					"$(inherited)",
837
-					"$(SRCROOT)/../node_modules/react-native/React/**",
838
-				);
839
 				INFOPLIST_FILE = playground/Info.plist;
915
 				INFOPLIST_FILE = playground/Info.plist;
840
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
916
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
841
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
917
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
853
 			buildSettings = {
929
 			buildSettings = {
854
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
930
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
855
 				DEVELOPMENT_TEAM = "";
931
 				DEVELOPMENT_TEAM = "";
856
-				HEADER_SEARCH_PATHS = (
857
-					"$(inherited)",
858
-					"$(SRCROOT)/../node_modules/react-native/React/**",
859
-				);
860
 				INFOPLIST_FILE = playground/Info.plist;
932
 				INFOPLIST_FILE = playground/Info.plist;
861
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
933
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
862
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
934
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
906
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
978
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
907
 				GCC_WARN_UNUSED_FUNCTION = YES;
979
 				GCC_WARN_UNUSED_FUNCTION = YES;
908
 				GCC_WARN_UNUSED_VARIABLE = YES;
980
 				GCC_WARN_UNUSED_VARIABLE = YES;
909
-				HEADER_SEARCH_PATHS = (
910
-					"$(inherited)",
911
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
912
-					"$(SRCROOT)/../node_modules/react-native/React/**",
913
-				);
914
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
981
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
915
 				MTL_ENABLE_DEBUG_INFO = YES;
982
 				MTL_ENABLE_DEBUG_INFO = YES;
916
 				ONLY_ACTIVE_ARCH = YES;
983
 				ONLY_ACTIVE_ARCH = YES;
950
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1017
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
951
 				GCC_WARN_UNUSED_FUNCTION = YES;
1018
 				GCC_WARN_UNUSED_FUNCTION = YES;
952
 				GCC_WARN_UNUSED_VARIABLE = YES;
1019
 				GCC_WARN_UNUSED_VARIABLE = YES;
953
-				HEADER_SEARCH_PATHS = (
954
-					"$(inherited)",
955
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
956
-					"$(SRCROOT)/../node_modules/react-native/React/**",
957
-				);
958
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1020
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
959
 				MTL_ENABLE_DEBUG_INFO = NO;
1021
 				MTL_ENABLE_DEBUG_INFO = NO;
960
 				OTHER_LDFLAGS = "";
1022
 				OTHER_LDFLAGS = "";

+ 15
- 1
playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme Ver arquivo

3
    LastUpgradeVersion = "0820"
3
    LastUpgradeVersion = "0820"
4
    version = "1.3">
4
    version = "1.3">
5
    <BuildAction
5
    <BuildAction
6
-      parallelizeBuildables = "YES"
6
+      parallelizeBuildables = "NO"
7
       buildImplicitDependencies = "YES">
7
       buildImplicitDependencies = "YES">
8
       <BuildActionEntries>
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 = "83CBBA2D1A601D0E00E9B192"
18
+               BuildableName = "libReact.a"
19
+               BlueprintName = "React"
20
+               ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
21
+            </BuildableReference>
22
+         </BuildActionEntry>
9
          <BuildActionEntry
23
          <BuildActionEntry
10
             buildForTesting = "YES"
24
             buildForTesting = "YES"
11
             buildForRunning = "YES"
25
             buildForRunning = "YES"

+ 15
- 1
playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground_release.xcscheme Ver arquivo

3
    LastUpgradeVersion = "0820"
3
    LastUpgradeVersion = "0820"
4
    version = "1.3">
4
    version = "1.3">
5
    <BuildAction
5
    <BuildAction
6
-      parallelizeBuildables = "YES"
6
+      parallelizeBuildables = "NO"
7
       buildImplicitDependencies = "YES">
7
       buildImplicitDependencies = "YES">
8
       <BuildActionEntries>
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 = "83CBBA2D1A601D0E00E9B192"
18
+               BuildableName = "libReact.a"
19
+               BlueprintName = "React"
20
+               ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
21
+            </BuildableReference>
22
+         </BuildActionEntry>
9
          <BuildActionEntry
23
          <BuildActionEntry
10
             buildForTesting = "YES"
24
             buildForTesting = "YES"
11
             buildForRunning = "YES"
25
             buildForRunning = "YES"

+ 1
- 1
playground/ios/playground/AppDelegate.m Ver arquivo

8
 // IMPORTANT: if you're getting an Xcode error that RCCManager.h isn't found, you've probably ran "npm install"
8
 // IMPORTANT: if you're getting an Xcode error that RCCManager.h isn't found, you've probably ran "npm install"
9
 // with npm ver 2. You'll need to "npm install" with npm 3 (see https://github.com/wix/react-native-navigation/issues/1)
9
 // with npm ver 2. You'll need to "npm install" with npm 3 (see https://github.com/wix/react-native-navigation/issues/1)
10
 
10
 
11
-#import "RCTRootView.h"
11
+#import <React/RCTRootView.h>
12
 
12
 
13
 @implementation AppDelegate
13
 @implementation AppDelegate
14
 
14