Hacker News new | ask | show | jobs
by saagarjha 2150 days ago
Xcode doesn’t emulate anything, it runs the entire iOS userspace as native processes on top of the macOS kernel.
1 comments

It "emulates" the hardware - e.g. you can inject shake / GPS / etc

This is the same as the Android x86 "emulator".

IIRC the Android uses hardware-assisted virtualization through Intel HAXM. iOS simulator is run entirely in userspace in a seperate launchd context.

(Mostly referring to the actual processor/OS itself; buttons that "vibrate" the phone are not really technically interesting to me.)