You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
976 B
25 lines
976 B
#
|
|
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
|
|
#
|
|
Pod::Spec.new do |s|
|
|
s.name = 'ble_service'
|
|
s.version = '0.0.1'
|
|
s.summary = 'BLE服务插件,提供蓝牙扫描、连接和通信功能'
|
|
s.description = <<-DESC
|
|
BLE服务插件,提供蓝牙扫描、连接和通信功能,支持iOS 18+ AccessorySetupKit唤醒。
|
|
DESC
|
|
s.homepage = 'http://example.com'
|
|
s.license = { :file => '../LICENSE' }
|
|
s.author = { 'Your Company' => 'email@example.com' }
|
|
s.source = { :path => '.' }
|
|
s.source_files = 'Classes/**/*'
|
|
s.info_plist = {
|
|
'NSAccessorySetupKitSupports' => ['Bluetooth']
|
|
}
|
|
s.dependency 'Flutter'
|
|
s.platform = :ios, '18.0'
|
|
|
|
# Flutter.framework does not contain a i386 slice.
|
|
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
|
|
s.swift_version = '5.0'
|
|
end
|