forked from shaqian/tflite-react-native
-
Notifications
You must be signed in to change notification settings - Fork 9
/
tflite-react-native.podspec
25 lines (21 loc) · 974 Bytes
/
tflite-react-native.podspec
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
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = package['name']
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "9.0"
# s.source = { :git => "https://github.com/shaqian/tflite-react-native.git", :tag => "master" }
s.source = { :git => '' }
s.source_files = "ios/**/*.{h,m,mm}"
s.dependency 'React'
s.dependency 'TensorFlowLite', '~> 1.13.1'
s.requires_arc = true
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => "'${SRCROOT}/TensorFlowLite/Frameworks/tensorflow_lite.framework/Headers'",
'OTHER_LDFLAGS' => "-force_load '${SRCROOT}/TensorFlowLite/Frameworks/tensorflow_lite.framework/tensorflow_lite' '-L ${SRCROOT}/TensorFlowLite/Frameworks/tensorflow_lite.framework'"
}
end