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.
38 lines
1.3 KiB
38 lines
1.3 KiB
Pod::Spec.new do |s|
|
|
s.name = 'device_jieli'
|
|
s.version = '0.0.1'
|
|
s.summary = 'JieLi Home SDK Flutter plugin (iOS).'
|
|
s.description = <<-DESC
|
|
JieLi (杰理) device plugin — iOS counterpart of the Android implementation under
|
|
android/src/main/kotlin/com/jielihome/jielihome.
|
|
DESC
|
|
s.homepage = 'https://example.com'
|
|
s.license = { :type => 'MIT', :file => '../LICENSE' }
|
|
s.author = { 'AI Agent' => 'liwei1dao@gmail.com' }
|
|
s.source = { :path => '.' }
|
|
s.source_files = 'Classes/**/*.{h,m,swift}'
|
|
s.dependency 'Flutter'
|
|
s.dependency 'device_plugin_interface'
|
|
s.platform = :ios, '12.0'
|
|
s.swift_version = '5.0'
|
|
|
|
s.vendored_frameworks = [
|
|
'Frameworks/JL_BLEKit.xcframework',
|
|
'Frameworks/JL_OTALib.xcframework',
|
|
'Frameworks/JL_AdvParse.xcframework',
|
|
'Frameworks/JL_HashPair.xcframework',
|
|
'Frameworks/JLLogHelper.xcframework',
|
|
'Frameworks/JLAudioUnitKit.xcframework',
|
|
'Frameworks/JLAV2Lib.framework'
|
|
]
|
|
|
|
s.frameworks = 'CoreBluetooth', 'AVFoundation', 'UIKit', 'Foundation'
|
|
|
|
s.pod_target_xcconfig = {
|
|
'DEFINES_MODULE' => 'YES',
|
|
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
|
|
# JieLi's xcframeworks ship Obj-C headers; expose them to Swift via the
|
|
# generated module map.
|
|
'CLANG_ENABLE_MODULES' => 'YES'
|
|
}
|
|
end
|
|
|