react-native-languages/RNLanguages.podspec
Jean Regisser eaa975d8b7
Fix podspec so compilation works
Not sure when this broke, but this fixes compilation when used in a
project that pulls the dependency using CocoaPods 1.5.0 and Xcode 9.3
2018-05-07 17:33:18 +02:00

20 lines
671 B
Ruby

require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |spec|
spec.name = "RNLanguages"
spec.summary = "React Native properties and methods related to the language of the device"
spec.version = package['version']
spec.authors = { "Mathieu Acthernoene" => "zoontek@gmail.com" }
spec.homepage = "https://github.com/react-community/react-native-languages"
spec.license = "MIT"
spec.platform = :ios, "8.0"
spec.source = { :git => "https://github.com/react-community/react-native-languages.git" }
spec.source_files = "ios/**/*.{h,m}"
spec.dependency "React"
end