fix: fixing AudioManger so it builds#4
fix: fixing AudioManger so it builds#4mortocks wants to merge 1 commit intoChristopherGabba:mainfrom
Conversation
mortocks
commented
Mar 9, 2026
- removed trailing commas from function calls which makes builds fail
- fixed option enums
- removed trailing commas from function calls - fixed option enums
|
More context provided. When building for iOS you get the errors below. This seems to just be mostly trailing commas. It appears that XCode UI doesn't show these errors due to the editor using SourceKit which doesn't recognise the invalid swift...who knew. [RUN_FASTLANE] 179 | type: type,
[RUN_FASTLANE] 206 | currentRoute: currentRouteDescription,
[RUN_FASTLANE] 569 | )
[RUN_FASTLANE] 953 | result.append(.duckothers)
|
| ) | ||
| } | ||
| options.insert(.allowBluetoothHFP) | ||
| options.insert(.allowBluetooth) |
There was a problem hiding this comment.
Allow Bluetooth is depcrecated:
https://developer.apple.com/documentation/avfaudio/avaudiosession/categoryoptions-swift.struct
What version of xcode and swift are you building with?
|
@mortocks can you share what Xcode and swift version you are building with? I don't have any compilation errors here and you replaced BluetoothHFP with bluetooth and bluetooth has been deprecated: I suspect you are using an older version of xcode or swift, but I'm not positive. |