Of course. Apple already has had emulators for iOS for years, it’s how most devs do mobile development. I use an iPhone and iPad emulator at work to occasionally run our app to test it, it’s way nicer than running on an actual iPhone or iPad (I don’t have either anyway).
Comment on The first Apple-approved emulators for the iPhone have arrived
solrize@lemmy.world 9 months ago
This is about an iPhone app that emulates a Gameboy, not anything like an Android rom that emulates the iPhone.
sugar_in_your_tea@sh.itjust.works 9 months ago
BorgDrone@lemmy.one 9 months ago
Apple already has had emulators for iOS for years, it’s how most devs do mobile development.
AFAIK Apple does not release an iPhone emulator to the public. There is one third party emulator I’m aware of but that’s mainly intended for security research and not general development.
it’s way nicer than running on an actual iPhone or iPad (I don’t have either anyway).
Hard disagree.
electric@lemmy.world 9 months ago
Xcode has a simulator that can run any model of iPhone or iPad. Works exactly like a real device.
BorgDrone@lemmy.one 9 months ago
Yes, that’s what I mean. It’s a simulator, not an emulator. It does not work exactly like a real device. For simple stuff, sure, but if you dive below the surface even a little it’s very different.
One example is anything to do with the GPU / Metal. It has a very different set of capabilities and limitations than actual iOS hardware.
sugar_in_your_tea@sh.itjust.works 9 months ago
Yup, that’s exactly what I’m talking about. I think it’s a real emulator given how crappy it runs, but I could be wrong.
sugar_in_your_tea@sh.itjust.works 9 months ago
If you want to test something performance sensitive, it sucks. But for regular edit/reload dev cycle, I much prefer it.
BorgDrone@lemmy.one 9 months ago
Also for anything UI related. You want to test how it actually feels to use, e.g. if you can reach the UI elements with one hand. Using it with a mouse on a monitor just doesn’t give you a good sense of that. Especially if your UI involves gestures.
JackGreenEarth@lemm.ee 9 months ago
What emulator do you use? Does it run on Linux?
WolfLink@lemmy.ml 9 months ago
Apple provides an iPhone emulator as part of their official SDK. Free to download, but only runs on Mac.
BorgDrone@lemmy.one 9 months ago
Apple provides an iPhone emulator as part of their official SDK.
No they don’t.
nave@lemmy.ca 9 months ago
They are referring to the iPhone simulator that’s part of Xcode and is exclusively available on Macs.
JackGreenEarth@lemm.ee 9 months ago
😑
DarkThoughts@fedia.io 9 months ago
An Android rom that emulate the iPhone? It would emulate Android and in either constellation your comment does not make any sense. No one assumed Apple to emulate Android OS.
naticus@lemmy.world 9 months ago
Uhhhhh yes? Correct?