-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathLeBlue.podspec
48 lines (40 loc) · 1.55 KB
/
LeBlue.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
#
# Be sure to run `pod lib lint LZPlotting.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = "LeBlue"
s.version = "1.0.0"
s.summary = "LeBlue."
s.description = <<-DESC
The LeBlue objective-c code.
DESC
s.homepage = "https://github.com/thoutbeckers/LeBlue"
s.license = 'Apache 2.0'
s.author = { "Jasper" => "[email protected]" }
s.source = { :git => "https://github.com/japervp/LeBlue.git", :tag => s.version.to_s }
s.ios.deployment_target = '8.3'
s.xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}/J2ObjC-Framework/Distributive/frameworks"',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/J2ObjC-Framework/Distributive/include"',
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'=> 'YES',
'OTHER_LDFLAGS' => '-lObjC -lstdc++'
}
s.dependency 'J2ObjC-Framework'
s.frameworks = 'Security', 'JRE','ProtobufRuntime'
s.default_subspecs = 'LeBlue', 'CoreBluetooth'
s.subspec "LeBlue" do |sp|
sp.source_files = "objc/generated/*.{h,m,mm,swift}"
sp.exclude_files = "objc/generated/*test.{h,m,mm,swift}"
sp.requires_arc = false
end
s.subspec "CoreBluetooth" do |sp|
sp.source_files = 'objc/CoreBluetooth'
sp.requires_arc = true
sp.dependency 'LeBlue/LeBlue'
end
end