Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'audio_session' not found #52

Open
mynk070 opened this issue Jan 22, 2022 · 11 comments
Open

module 'audio_session' not found #52

mynk070 opened this issue Jan 22, 2022 · 11 comments

Comments

@mynk070
Copy link

mynk070 commented Jan 22, 2022

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

@ryanheise
Copy link
Owner

You might find some helpful information on ryanheise/just_audio#572

@mynk070
Copy link
Author

mynk070 commented Jan 24, 2022

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

@ryanheise
Copy link
Owner

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?

@mynk070
Copy link
Author

mynk070 commented Jan 24, 2022

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.

@ryanheise
Copy link
Owner

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

@daohoangson
Copy link

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 added a commit to daohoangson/flutter-tinhte_demo that referenced this issue Apr 2, 2022
@daohoangson
Copy link

@ryanheise
Copy link
Owner

@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

@M2dL1fe
Copy link

M2dL1fe commented Jul 1, 2022

Me too

@ryanheise
Copy link
Owner

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

Me too

Shall I close the issue?

@tianxcode
Copy link

tianxcode commented Nov 7, 2024

It may be helpful when you follow these steps:

  1. In the example directory: rm -rf ios
  2. flutter clean
  3. flutter create --platforms=ios .
  4. flutter pub upgrade
  5. Run to the iOS emulator

More: I ran it fine on a real machine, but ran into the problem on the Xcode 16.1 emulator

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

No branches or pull requests

5 participants