-
Notifications
You must be signed in to change notification settings - Fork 31
/
TikTokOpenAuthSDK.podspec
50 lines (44 loc) · 1.71 KB
/
TikTokOpenAuthSDK.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# Copyright 2022 TikTok Pte. Ltd.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
#
# Be sure to run `pod lib lint TikTokOpenAuthSDK.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|
s.name = 'TikTokOpenAuthSDK'
s.version = '2.5.0'
s.summary = 'TikTok OpenSDK Authorization'
s.description = <<-DESC
This is TikTok OpenSDK authorization.
DESC
s.homepage = 'https://github.com/tiktok/tiktok-opensdk-ios'
s.license = { :file => 'LICENSE' }
s.author = { 'TikTok OpenPlatform' => '[email protected]' }
s.source = { :git => 'https://github.com/tiktok/tiktok-opensdk-ios.git', :tag => "v#{s.version.to_s}" }
s.ios.deployment_target = '12.0'
s.pod_target_xcconfig = {
'GCC_PRECOMPILE_PREFIX_HEADER' => "NO",
'DEBUG_INFORMATION_FORMAT' => "DWARF with dSYM",
'CLANG_ENABLE_MODULES' => "YES",
'GCC_GENERATE_DEBUGGING_SYMBOLS' => "YES"
}
s.default_subspecs = 'Auth'
s.frameworks = 'UIKit', 'Foundation','WebKit'
s.swift_version = '5.0'
s.dependency 'TikTokOpenSDKCore', "#{s.version}"
s.subspec "Auth" do |ss|
ss.source_files = 'Sources/TikTokOpenAuthSDK/**/*.swift'
ss.resource_bundles = {'TikTokOpenAuthSDKPrivacyInfo' => 'Sources/TikTokOpenSDKCore/Resources/PrivacyInfo.xcprivacy' }
end
s.test_spec 'UnitTests' do |ts|
ts.requires_app_host = true
ts.source_files = 'Tests/TikTokOpenAuthSDKTests/**/*.swift'
end
end