Posts

Post not yet marked as solved
8 Replies
0 Views
If you undo your fix and look at your app in Activity Monitor, what do you see? You are right: The iOS app shows up as 'Intel' kind in the Activity Monitor while the Simulator app shows up as 'Apple' kind. Thanks Quinn!
Post not yet marked as solved
8 Replies
0 Views
I believe you are right. My host machine is indeed a Macbook Pro (14-inch, 2021) that has the M1 family chip. On my Xcode project, I was excluding the "arm64" architecture for the simulator devices due to some old dependencies via the "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; flag. As far as I can understand, this was triggering the simulator processes to spawn under Rosetta emulation, although this was not shown somewhere. Even the Activity Monitor window displayed 'Apple' instead of 'Intel' in the 'Kind' column: When I removed the "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; flag, adjusted my dependencies and re-run the app on the Simulator, I was able to open the QuickLook preview controller without a crash, so I assume that this flag was to blame here. As a general question, is there a way to know whether the simulator instance runs under Rosetta emulation?