This repository has been archived by the owner on May 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathAliyunSlsObjc.podspec
44 lines (35 loc) · 1.84 KB
/
AliyunSlsObjc.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
#
# Be sure to run `pod lib lint AliyunLogObjc.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 http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'AliyunSlsObjc'
s.version = '1.2.0'
s.summary = 'Aliyun Sls Log SDK for iOS'
s.description = <<-DESC
For the official Aliyun Sls SDK is written in Swift 2.3, it's improper for objc app to be packaged with the large Swift Core Lib and Swift Foundation Lib, about 30 Mb.
This SDK is mostly interpreted from the official one, but the quality of code has been improved compared with the unreasonable style in the original one.
DESC
s.homepage = 'https://github.com/lujiajing1126/AliyunLogObjc'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'lujiajing1126' => 'lujiajing1126@gmail.com' }
s.source = { :git => 'https://github.com/lujiajing1126/AliyunLogObjc.git', :tag => s.version.to_s }
s.ios.deployment_target = '8.0'
s.module_name = 'AliyunLogObjc'
s.header_dir = "AliyunLogObjc"
s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1' }
s.source_files = 'AliyunLogObjc/**/*.{h,m}'
s.exclude_files = 'AliyunLogObjc/**/*.pbobjc.{h,m}'
s.requires_arc = true
s.prepare_command = 'protoc -I "./AliyunLogObjc" --objc_out="./AliyunLogObjc/serde" "./AliyunLogObjc/sls.proto"'
s.subspec 'no-arc' do |sp|
sp.source_files = 'AliyunLogObjc/**/*.pbobjc.{h,m}'
sp.requires_arc = false
end
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
s.dependency 'Protobuf', '~> 3.13.0'
end