Skip to content

Conversation

@malkovitc
Copy link

Summary

Fix iOS Simulator build failure caused by allowBluetoothHFP not being available on simulator.

Changes:

  • Add #if targetEnvironment(simulator) conditional compilation
  • Exclude allowBluetoothHFP option when building for iOS Simulator
  • Keep allowBluetoothHFP for device builds to maintain Bluetooth HFP support

Test plan

  • Build succeeds on iOS Simulator
  • Voice recording works on iOS Simulator
  • Voice recording with Bluetooth HFP works on physical device

allowBluetoothHFP is not available on iOS Simulator, causing build
failures. Use conditional compilation to exclude this option when
building for simulator while keeping it for device builds.
@malkovitc malkovitc closed this by deleting the head repository Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant