-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflutter_pytorch_lite.podspec
27 lines (26 loc) · 1.15 KB
/
flutter_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
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint flutter_pytorch_lite.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'flutter_pytorch_lite'
s.version = '0.0.1'
s.summary = 'PyTorch Lite plugin for Flutter.'
s.description = <<-DESC
PyTorch Lite plugin for Flutter.
DESC
s.homepage = 'https://github.com/winfordguo/flutter_pytorch_lite'
s.license = { :file => '../LICENSE' }
s.author = { 'Winford' => '[email protected]' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.static_framework = true
s.dependency 'Flutter'
# Pytorch Lite
s.dependency 'LibTorch-Lite', '~> 1.13.0.1'
s.platform = :ios, '12.0'
# Flutter.framework does not contain a i386 slice.
#s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386', 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/LibTorch-Lite/install/include"' }
s.swift_version = '5.0'
end