# # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. # Run `pod lib lint bluetooth_manager.podspec` to validate before publishing. # Pod::Spec.new do |s| s.name = 'bluetooth_manager' s.version = '0.0.1' s.summary = 'A new Flutter project.' s.description = <<-DESC A new Flutter project. DESC s.homepage = 'http://example.com' s.license = { :file => '../LICENSE' } s.author = { 'Your Company' => 'email@example.com' } s.source = { :path => '.' } # Swift sources s.source_files = [ 'bluetooth_manager/Sources/bluetooth_manager/**/*.swift', # iOS C codec wrappers 'bluetooth_manager/Sources/bluetooth_manager_c/*.{h,c}', # G722 codec C sources (acodec_g722) 'bluetooth_manager/Sources/acodec_g722/g722codec/*.{h,c}', # MSBC/SBC codec C sources (copied into ios/ so CocoaPods can resolve them) 'bluetooth_manager/Sources/sbc_codec/*.{h,c}', ] # Only expose the iOS C wrapper headers to Swift (via the umbrella header) s.public_header_files = [ 'bluetooth_manager/Sources/bluetooth_manager_c/g722_ios.h', 'bluetooth_manager/Sources/bluetooth_manager_c/msbc_ios.h', ] s.dependency 'Flutter' s.platform = :ios, '13.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386', # Header search paths so acodec.h / sbc.h / bits.h can be found by the C wrappers 'HEADER_SEARCH_PATHS' => [ '$(PODS_TARGET_SRCROOT)/bluetooth_manager/Sources/acodec_g722/g722codec', '$(PODS_TARGET_SRCROOT)/bluetooth_manager/Sources/sbc_codec', '$(PODS_TARGET_SRCROOT)/bluetooth_manager/Sources/bluetooth_manager_c', ].join(' '), } s.swift_version = '5.0' end