-
Notifications
You must be signed in to change notification settings - Fork 0
/
LBMusicPlayer.podspec
58 lines (44 loc) · 1.76 KB
/
LBMusicPlayer.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
Pod::Spec.new do |s|
s.name = "LBMusicPlayer"
s.version = "0.1.2"
s.summary = "LBMusicPlayer"
s.description = <<-DESC
AVPlayer 播放和录音
DESC
s.homepage = "https://github.com/huangxianyu/LBMusicPlayer"
s.license = "MIT"
s.author = { "huangxianyu" => "[email protected]" }
s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/huangxianyu/LBMusicPlayer.git", :tag => "#{s.version}" }
#s.source_files = "Classes/LBMusicPlayer.h"
#s.public_header_files = "Classes/LBMusicPlayer.h"
#s.resource = "LBMusicPlayer/Assets.xcassets"
s.static_framework = true
s.requires_arc = true
#s.dependency 'AFNetworking'
s.subspec 'MusicPlayer' do |ss|
ss.source_files = "Classes/MusicPlayer/**/*.{h,m}"
ss.public_header_files = "Classes/MusicPlayer/**/*.h"
end
s.subspec 'AudioRecord' do |ss|
ss.source_files = "Classes", "Classes/AudioRecord/**/*.{h,m}"
ss.public_header_files = "Classes", "Classes/AudioRecord/**/*.h"
end
s.subspec 'MusicPlayerUI' do |ss|
ss.source_files = "Classes", "Classes/MusicPlayerUI/**/*.{h,m}"
ss.public_header_files = "Classes", "Classes/MusicPlayerUI/**/*.h"
#ss.resource = "Classes/MusicPlayerUI/Resources/LBMusicPlayer.bundle"
ss.resource_bundles = {
'LBMusicPlayer' => ['Classes/MusicPlayerUI/Resources/LBMusicPlayer.bundle']
}
ss.dependency 'LBMusicPlayer/MusicPlayer'
ss.dependency 'Masonry', '~> 1.1.0'
# ss.pod_target_xcconfig = {
# "OTHER_LDFLAGS" => "$(inherited) -ObjC -all_load"
# }
end
# target 项⽬目配置 如果有分类加上
s.xcconfig = {
"OTHER_LDFLAGS" => "$(inherited) -ObjC -all_load"
}
end