Skip to content

Image picker tests testPickingFromGallery, testPickingWithContraintsFromGallery, and testSelectingFromGallery failed on iOS 18 beta 1 #150220

Closed
flutter/packages
#7325
@rzambroni

Description

@rzambroni

Steps to reproduce

*Steps to Reproduce:

  1. Install XCode 16.0 Beta 1 and iOS 18.0 Simulator.
  2. Clone the Flutter packages repository: git clone https://github.com/flutter/packages
  3. Open the example iOS directory on XCode: packages/image_picker/image_picker_ios/example/ios
  4. Select Flutter master version (3.23.0-13.0.pre.188) or stable (3.22.2)
  5. Run the tests using the XCode test view and selecting some simulator with iOS 18.0

image

Expected results

The mentioned tests were previously succeeding. Please note that we are currently testing with Xcode 16 Beta 1, which includes the iOS 18 simulator, and this might be breaking the tests.

Actual results

The following test case fails:

image

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
testPickingFromGallery: failed - Failed due to not able to find an image with 30 seconds

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale en-UY)
    • Flutter version 3.22.2 on channel stable at /Users/qa/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (6 days ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc4)
    • Android SDK at /Users/qa/Library/Android/sdk
    • Platform android-34, build-tools 35.0.0-rc4
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Build 16A5171c
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)

[✓] VS Code (version 1.87.2)
    • VS Code at /Users/qa/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listfrom: manual-qaIssue caught from manual QA processp: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.team-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions