Xcode warning on iOS SDK 26+:
'allowBluetooth' was deprecated in iOS 8.0: renamed to
'AVAudioSession.CategoryOptions.allowBluetoothHFP'
The flag was renamed in iOS 8 (a decade ago) but the old name has
been kept as a soft-deprecated alias. iOS 26 SDK finally emits the
warning, and -Werror builds would fail on it. Same semantics:
permit HFP-profile Bluetooth headsets as input + output. Kept
.allowBluetoothA2DP alongside for higher-quality output-only A2DP
devices.
flutter build ios --release --no-codesign: 10.7 s, Runner.app
30.0 MB.