Xcode Simulator m1 - can't pick images

Hi,

can anybody confirm that there are a problem with the image picker on Xcode 12.4 / Sim 12.4 on the new apple silicon MacBook m1?

Best,
Dominik
Answered by Engineer in 704488022

This is resolved in latest Xcode (81553152).

I'm also experiencing that issue right now, hoping for a workaround for this issue.
I am also facing same issue. I am trying to use FlutterImagePicker.
App works fine till navigating to gallery.
But when I click on image to select it, nothing happens.
Same code works perfectly fine on windows machine.
I guess it works fine on Intel mac's.
Having the same issue as theomkale. Gallery opens with image_picker but when clicking on the image nothing happens.
Yeah, seems like an issue with the M1 Macs. In my Intel machine, doesn't happen. Both devices are running Xcode 12.4
Also having this issue on my M1 simulator when using react-native-image-picker library.
Wondering if anyone found a workaround for this yet?
Hello Apple- Please wakeup.

I was expecting this issue gets resolved in macOS Big Sur V 11.3.
But, it's a BIG disappointment. No fix for this issue.....
Wakeup Apple .....
Facing the same issue. I thought upgrading my xcode to version 12.5 would fix it, but it didnt 😕
Xcode 12.5, iOS simulator 14.5, macmini with M1. Cannot attach any file from emulator
Same issue herre, Apple doesn't respond.

Apple doesn't respond.

Where are you expecting Apple to respond? Here on DevForums? Or via one of our formal support channels?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
I removed "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; from Build settings and it works now

Yes this seems to be very likely a problem with the M1. A simple and effective workaround is to install iOS 13.7 simulator, if your project supports iOS 13. On this simulator the Image picker works, also a different issue (copy/paste) works on this simulator on Apple M1 silicon. The issue appears on iOS 14 and higher. See a good discussion here

It's Jun and still not fixed?

I am having the same issue with the m1 mac.

Same issue here. Unable to "choose" an image from the gallery. M1 MacBook Pro.

yes. I have same problem on m1. İ've tried to run with intel chipset mac, it runned performantly, but when I swıtched to MacM1 ,same code that contains image ui picker , doesn't work on M1 chipset. i dont understand why there is no response or no comments from Apple or Xcode !!

Can confirm, issue on xcode 12.5.1, ios 14.5 + big sur 11.5.1. Intel mac minis on same setup have no issue, all m1s unable to save image in simulators (or react at all to picked images).

Can also confirm that this is not an issue on Xcode 12.5.1 and iOS 14.1 and iOS 14.4 (didn't test interim versions), but is an issue on iOS 14.5

In my case I was using flutter and simulator on M1 MacBook Air. I also could not run image picker.

But flowing this article and added code below to info.plist solve my ploblem.

https://stackoverflow.com/questions/67715972/flutter-image-picker-not-working-in-ios-14-with-mac-m1-chip-simulator

<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>

Spec:
Simulator iOS 14.5
Xcode 12.5.1
Flutter 2.2.3

Hope this help.

This issue is fixed in iPhone 13 (IOS 15.0) simulator on M1 chip.

I was just able to fix this problem. I'm on an M1 MacBook Air.

I upgraded to Monterey, but that didn't fix it. Then I installed Xcode 13, which uses iPhone 13 as the default phone for emulation, and it started working. I'm not sure if it was the Xcode upgrade or using the iPhone 13 that did the trick.

This is resolved in latest Xcode (81553152).

Thank you for the confirmation that issue is resolved in latest Xcode (81553152).

Using MAC Studio running Montery 12.3.1 XCode 13.3.1 Still having image issues with simulators that target iOS newer than 13.7.

Actual error displayed when image render is attempted:

[db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4014b70c 8322afc9 dfb06ed8 13148b48 ... b6adae0d b2637192 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x073253e6 9a9b67cc 089d6640 ca4fdb3e ... 46b00d8b bca98999 }}

For me, image rendering error above occurs when rendering an image within a UITtextView following an HTML attributedString conversion.

Everything works fine when using simulator targeting iOS 13.7 or earlier OR an an actual hardware device. Also - everything works fine on my NON M1 Macs.

For now I'm developing using simulator targeting iOS 13.7 - then testing pre-release on actual device running 14 and higher. Important to test pre-release on actual hardware anyway but it would certainly be nice if Apple could resolve this so I didn't have to fall back to the simulators targeting iOS 13.7.

Xcode Simulator m1 - can't pick images
 
 
Q