require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) Pod::Spec.new do |s| s.name = "payu-sdk" s.version = package["version"] s.summary = package["description"] s.homepage = "https://github.com/payu-intrepos/payu-core-pg-react" s.license = package["license"] s.authors = package["author"] s.platforms = { :ios => "13.0" } s.source = { :git => "https://github.com/payu-intrepos/payu-core-pg-react.git", :tag => "#{s.version}" } s.source_files = "ios/*.{h,m,swift}" # s.subspec 'no-arc' do |sp| # sp.source_files = 'ios/JSONKit.{h,m}' # sp.requires_arc = false # sp.compiler_flags = '-fno-objc-arc' # end s.resource_bundles = { 'PayUResource' => ['ios/PayUSdkInfo.plist'] } s.dependency "React-Core" s.dependency "PayUIndia-PG-SDK" , '~> 11.9' s.dependency "BWJSONMatcher" end