This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathBaiduMap.podspec
65 lines (54 loc) · 2.31 KB
/
BaiduMap.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
Pod::Spec.new do |s|
s.name = 'BaiduMap'
s.version = '2.8.1'
s.summary = 'The iOS SDK for Baidu Map.'
s.homepage = 'https://github.com/jcccn/Baidu-Map-SDK-iOS'
s.author = { 'Chuncheng Jiang' => '[email protected]' }
s.license = { :type => 'Copyright', :text => <<-LICENSE
©2015 Baidu
LICENSE
}
s.source = { :git => 'https://github.com/jcccn/Baidu-Map-SDK-iOS.git', :tag => '2.8.1' }
s.platform = :ios, '5.0'
s.frameworks = "UIKit", "CoreLocation", "QuartzCore", "OpenGLES", "SystemConfiguration", "CoreGraphics", "Security"
s.libraries = 'stdc++'
s.xcconfig = { 'OTHER_LDFLAGS' => '-lObjC' }
s.requires_arc = true
s.default_subspec = 'All'
### 子模块
# 完整功能的SDK
s.subspec 'All' do |alls|
alls.requires_arc = true
alls.vendored_frameworks = 'BaiduMap/Frameworks/BaiduMapAPI.framework'
end
# 基础地图(包括矢量图/卫星图显示、操作及各种地图覆盖物)
s.subspec 'BaseMap' do |basemaps|
basemaps.requires_arc = true
basemaps.vendored_frameworks = 'BaiduMap/Frameworks/BaiduMapAPIBaseMap.framework'
end
# 检索功能(包括POI检索、地理编码、线路规划等功能)
s.subspec 'Search' do |searchs|
searchs.requires_arc = true
searchs.vendored_frameworks = 'BaiduMap/Frameworks/BaiduMapAPISearch.framework'
end
# LBS云检索(支持检索用户LBS云内的自有数据)
s.subspec 'CloudSearch' do |cloudsearchs|
cloudsearchs.requires_arc = true
cloudsearchs.vendored_frameworks = 'BaiduMap/Frameworks/BaiduMapAPICloudSearch.framework'
end
# 定位功能(提供便捷接口,获取当前位置信息)
s.subspec 'Location' do |locations|
locations.requires_arc = true
locations.vendored_frameworks = 'BaiduMap/Frameworks/BaiduMapAPILocation.framework'
end
# 计算工具(包括计算距离、坐标转化、调启导航等能力)
s.subspec 'Utils' do |utilss|
utilss.requires_arc = true
utilss.vendored_frameworks = 'BaiduMap/Frameworks/BaiduMapAPIUtils.framework'
end
# 周边雷达(位置信息上传和检索周边相同应用的用户位置信息功能)
s.subspec 'Radar' do |radars|
radars.requires_arc = true
radars.vendored_frameworks = 'BaiduMap/Frameworks/BaiduMapAPIRadar.framework'
end
end