diff --git a/ReactNativeToast.podspec b/ReactNativeToast.podspec new file mode 100644 index 0000000..014cec4 --- /dev/null +++ b/ReactNativeToast.podspec @@ -0,0 +1,23 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = 'ReactNativeToast' + s.version = package['version'] + s.summary = package['description'] + s.description = package['description'] + s.homepage = package['homepage'] + s.license = package['license'] + s.author = package['author'] + s.source = { :git => 'https://github.com/remobile/react-native-toast.git', :tag => 'v'+s.version.to_s } + + s.platform = :ios, '9.0' + s.ios.deployment_target = '8.0' + + s.dependency 'React' + + s.preserve_paths = 'README.md', 'LICENSE', 'package.json' + s.source_files = 'ios/**/*.{h,m}' + s.exclude_files = 'android/**/*' +end