-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathflutter_libtdjson.podspec
More file actions
26 lines (23 loc) · 1.21 KB
/
Copy pathflutter_libtdjson.podspec
File metadata and controls
26 lines (23 loc) · 1.21 KB
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
#
# Be sure to run `pod lib lint libtdjson.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
_VERSION = ENV['GITHUB_REF']&.start_with?("refs/tags") ? ENV['GITHUB_REF'].sub(/^refs\/tags\/v/, '') : '0.1.0'
s.name = 'flutter_libtdjson'
s.version = _VERSION
s.summary = 'It\'s same as pod `libtdjson`, just for preventing name conflict'
s.homepage = 'https://github.com/up9cloud/ios-libtdjson'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'up9cloud' => '8325632+up9cloud@users.noreply.github.com' }
s.source = { :http => "https://github.com/up9cloud/ios-libtdjson/releases/download/v#{_VERSION}/cocoapod.tar.gz" }
# See libtdjson.podspec for details on what these ship.
s.osx.vendored_frameworks = 'libtdjson.xcframework'
s.ios.vendored_frameworks = 'libtdjson-static.xcframework'
s.preserve_paths = ['libtdjson.xcframework', 'libtdjson-static.xcframework']
s.osx.deployment_target = '10.13'
s.ios.deployment_target = '12.0'
end