Flutter image picker not working in ios 14 with Mac M1 chip simulator

1,527

Solution 1

Try upgrading to Xcode 13.1. It worked for me.

Solution 2

Thats bug on m1 silicon you have to downgrade your simulator iOS 13.7 https://developer.apple.com/forums/thread/110911

Solution 3

add this to your info.plist

 <key>NSPhotoLibraryUsageDescription</key>
    <string>Need to upload image</string>
    <key>NSCameraUsageDescription</key>
    <string>Need to upload image</string>
    <key>NSMicrophoneUsageDescription</key>
    <string>Need to upload image</string>
Share:
1,527
Graycodder
Author by

Graycodder

Updated on November 23, 2022

Comments

  • Graycodder
    Graycodder over 1 year

    Image picker appears with list of images , but cannot pick an image from list. I have already added camera permission to plist file. It working in real device with ios 12.6. I am using ios 14 simulator in Mac M1 machine.