STT-tensorflow/tensorflow/lite/ios/TensorFlowLiteC.podspec
YoungSeok Yoon e8b6278a88 Update TFLite CocoaPods podspec files for 2.4.0
PiperOrigin-RevId: 347553696
Change-Id: Iad00a7a9d3c633344c7a8879b230346fab5d60c4
2020-12-15 00:12:05 -08:00

41 lines
1.4 KiB
Ruby

Pod::Spec.new do |s|
s.name = 'TensorFlowLiteC'
s.version = '2.4.0'
s.authors = 'Google Inc.'
s.license = { :type => 'Apache' }
s.homepage = 'https://github.com/tensorflow/tensorflow'
s.source = { :http => "https://dl.google.com/dl/cpdc/e8a95c1d411b795e/TensorFlowLiteC-#{s.version}.tar.gz" }
s.summary = 'TensorFlow Lite'
s.description = <<-DESC
An internal-only pod containing the TensorFlow Lite C library that the public
`TensorFlowLiteSwift` and `TensorFlowLiteObjC` pods depend on. This pod is not
intended to be used directly. Swift developers should use the
`TensorFlowLiteSwift` pod and Objective-C developers should use the
`TensorFlowLiteObjC` pod.
DESC
s.ios.deployment_target = '9.0'
s.module_name = 'TensorFlowLiteC'
s.library = 'c++'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.vendored_frameworks = 'Frameworks/TensorFlowLiteC.framework'
end
s.subspec 'CoreML' do |coreml|
coreml.weak_framework = 'CoreML'
coreml.dependency 'TensorFlowLiteC/Core'
coreml.vendored_frameworks = 'Frameworks/TensorFlowLiteCCoreML.framework'
end
s.subspec 'Metal' do |metal|
metal.weak_framework = 'Metal'
metal.dependency 'TensorFlowLiteC/Core'
metal.vendored_frameworks = 'Frameworks/TensorFlowLiteCMetal.framework'
end
end