diff --git a/RNUserDefaultsIOS.podspec b/RNUserDefaultsIOS.podspec new file mode 100644 index 0000000..7936f7d --- /dev/null +++ b/RNUserDefaultsIOS.podspec @@ -0,0 +1,20 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = "RNUserDefaultsIOS" + s.version = package["version"] + s.summary = package["description"] + + s.homepage = "https://github.com/dsibiski/react-native-userdefaults-ios" + + s.license = "MIT" + s.authors = { "Dave Sibiski" => "dsibiski@gmail.com" } + s.platform = :ios, "7.0" + + s.source = { :git => "https://github.com/dsibiski/react-native-userdefaults-ios.git" } + s.source_files = "RNUserDefaultsIOS/*.{h,m}" + + s.dependency 'React' +end diff --git a/package.json b/package.json index 39267b1..ee19d00 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "url": "git@github.com:dsibiski/react-native-userdefaults-ios.git" }, "files": [ + "RNUserDefaultsIOS.podspec", "RNUserDefaultsIOS.xcodeproj", "RNUserDefaultsIOS/RNUserDefaultsIOS.h", "RNUserDefaultsIOS/RNUserDefaultsIOS.m",