-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathYHNetSDK.podspec
41 lines (22 loc) · 1.18 KB
/
YHNetSDK.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
Pod::Spec.new do |s|
s.name = "YHNetSDK"
s.version = "0.1.1.2"
s.summary = "YHNetSDK is only a net sdk"
s.description = "YHNetSDK is only a base net sdk, we need pod thirdparty: AFNetworking"
s.homepage = "https://github.com/XmYlzYhkj/YHNetSDK.git"
s.license = "MIT"
s.author = { "jagtu" => "[email protected]" }
s.platform = :ios, "9.0"
s.ios.deployment_target = '9.0'
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.user_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => '$(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)__XCODE_$(XCODE_VERSION_MAJOR))',
'EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200' => 'arm64 arm64e armv7 armv7s armv6 armv8'
}
s.source = { :git => "https://gitlab.ylzpay.com/ios/ios_component/YHNetSDK.git", :tag => s.version.to_s }
s.source_files = "YHNetSDK/Classes/*"
s.requires_arc = true
#s.dependency "Reachability"
s.dependency "AFNetworking",'~> 4.0'
#s.vendored_frameworks = ["Framework/*.framework"]
end