require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) version = package['version'] # # Be sure to run `pod spec lint ReactNativeAppNexus.podspec' to ensure this is a # valid spec and to remove all comments including this before submitting the spec. # # To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html # To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ # Pod::Spec.new do |s| s.name = "ReactNativeAppNexus" s.version = version s.summary = "A native AppNexus react native component." s.description = "A native AppNexus react native component." s.homepage = "https://gitlab.audienzz.ch/audienzz/appnexus-app-lib.git" s.license = "COMMERCIAL" s.author = { "Springs" => "springs@gmail.com" } s.ios.deployment_target = "9.0" s.source = { :git => "https://gitlab.audienzz.ch/audienzz/appnexus-app-lib", :branch => "master" } s.source_files = "ios/RNAppnexusLibrary/**/*.{m,h}" s.public_header_files = "ios/RNAppnexusLibrary/**/*.h" s.dependency 'React' s.dependency 'AppNexusSDK' # Force the static framework to be linked into this pod # See https://github.com/CocoaPods/CocoaPods/issues/2926 end