forked from pauldemarco/flutter_blue
-
Notifications
You must be signed in to change notification settings - Fork 1
/
flutter_blue.podspec
33 lines (31 loc) · 1.18 KB
/
flutter_blue.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
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint flutter_blue.podspec' to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'flutter_blue'
s.version = '0.0.1'
s.summary = 'Bluetooth Low Energy plugin for Flutter.'
s.description = <<-DESC
Bluetooth Low Energy plugin for Flutter.
DESC
s.homepage = 'https://github.com/pauldemarco/flutter_blue'
s.license = { :file => '../LICENSE' }
s.author = { 'Paul DeMarco' => 'paulmdemarco@gmail.com' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*', 'gen/**/*'
s.public_header_files = 'Classes/**/*.h', 'gen/**/*.h'
s.dependency 'FlutterMacOS'
s.platform = :osx, '10.13'
s.framework = 'CoreBluetooth'
s.subspec "Protos" do |ss|
ss.source_files = "gen/*.pbobjc.{h,m}", "gen/**/*.pbobjc.{h,m}"
ss.header_mappings_dir = "gen"
ss.requires_arc = false
ss.dependency "Protobuf", '~> 3.11.4'
end
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1',
}
end