require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) Pod::Spec.new do |s| s.name = "react-native-userleap" s.version = package["version"] s.summary = package["description"] s.description = <<-DESC react-native-userleap DESC s.homepage = "https://github.com/github_account/react-native-userleap" s.license = "MIT" s.authors = { "The UserLeap Team" => "ios@userleap.com" } s.platforms = { :ios => "15.0" } s.source = { :git => "https://github.com/github_account/react-native-userleap.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,c,m,mm,swift}" s.requires_arc = true s.dependency "UserLeapKit", "4.33.0" # New Architecture: wires up the React-Codegen dependency and header search # paths so the generated RNUserLeapBindingsSpec (Obj-C++) resolves. if respond_to?(:install_modules_dependencies, true) install_modules_dependencies(s) else s.dependency "React-Core" end end