Module 'audio_session' not found
Could not build the precompiled application for the device. Parse Issue (Xcode): Module 'audio_session' not found /Users/apple/Desktop/study/huixiang-app/ios/Runner/GeneratedPluginRegistrant.m:11:8
What is your flutter doctor output?
What is your flutter doctor output?
apple@appledeMacBook-Air ios % flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.27.1, on macOS 15.2 24C101 darwin-arm64, locale zh-Hans-CN) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [✓] Xcode - develop for iOS and macOS (Xcode 16.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.2) [✓] Connected device (5 available) ! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) ! Error: Browsing on the local area network for 星星的iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources
• No issues found!
What is your flutter doctor output?
I introduced audio_session into the flutter project. After running the iOS part of flutter run, this error message was prompted. Then I downloaded the source code of audio_session and ran it. This error message was still reported.