audio_session icon indicating copy to clipboard operation
audio_session copied to clipboard

module 'audio_session' not found

Open mynk070 opened this issue 4 years ago • 11 comments

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

mynk070 avatar Jan 22 '22 13:01 mynk070

You might find some helpful information on https://github.com/ryanheise/just_audio/issues/572

ryanheise avatar Jan 22 '22 14:01 ryanheise

@ryanheise so It will work on higher minimum deployment target only?

mynk070 avatar Jan 24 '22 10:01 mynk070

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?

ryanheise avatar Jan 24 '22 11:01 ryanheise

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.

mynk070 avatar Jan 24 '22 11:01 mynk070

Can you provide complete details? E.g. full output and environment.

ryanheise avatar Jan 24 '22 12:01 ryanheise

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.

daohoangson avatar Apr 02 '22 21:04 daohoangson

I have a repro here https://github.com/daohoangson/flutter-audio_session-issue52.

daohoangson avatar Apr 03 '22 02:04 daohoangson

@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

ryanheise avatar May 27 '22 16:05 ryanheise

Me too

M2dL1fe avatar Jul 01 '22 03:07 M2dL1fe

@daohoangson I ran your reproduction project and got no errors.

Me too

Shall I close the issue?

ryanheise avatar Jul 01 '22 03:07 ryanheise