Pod::Spec.new do |s| s.name = '${POD_NAME}' s.version = '${TFL_BUILD_VERSION}' s.authors = 'Google Inc.' s.license = { :type => 'Apache' } s.homepage = 'https://github.com/tensorflow/tensorflow' s.source = { :http => "${TFL_DOWNLOAD_URL}" } s.summary = 'TensorFlow Lite' s.description = <<-DESC This pod can be used in addition to `TensorFlowLiteSwift` or `TensorFlowLiteObjC` pod, in order to enable Select TensorFlow ops. The resulting binary should also be force-loaded to the final app binary. DESC s.cocoapods_version = '>= ${TFL_MIN_COCOAPODS_VERSION}' s.ios.deployment_target = '12.0' s.module_name = 'TensorFlowLiteSelectTfOps' s.library = 'c++' s.vendored_frameworks = 'Frameworks/TensorFlowLiteSelectTfOps.xcframework' s.resource_bundle = { 'TensorFlowLiteSelectTfOps' => 'Frameworks/TensorFlowLiteSelectTfOps.xcframework/PrivacyInfo.xcprivacy' } s.weak_frameworks = 'CoreML' # TODO(b/149803849): Remove this after adding support for simulators. s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 x86_64 arm64', 'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO', } # TODO(b/149803849): Remove this after adding support for simulators. s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 x86_64 arm64', 'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO', } end