Closed
Description
Steps to reproduce
- Add image_picker: ^1.1.1 to pubspec.yaml
- flutter clean
- flutter pub get
- cd ios
- rm -rf Pods Podfile.lock
- pod cache clean --allpod
- pod install
- flutter run
Expected results
Application build successfully and opening the app
Actual results
Lexical or Preprocessor Issue (Xcode): Redefinition of module 'image_picker_ios' /Users/user/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.11+1/ios/image_picker_ios/Sources/image_picker_ios/include/module.modulemap:0:7
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.0, on macOS 12.7.4 21H1123 darwin-x64, locale en-IT)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[!] Xcode - develop for iOS and macOS (Xcode 14.2)
! Flutter recommends a minimum Xcode version of 15.
Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[!] Android Studio (version unknown)
✗ Unable to determine Android Studio version.
[✓] VS Code (version 1.86.1)
[✓] Connected device (4 available)
[✓] Network resources
! Doctor found issues in 3 categories.
Metadata
Metadata
Assignees
Labels
Found to occur in 3.22The issue has been confirmed reproducible and is ready to work onThe Image Picker plugin.flutter/packages repository. See also p: labels.iOS applications specifically"xcodebuild" on iOS and general Xcode project managementOwned by iOS platform teamThe Flutter team cannot make further progress on this issue until the original reporter responds