Преглед изворни кода

support for apps using cocoapods

Daniel Zlotin пре 7 година
родитељ
комит
08524de645

+ 23
- 0
ReactNativeNavigation.podspec Прегледај датотеку

@@ -0,0 +1,23 @@
1
+require 'json'
2
+
3
+package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
+
5
+Pod::Spec.new do |s|
6
+  s.name         = "ReactNativeNavigation"
7
+  s.version      = package['version']
8
+  s.summary      = "A Native Navigation Solution for React Native"
9
+
10
+  s.authors      = "Wix"
11
+  s.homepage     = "https://github.com/wix/react-native-navigation.git#readme"
12
+  s.license      = package['license']
13
+  s.platform     = :ios, "9.0"
14
+
15
+  s.module_name  = 'ReactNativeNavigation'
16
+
17
+  s.source       = { :git => "https://github.com/wix/react-native-navigation.git", :tag => "v#{s.version}" }
18
+  s.source_files  = "lib/ios/**/*.{h,m}"
19
+  s.exclude_files  = "lib/ios/ReactNativeNavigationTests/**/*.*"
20
+
21
+  s.dependency 'React'
22
+  s.frameworks = 'UIKit'
23
+end

+ 1
- 1
lib/ios/RNNSideMenu/TheSidebarController/TheSidebarController.h Прегледај датотеку

@@ -23,7 +23,7 @@
23 23
 
24 24
 
25 25
 #import <UIKit/UIKit.h>
26
-#import "Animations/SidebarAnimation.h"
26
+#import "SidebarAnimation.h"
27 27
 
28 28
 @protocol TheSidebarControllerDelegate;
29 29
 

+ 3
- 2
lib/ios/ReactNativeNavigation.xcodeproj/project.pbxproj Прегледај датотеку

@@ -662,7 +662,7 @@
662 662
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
663 663
 				GCC_WARN_UNUSED_FUNCTION = YES;
664 664
 				GCC_WARN_UNUSED_VARIABLE = YES;
665
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
665
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
666 666
 				MTL_ENABLE_DEBUG_INFO = YES;
667 667
 				ONLY_ACTIVE_ARCH = YES;
668 668
 				SDKROOT = iphoneos;
@@ -701,7 +701,7 @@
701 701
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
702 702
 				GCC_WARN_UNUSED_FUNCTION = YES;
703 703
 				GCC_WARN_UNUSED_VARIABLE = YES;
704
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
704
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
705 705
 				MTL_ENABLE_DEBUG_INFO = NO;
706 706
 				SDKROOT = iphoneos;
707 707
 				VALIDATE_PRODUCT = YES;
@@ -740,6 +740,7 @@
740 740
 				7B49FEC41E95090800DEB3EA /* Release */,
741 741
 			);
742 742
 			defaultConfigurationIsVisible = 0;
743
+			defaultConfigurationName = Release;
743 744
 		};
744 745
 		D8AFADB81BEE6F3F00A4592D /* Build configuration list for PBXProject "ReactNativeNavigation" */ = {
745 746
 			isa = XCConfigurationList;

+ 2
- 4
playground/ios/playground.xcodeproj/project.pbxproj Прегледај датотеку

@@ -786,7 +786,6 @@
786 786
 				DEAD_CODE_STRIPPING = NO;
787 787
 				DEVELOPMENT_TEAM = "";
788 788
 				INFOPLIST_FILE = playground/Info.plist;
789
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
790 789
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
791 790
 				OTHER_LDFLAGS = (
792 791
 					"-ObjC",
@@ -803,7 +802,6 @@
803 802
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
804 803
 				DEVELOPMENT_TEAM = "";
805 804
 				INFOPLIST_FILE = playground/Info.plist;
806
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
807 805
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
808 806
 				OTHER_LDFLAGS = (
809 807
 					"-ObjC",
@@ -851,7 +849,7 @@
851 849
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
852 850
 				GCC_WARN_UNUSED_FUNCTION = YES;
853 851
 				GCC_WARN_UNUSED_VARIABLE = YES;
854
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
852
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
855 853
 				MTL_ENABLE_DEBUG_INFO = YES;
856 854
 				ONLY_ACTIVE_ARCH = YES;
857 855
 				OTHER_LDFLAGS = "";
@@ -890,7 +888,7 @@
890 888
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
891 889
 				GCC_WARN_UNUSED_FUNCTION = YES;
892 890
 				GCC_WARN_UNUSED_VARIABLE = YES;
893
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
891
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
894 892
 				MTL_ENABLE_DEBUG_INFO = NO;
895 893
 				OTHER_LDFLAGS = "";
896 894
 				SDKROOT = iphoneos;

+ 1
- 2
scripts/env/installYarn.sh Прегледај датотеку

@@ -1,4 +1,3 @@
1 1
 #!/bin/bash -e
2 2
 
3
-curl -o- -L https://yarnpkg.com/install.sh | bash
4
-export PATH=$PATH:$HOME/.yarn/bin
3
+brew install yarn