Files
WeHub Mirror 16d3f15320
ARM CI / build (3.10) (push) Has been cancelled
cffconvert / validate (push) Has been cancelled
Creates a GitHub Issue when a PR Rolled back via Commit to Master / create-issue-on-pr-rollback (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
WeHub snapshot of ee606724a5c2f63bf60704cb3e1b169618993fd9
2026-08-07 16:11:07 +08:00

50 lines
1.7 KiB
Ruby

Pod::Spec.new do |s|
s.name = 'TensorFlowLiteC'
s.version = '2.14.0'
s.authors = 'Google Inc.'
s.license = { :type => 'Apache' }
s.homepage = 'https://github.com/tensorflow/tensorflow'
s.source = { :http => "https://dl.google.com/tflite-release/ios/prod/tensorflow/lite/release/ios/release/30/20231002-210715/TensorFlowLiteC/2.14.0/883c6fc838e0354b/TensorFlowLiteC-2.14.0.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.cocoapods_version = '>= 1.9.0'
s.ios.deployment_target = '12.0'
s.module_name = 'TensorFlowLiteC'
s.library = 'c++'
s.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386'
}
s.user_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386'
}
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.vendored_frameworks = 'Frameworks/TensorFlowLiteC.xcframework'
end
s.subspec 'CoreML' do |coreml|
coreml.weak_framework = 'CoreML'
coreml.dependency 'TensorFlowLiteC/Core'
coreml.vendored_frameworks = 'Frameworks/TensorFlowLiteCCoreML.xcframework'
end
s.subspec 'Metal' do |metal|
metal.weak_framework = 'Metal'
metal.dependency 'TensorFlowLiteC/Core'
metal.vendored_frameworks = 'Frameworks/TensorFlowLiteCMetal.xcframework'
end
end