Description
Hi!
I've compiled a project for iOS (aarch64-apple-ios) in release mode. It compiles and runs on macOS, and without rodio the app runs fine on both iPhone and iPad. (iOS 18.1.1 and iOS 17.6.1 respectively)
However, even if rodio compiles and links successfully for the iOS target, when I run I get BuildStreamError(StreamConfigNotSupported)
I'm calling
let output = rodio::OutputStreamBuilder::open_default_stream().unwrap();
and using the latest commit on HEAD of the git repo as the version (70d01da)
the project is compiled as a static library and included as a library to link with in Xcode. Initially Xcode complained that it couldn't find some symbols like _AudioComponentFindNext
and _AudioUnitUninitialize
and some more, but it went away when I explicitly added the AudioToolbox.framework
as a linked library as well.
I get the same error in debug mode as well, and also if I try on the simulator with aarch64-apple-ios-sim target
How may I assist in debugging this?