Pod::Spec.new do |s| s.name = 'react-native-nsure' s.version = '1.4.3' s.summary = 'nSure React Native SDK' s.authors = { 'nSure' => 'support@nsure.ai' } s.homepage = 'https://github.com/nsure-ai/react-native-client-sdk' s.license = { :type => 'MIT', :file => 'LICENSE' } s.source = { :path => '.' } s.ios.deployment_target = '14.0' s.swift_version = '5.0' s.requires_arc = true # Public bridge + DEV-only Crash Lab (gated by `#if DEBUG`). s.source_files = 'ios/NSureSDK.{h,mm}', 'ios/CrashLab/*.{h,mm}' # CocoaPods doesn't propagate the host app's DEBUG=1 to Pod targets. # Scoped to the literal `Debug` configuration; custom configs (Staging, # Beta, ...) won't activate the Crash Lab. s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS[config=Debug]' => '$(inherited) DEBUG=1', } install_modules_dependencies(s) s.dependency 'nSure', '~> 1.4.1' # nSure 1.4.1 declares Fingerprint-iOS itself; kept explicit here so the # framework is always embedded for dyld. s.dependency 'Fingerprint-iOS', '~> 4.0' end