Hacker News new | past | comments | ask | show | jobs | submit login

I was hoping this was about an iOS emulator for Linux, so I could finally debug my websites in Safari or develop apps for the AppStore without owning Apple hardware.



You can run macOS in a virtual machine, and since iOS emulators are not using virtualization, there is no requirement for nested virtualization.

I've had decent experience using Xcode and iOS emulators via KVM virtual machine in the past, however there is no graphics acceleration.

But be aware that according to macOS EULA (might not be enforceable outside of the USA) you can only run macOS guests when host is running on Apple hardware.


Yes, and another alternative is this project using VirtualBox.

https://github.com/myspaghetti/macos-virtualbox


> finally debug my websites in Safari

GNOME Web uses WebKit and is officially recommended by Apple to test websites on WebKit.


It's really not a substitute for mobile safari at all, especially not mobile safari at a specific iOS version. The state of the art there afaik is still to have a drawer full of iOS devices you hold off on updating for a couple years, or else you can never reproduce the bug that your users on older iPhones see.

There are too many bugs with things like the collapsible url bar / jank when changing orientation / or just plain bugs unique to their cut that won't reproduce on arbitrary WebKit browsers. I've had to fix layering bugs 100% reproducible on mobile safari on device but not in the emulator or beta for the new iOS at the time.


Perhaps one day.

> Do you have plans for supporting iOS apps? > > Yes, in the long run, we'd like to be able to run iOS apps on ARM devices (like most Android phones). A significant challenge here would be to write our own implementation of UIKit. Come talk to us if you're interested in working on this!

https://www.darlinghq.org/


WebKit builds for Linux, if you're doing web testing.


Use BrowserStack ?

PS: I work at BrowserStack.


That's never gonna happen.


The irony is that this is happening in QEMU; and was only about five posts above this one on HN: https://news.ycombinator.com/item?id=28551264 https://github.com/alephsecurity/xnu-qemu-arm64


Why not? E.g. you can use Wine for Windows development.


Forbidden by the license.


I guess the question is whether or not you can copyright an API. The existence of Wine tells me you can't.


It's hardly useful when you want to test how your apps behave under a specific implementation of such API




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: