iOS 18 Issue: When we add arm64 into Excluded Architecture and try to present screen, Screen will get froze and unable to select images.

I am using Storyboard to present a UIImagePickerController on a view controller (a simple initial view without any navigation or tab bar). Due to a requirement, we need to exclude the arm64 architecture. However, when I try to present the screen, it gets stuck. I am unable to select an image, and the screen becomes inaccessible. It's happening only on simulator.

Does anyone have any solution.

Excluding arm64 means not running on any recent hardware (everything introduced after iOS 7!)

Unless you are trying to ship a Catalyst app that only runs on x86 Macs I think there may be a misunderstanding in your requirements.

Due to the existence of a framework that cannot be replaced temporarily in the project, I can only exclude arm64 in order to run it on the M-series chip simulator and reproduce this issue. Manifested as the emulator running on arm64 architecture and the project architecture being x86 At present, the image selector can only be used on real machines. The above is from automatic translation.

iOS 18 Issue: When we add arm64 into Excluded Architecture and try to present screen, Screen will get froze and unable to select images.
 
 
Q