-
Notifications
You must be signed in to change notification settings - Fork 350
/
tflite_flutter.podspec
29 lines (27 loc) · 1.18 KB
/
tflite_flutter.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
26
27
28
29
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint tflite_flutter_plugin.podspec' to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'tflite_flutter'
s.version = '0.1.0'
s.summary = 'TensorFlow Lite plugin for Flutter apps.'
s.description = <<-DESC
TensorFlow Lite plugin for Flutter apps.
DESC
s.homepage = 'http://example.com'
s.license = { :file => '../LICENSE' }
s.author = { 'Your Company' => 'email@example.com' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.platform = :ios, '8.0'
s.ios.vendored_frameworks = 'TensorFlowLiteC.framework'
s.ios.deployment_target = '9.0'
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
s.swift_version = '5.0'
s.library = 'c++'
# Fail early during build instead of not finding the library during runtime
s.xcconfig = { 'OTHER_LDFLAGS' => '-framework TensorFlowLiteC -all_load' }
end