-
Notifications
You must be signed in to change notification settings - Fork 75.2k
Expand file tree
/
Copy pathTensorFlowLiteC.podspec
More file actions
49 lines (40 loc) · 1.67 KB
/
TensorFlowLiteC.podspec
File metadata and controls
49 lines (40 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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