From 8885067a855de6b94d121a73b58c6860a97810ad Mon Sep 17 00:00:00 2001 From: Bear <15223245@qq.com> Date: Thu, 11 Jul 2019 17:02:29 +0800 Subject: [PATCH 1/2] add pod support --- react-native-keyboard-input.podspec | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 react-native-keyboard-input.podspec diff --git a/react-native-keyboard-input.podspec b/react-native-keyboard-input.podspec new file mode 100644 index 0000000..b860f62 --- /dev/null +++ b/react-native-keyboard-input.podspec @@ -0,0 +1,19 @@ +require 'json' +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = package['name'] + s.version = package["version"] + s.summary = package['description'] + s.author = { 'albertluo' => 'luozhang002@126.com' } + s.license = package['license'] + s.homepage = package['homepage'] + s.source = { :git => 'https://github.com/wix/react-native-keyboard-input.git' } + s.platform = :ios, '8.0' + + s.source_files = 'lib/ios/**/*.{h,m}' + + s.dependency 'React' + s.dependency 'AliyunOSSiOS' + +end \ No newline at end of file From f2b5886a6f05cdcad253e30d76c1e34b4d0b7ad1 Mon Sep 17 00:00:00 2001 From: Bear <15223245@qq.com> Date: Sat, 27 Jul 2019 11:21:32 +0800 Subject: [PATCH 2/2] Update react-native-keyboard-input.podspec --- react-native-keyboard-input.podspec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/react-native-keyboard-input.podspec b/react-native-keyboard-input.podspec index b860f62..90835d8 100644 --- a/react-native-keyboard-input.podspec +++ b/react-native-keyboard-input.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = package['name'] s.version = package["version"] s.summary = package['description'] - s.author = { 'albertluo' => 'luozhang002@126.com' } + s.author = package['author'] s.license = package['license'] s.homepage = package['homepage'] s.source = { :git => 'https://github.com/wix/react-native-keyboard-input.git' } @@ -14,6 +14,5 @@ Pod::Spec.new do |s| s.source_files = 'lib/ios/**/*.{h,m}' s.dependency 'React' - s.dependency 'AliyunOSSiOS' -end \ No newline at end of file +end