[Add] TensorFlowLiteObjC 0.0.1-nightly.20241221
[CocoaPods.git] / Specs / e / c / 8 / LiteRTObjC / 0.0.1-nightly.20241114 / LiteRTObjC.podspec.json
blob55c878503a9bf3c29a00bfc59ba07a9ce696bdc1
2   "name": "LiteRTObjC",
3   "version": "0.0.1-nightly.20241114",
4   "authors": "Google Inc.",
5   "license": {
6     "type": "Apache"
7   },
8   "homepage": "https://github.com/tensorflow/tensorflow",
9   "source": {
10     "git": "https://github.com/tensorflow/tensorflow.git",
11     "commit": "1f84ceb1c221b73d7d68c4d2b84ae237de3cb08d"
12   },
13   "summary": "TensorFlow Lite for Objective-C",
14   "description": "TensorFlow Lite is TensorFlow's lightweight solution for Objective-C\ndevelopers. It enables low-latency inference of on-device machine learning\nmodels with a small binary size and fast performance supporting hardware\nacceleration.",
15   "cocoapods_version": ">= 1.9.0",
16   "platforms": {
17     "ios": "12.0"
18   },
19   "module_name": "TFLTensorFlowLite",
20   "static_framework": true,
21   "pod_target_xcconfig": {
22     "HEADER_SEARCH_PATHS": "\"${PODS_TARGET_SRCROOT}\" \"${PODS_TARGET_SRCROOT}/tensorflow/lite/objc/apis\"",
23     "EXCLUDED_ARCHS[sdk=iphonesimulator*]": "i386",
24     "ENABLE_USER_SCRIPT_SANDBOXING": "NO"
25   },
26   "user_target_xcconfig": {
27     "EXCLUDED_ARCHS[sdk=iphonesimulator*]": "i386",
28     "ENABLE_USER_SCRIPT_SANDBOXING": "NO"
29   },
30   "default_subspecs": "Core",
31   "subspecs": [
32     {
33       "name": "Privacy",
34       "resource_bundles": {
35         "TFLTensorFlowLite": "tensorflow/lite/objc/PrivacyInfo.xcprivacy"
36       }
37     },
38     {
39       "name": "Core",
40       "public_header_files": "tensorflow/lite/objc/apis/*.h",
41       "source_files": [
42         "tensorflow/lite/objc/{apis,sources}/*.{h,m,mm}"
43       ],
44       "exclude_files": [
45         "tensorflow/lite/objc/{apis,sources}/TFL{Metal,CoreML}Delegate.{h,m}"
46       ],
47       "dependencies": {
48         "LiteRTC": [
49           "0.0.1-nightly.20241114"
50         ],
51         "LiteRTObjC/Privacy": [
52           "0.0.1-nightly.20241114"
53         ]
54       },
55       "testspecs": [
56         {
57           "name": "Tests",
58           "test_type": "unit",
59           "source_files": "tensorflow/lite/objc/tests/*.m",
60           "exclude_files": "tensorflow/lite/objc/tests/TFL{Metal,CoreML}DelegateTests.m",
61           "resources": [
62             "tensorflow/lite/testdata/add.bin",
63             "tensorflow/lite/testdata/add_quantized.bin",
64             "tensorflow/lite/testdata/multi_signatures.bin"
65           ]
66         }
67       ]
68     },
69     {
70       "name": "CoreML",
71       "source_files": [
72         "tensorflow/lite/objc/{apis,sources}/TFLCoreMLDelegate.{h,m}"
73       ],
74       "platforms": {
75         "ios": "12.0"
76       },
77       "dependencies": {
78         "LiteRTC/CoreML": [
79           "0.0.1-nightly.20241114"
80         ],
81         "LiteRTObjC/Core": [
82           "0.0.1-nightly.20241114"
83         ],
84         "LiteRTObjC/Privacy": [
85           "0.0.1-nightly.20241114"
86         ]
87       },
88       "testspecs": [
89         {
90           "name": "Tests",
91           "test_type": "unit",
92           "source_files": "tensorflow/lite/objc/tests/TFLCoreMLDelegateTests.m",
93           "resources": [
94             "tensorflow/lite/testdata/add.bin"
95           ]
96         }
97       ]
98     },
99     {
100       "name": "Metal",
101       "source_files": [
102         "tensorflow/lite/objc/{apis,sources}/TFLMetalDelegate.{h,m}"
103       ],
104       "dependencies": {
105         "LiteRTC/Metal": [
106           "0.0.1-nightly.20241114"
107         ],
108         "LiteRTObjC/Core": [
109           "0.0.1-nightly.20241114"
110         ],
111         "LiteRTObjC/Privacy": [
112           "0.0.1-nightly.20241114"
113         ]
114       },
115       "testspecs": [
116         {
117           "name": "Tests",
118           "test_type": "unit",
119           "source_files": "tensorflow/lite/objc/tests/TFLMetalDelegateTests.m",
120           "resources": [
121             "tensorflow/lite/testdata/multi_add.bin"
122           ]
123         }
124       ]
125     }
126   ]