-
Notifications
You must be signed in to change notification settings - Fork 25
/
pytorch_lite.podspec
34 lines (30 loc) · 1.11 KB
/
pytorch_lite.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
30
31
32
33
34
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint pytorch_lite.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'pytorch_lite'
s.version = '0.0.1'
s.summary = 'A new Flutter plugin project.'
s.description = <<-DESC
A new Flutter plugin project.
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, '9.0'
# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
'HEADER_SEARCH_PATHS' => '$(inherited) "${PODS_ROOT}/LibTorch/install/include" '
}
s.swift_version = '5.0'
s.static_framework = true
s.dependency 'LibTorch', '~> 1.13.0.1'
# Add OpenCV dep from cocoapods and update min ios ver to 11
s.dependency 'OpenCV', '4.3.0'
end