module 'audio_session' not found
I am facing this issue in IOS when I build with platform below 12.0. It works fine when I build with 12.0 or greater
You might find some helpful information on https://github.com/ryanheise/just_audio/issues/572
@ryanheise so It will work on higher minimum deployment target only?
I don't know since you've given me little detail on this issue. Is this issue the same as the one I linked to?
No it's not the same. My thing is Flutter app is not building for IOS platform below 12.
It just shows me an error module 'audio_session' not found when I build with IOS platform 9.0.
Can you provide complete details? E.g. full output and environment.
I ran into this error today, bumping IPHONEOS_DEPLOYMENT_TARGET to 12.0 does fix it. What's interesting is flutter run works but flutter build fails. Since my app is quite big with lots of dependency, I'll try to find a minimal reproduce sample and report back if possible.
I have a repro here https://github.com/daohoangson/flutter-audio_session-issue52.
@daohoangson I ran your reproduction project and got no errors.
FYI, my software versions for your own comparison:
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.4 21F79 darwin-x64, locale
en-AU)
[✗] Android toolchain - develop for Android devices
✗ ANDROID_HOME = /Users/ryan/opt/android-sdk
but Android SDK not found at this location.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
Me too
@daohoangson I ran your reproduction project and got no errors.
Me too
Shall I close the issue?