Live data from Hacker News

iOS on QEMU

github.com

41–50 of 106 posts

Re: iOS on QEMU

#41
post #5

> If you are passionate about iOS and kernel exploitation So is the main use-case to find bugs in iOS or are there other major use-cases I'm not thinking about? The only other use case I can think of is setting up a click-farm, or paid-review farm where you give positive reviews for apps for a small fee.

I think he meant that those are the skills required to maintain the project, since iOS moves very fast and each major update breaks the virtualizer.

Re: iOS on QEMU

#42

> This project is a fork of the official QEMU repository Why isn't it _actually_ a fork though? I don't like when projects do this and don't actually make it a fork.

> Why isn't it _actually_ a fork though? I don't like when projects do this and don't actually make it a fork. From Wikipedia: In software development, a project fork happens when developers take a copy of source code from one software package and start independent development on it, creating a distinct and separate piece of software. This seems exactly what happened here. Are you asking why they didn't use Github's…

At first glance that sounds awful, but presumably if it was remaining active, it would simply exist again (just not as a labelled 'fork') on next push?

Bit weird/worrying as a user or whatever looking for the repo on Github between deletion and push, but probably not a big deal in the grand scheme of things?

Re: iOS on QEMU

#43
I see in the instruction they're using iOS 12. Is it possible to run iOS 15? Does the image need to be jailbroken? Is there anything that allows to download and install iOS apps from the app store and run them?

Re: iOS on QEMU

#45
post #28

This would be interesting to see, I'm guessing the implications are being able to build iOS projects without requiring a Mac at any stage of the development process.

You can actually do this now, without emulation: https://github.com/tpoechtrager/cctools-port Zig are also working on it: https://zig.news/monthly/zig-monthly-august-2021-ios-support... The pioneer of software dictatorship will probably make this impossible or illegal as soon as it gains any traction though. And people will probably congratulate them for it in the name of "security".

Building apps without the use of Apple’s SDK is already considered to be against the developer program terms.

Re: iOS on QEMU

#46
post #18

Earlier quoted context omitted.

These days, unfortunately, it is not possible. Well, you can virtualize MacOs, but you can not connect iOS device to it, nor you can run a virtual iOS device inside it. Apple went out of its way to deliberately disable physical phones connecting to a virtual MacOS. Any other USB device can be connected, but not an iphone.

a motivated individual can still accomplish it, there are multiple ways documented on the web if you google a little. its however not permissable, as you cannot buy apple software without agreeing to their licence, which disallows running it on anything but apple hardware. for private fun projects: possible for professional things: a very bad idea

It's fine for professional things, too. Just follow the 11th commandment and you'll be fine.

Re: iOS on QEMU

#47
post #37

Earlier quoted context omitted.

As a “closed iOS” advocate, I personally believe the ability to do development outside of a macOS is a great idea. I’ve long wanted to make iOS apps, but I don’t have the money to shell out for a Mac. Yes, Hackintoshes are a thing, but you need certain hardware to do so, and even then, it’s still difficult (last I checked).

For casual app development I just run MacOS in a free VMWare instance on my Windows machine. It has no graphics acceleration but otherwise works flawlessly.

How do you load MacOS in VMWare? Where/how do you get the install media?

Re: iOS on QEMU

#48
post #26
post #18

Earlier quoted context omitted.

These days, unfortunately, it is not possible. Well, you can virtualize MacOs, but you can not connect iOS device to it, nor you can run a virtual iOS device inside it. Apple went out of its way to deliberately disable physical phones connecting to a virtual MacOS. Any other USB device can be connected, but not an iphone.

I use this: https://github.com/kholia/OSX-KVM It works quite well for me. Simulator works fine (though graphics are slow) and so does connecting a physical phone (by passing through the USB controller).

I passed a GPU into mine to get around the slow graphics.

Re: iOS on QEMU

#49
post #37

Earlier quoted context omitted.

For casual app development I just run MacOS in a free VMWare instance on my Windows machine. It has no graphics acceleration but otherwise works flawlessly.

How do you load MacOS in VMWare? Where/how do you get the install media?

This has been possible for a long time. For the install media, Apple hosts them and will give you the dmg file for free.

The only concern is the terms of the EULA so that's why the earlier poster says "for casual development"

There are a lot of guides online, including "one command" shell/powershell scripts that will automatically pull down the right files for you, and use the vmware/virtualbox api to create the vm automatically, and patch the bootloader to get Catalina or Big Sur loading, etc - if past experience is any indication, people probably already have Monterey beta loading fine already.

again, it's not a matter of "how" it's whether you (or Apple lawyers) care about the EULA.

Re: iOS on QEMU

#50
post #37

Earlier quoted context omitted.

For casual app development I just run MacOS in a free VMWare instance on my Windows machine. It has no graphics acceleration but otherwise works flawlessly.

How do you load MacOS in VMWare? Where/how do you get the install media?

in addition to what @barkingcat said, for vmware to be able to boot a macos virtual machine you'll need it to unlock it for that OS. Search for vmware unlocker is a free utility that depends on your vmware version, run it once and you're done.
Post reply on HN