require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) Pod::Spec.new do |s| s.name = "ReactNativeFs" s.version = package["version"] s.summary = package["description"] s.homepage = package["homepage"] s.license = package["license"] s.authors = package["author"] s.platforms = { :ios => min_ios_version_supported, :osx => "10.13" } s.source = { :git => "https://github.com/birdofpreyru/react-native-fs.git", :tag => "#{s.version}" } s.resource_bundles = { 'RNFS_PrivacyInfo' => 'ios/PrivacyInfo.xcprivacy' } s.frameworks = "AVFoundation", "Photos" s.source_files = "ios/**/*.{h,m,mm,cpp}" s.private_header_files = "ios/**/*.h" install_modules_dependencies(s) end