# mobileImagePicker crash

**URL:** <https://forum.xojo.com/t/mobileimagepicker-crash/84152>\
**Category:** iOS\
**Created:** [February 3, 2025, 11:46am UTC](https://forum.xojo.com/t/mobileimagepicker-crash/84152 "2025-02-03T11:46:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Herman\_Dubach](https://forum.xojo.com/letter_avatar_proxy/v4/letter/h/76d3ee/32.png) [@Herman\_Dubach](https://forum.xojo.com/u/Herman_Dubach)\
**Post date:** [February 3, 2025, 11:46am UTC](https://forum.xojo.com/t/mobileimagepicker-crash/84152/1 "2025-02-03T11:46:18Z")

</div>

When I try to access Photos with MobileImagePicker the app crashes.

---

<div class="post-metadata">

**Author:** ![Javier\_Menendez](https://forum.xojo.com/user_avatar/forum.xojo.com/javier_menendez/32/15692_2.png) [@Javier\_Menendez](https://forum.xojo.com/u/Javier_Menendez)\
**Post date:** [February 3, 2025, 12:25pm UTC](https://forum.xojo.com/t/mobileimagepicker-crash/84152/2 "2025-02-03T12:25:36Z")

</div>

Hi @Herman_Dubach,

Do you have “Photos Access” enabled under iOS \> Capabilities?

 ![Screenshot 2025-02-03 at 1.25.26 PM](https://forum.xojo.com/uploads/default/original/3X/7/d/7d883d291d62aa14c544c0ca9302a33837515fbf.png)

---

<div class="post-metadata">

**Author:** ![Herman\_Dubach](https://forum.xojo.com/letter_avatar_proxy/v4/letter/h/76d3ee/32.png) [@Herman\_Dubach](https://forum.xojo.com/u/Herman_Dubach)\
**Post date:** [February 3, 2025, 2:59pm UTC](https://forum.xojo.com/t/mobileimagepicker-crash/84152/3 "2025-02-03T14:59:17Z")

</div>

Thanks for your reaction. I don’t know where I can find this. My apps have access to Photos for years now, suddenly it doesn’t work anymore.

---

<div class="post-metadata">

**Author:** ![Anthony\_G\_Cyphers](https://forum.xojo.com/user_avatar/forum.xojo.com/anthony_g_cyphers/32/16862_2.png) [@Anthony\_G\_Cyphers](https://forum.xojo.com/u/Anthony_G_Cyphers)\
**Post date:** [February 3, 2025, 3:50pm UTC](https://forum.xojo.com/t/mobileimagepicker-crash/84152/4 "2025-02-03T15:50:16Z")

</div>

Select iOS under Build Settings in the project navigator

 ![image](https://forum.xojo.com/uploads/default/original/3X/2/b/2b1cefe79fa70c84b5a3666a86522eb4e692a118.png)

In the inspector, click the gear icon in the segmented button at the top:

 ![image](https://forum.xojo.com/uploads/default/original/3X/e/7/e7d6c92c7c6059135b9211168fd54c32f6d7506f.jpeg)

---

<div class="post-metadata">

**Author:** ![Herman\_Dubach](https://forum.xojo.com/letter_avatar_proxy/v4/letter/h/76d3ee/32.png) [@Herman\_Dubach](https://forum.xojo.com/u/Herman_Dubach)\
**Post date:** [February 3, 2025, 3:54pm UTC](https://forum.xojo.com/t/mobileimagepicker-crash/84152/5 "2025-02-03T15:54:54Z")

</div>

How easy. Thanks.

---

<div class="post-metadata">

**Author:** ![Jeff\_Tullin](https://forum.xojo.com/user_avatar/forum.xojo.com/jeff_tullin/32/693_2.png) [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Post date:** [June 14, 2026, 10:27am UTC](https://forum.xojo.com/t/mobileimagepicker-crash/84152/6 "2026-06-14T10:27:13Z")

</div>

Some of my users are reporting the same, despite having this permission set in the plist

I have exception handling turned on, but the app just dies. Only for some people, and works fine in simulator.

What else can I check?

---

<div class="post-metadata">

**Author:** ![Jeremie\_L](https://forum.xojo.com/user_avatar/forum.xojo.com/jeremie_l/32/150_2.png) [@Jeremie\_L](https://forum.xojo.com/u/Jeremie_L)\
**Post date:** [June 14, 2026, 1:06pm UTC](https://forum.xojo.com/t/mobileimagepicker-crash/84152/7 "2026-06-14T13:06:24Z")

</div>

Hi Jeff,

I recently discovered two crashes when using MobileImagePicker.

The first one happens when switching from `Source.Photos` to `Source.Camera`. If your app uses the same ImagePicker for both photos and camera, I would advise having one distinct ImagePicker for each source type.

The second crash happens when using `Source.Camera` and selecting a picture that has no metadata, such as a picture saved from an external app (WhatsApp for example).

Both crashes are now marked as fixed for 2026r2

[https://tracker.xojo.com/xojoinc/xojo/-/issues/81434](https://tracker.xojo.com/xojoinc/xojo/-/issues/81434)

[https://tracker.xojo.com/xojoinc/xojo/-/issues/81433](https://tracker.xojo.com/xojoinc/xojo/-/issues/81433)

I have completely disabled selecting a picture from Source.Photos until my app is released with Xojo 2026r2. As a workaround, you could use PHPickerViewControllerMBS from MBS plugins.  
It is a bit difficult to use so here is an example project 🙂

[ImagePicker MBS.xojo\_binary\_project.zip](https://forum.xojo.com/uploads/short-url/cDLXwskI3hOt6jKajagX9PrYyGn.zip) (7.8 KB)

---

<div class="post-metadata">

**Author:** ![Jeff\_Tullin](https://forum.xojo.com/user_avatar/forum.xojo.com/jeff_tullin/32/693_2.png) [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Post date:** [June 14, 2026, 4:07pm UTC](https://forum.xojo.com/t/mobileimagepicker-crash/84152/8 "2026-06-14T16:07:03Z")

</div>

> [@Jeremie\_L](#):
>
> you could use PHPickerViewControllerMBS from MBS plugins.  
> It is a bit difficult to use

You’re not kidding! 🙂
