Remix.run Logo
restes 8 hours ago

The iOS Simulator consists of (some of) the userspace components of iOS compiled to run on macOS. This would be a full iPhone image running as-is via virtualization.

RussianCow 7 hours ago | parent [-]

That explains the difference, but what's the purpose?

whynotmaybe 7 hours ago | parent | next [-]

The simulator doesn't have a camera. The android emulator allows to configure the camera and use a picture, it's very handy to test your qr/barcode reader without needing to use a physical device. Maybe this also allows to use an image as camera?

landr0id 3 hours ago | parent | prev | next [-]

It's useful for security research since you can do kernel debugging and inspection of the device not possible in the simulator.

As others pointed out it's also useful for e.g. click/spam farms which need a "real" iPhone.

gcampos 7 hours ago | parent | prev | next [-]

You cannot run Network Extensions on the simulator

a012 7 hours ago | parent | prev | next [-]

You can test your application, game, website without a physical phone?

leoh 7 hours ago | parent [-]

Can do that with the simulator too

cfn 2 hours ago | parent | next [-]

I have had instances where the app runs fine on the simulator but crashes on the device. This might solve that.

refulgentis 7 hours ago | parent | prev [-]

Running on ported userspace components, with a shim, isn't the same as running on the OS in itself.

That really matters, sometimes.

But not the vast majority of the time.

(source: been coding iOS since pre-SDK iPhone OS 1.0)

RussianCow 7 hours ago | parent | next [-]

Can you give some examples of where it matters? I'm genuinely curious.

bradfitz 6 hours ago | parent [-]

Last I checked, VPN network extensions wouldn't run in the simulator.

dingdongditchme 6 hours ago | parent | prev [-]

Is the simulator faster than this? I would suspect so.

VladVladikoff 7 hours ago | parent | prev | next [-]

Spam. Click farms. Etc.

trollbridge 7 hours ago | parent | next [-]

It would also make testing far easier. I got bit with something that failed on real life iPhones with language set to es_US that worked fine on the simulator.

trueno 5 hours ago | parent | prev [-]

oh. is this why icloud spam texts are running wild now

greggsy 5 hours ago | parent [-]

No, it’s just trivial to generate iCloud email addresses that won’t get picked up by spam filter.

leoh 7 hours ago | parent | prev [-]

If functional, you can download apps from the App Store, sign in to iCloud.. probably do a bunch of agentic stuff as if you had a real device

Sajarin 7 hours ago | parent [-]

Looks like apple services compatibility is not currently supported for this [0]

[0] https://github.com/Lakr233/vphone-cli/discussions/175

discordance 4 hours ago | parent | next [-]

If you read a bit further, there's a jailbroken variant that has Sileo and Trollstore installed, so you can run whatever IPAs

rvz 5 hours ago | parent | prev [-]

Exactly. It means it cannot download apps from the App Store or use Apple services and Apple knows this deliberate limitation.