-
Notifications
You must be signed in to change notification settings - Fork 0
/
UPCore.podspec
88 lines (58 loc) · 3.47 KB
/
UPCore.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#
# Be sure to run `pod spec lint UPCore.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see https://guides.cocoapods.org/syntax/podspec.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |spec|
spec.name = "UPCore"
spec.version = "0.0.1"
spec.summary = "UPCore, UPYUN SDK Lib"
spec.description = "UPCore, UPYUN SDK Lib"
spec.homepage = "https://www.upyun.com/"
spec.license = { :type => 'Commercial', :text => '© 2022 杭州又拍云科技有限公司' }
spec.author = { "UPYUN" => "[email protected]" }
spec.platform = :ios, "11.0"
spec.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '$(inherited) -ObjC', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64', 'VALID_ARCHS' => 'arm64'}
spec.user_target_xcconfig = {'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
spec.source = { :git => "https://github.com/upyun/UPCore.git", :tag => "#{spec.version}" }
spec.frameworks = 'AudioToolbox', 'MediaPlayer'
spec.libraries = 'c++', 'resolv', 'iconv', 'z.1.2.5', 'resolv.9'
spec.requires_arc = true
# spec.xcconfig = {
# 'VALID_ARCHS' => 'arm64',
# }
# spec.subspec 'Core' do |core|
# core.vendored_frameworks = ["TuSDKPulseEva.framework", "TuSDKPulseCore.framework", "TuSDKPulse.framework", "TuSDK.framework", "TuSDKFace.framework", "TuSDKVideo.framework", "libyuv.framework"]
# end
spec.vendored_frameworks = ["TuSDKPulseEva.framework", "TuSDKPulseCore.framework", "TuSDKPulse.framework", "TuSDK.framework", "TuSDKFace.framework", "TuSDKVideo.framework", "libyuv.framework"]
# spec.static_framework = true
# spec.public_header_files = "Classes/**/*.h"
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# A list of resources included with the Pod. These are copied into the
# target bundle with a build phase script. Anything else will be cleaned.
# You can preserve files from being cleaned, please don't preserve
# non-essential files like tests, examples and documentation.
#
# spec.resource = "icon.png"
# spec.resources = "Resources/*.png"
# spec.preserve_paths = "FilesToSave", "MoreFilesToSave"
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# Link your library with frameworks, or libraries. Libraries do not include
# the lib prefix of their name.
#
# spec.framework = "SomeFramework"
# spec.frameworks = "SomeFramework", "AnotherFramework"
# spec.library = "iconv"
# spec.libraries = "iconv", "xml2"
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# If your library depends on compiler flags you can set them in the xcconfig hash
# where they will only apply to your library. If you depend on other Podspecs
# you can include multiple dependencies to ensure it works.
# spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
# spec.dependency "JSONKit", "~> 1.4"
end