4 ms·
Yeah, one has been able to do this for some time now. A few years ago I had a setup where (and I admit much of this was for the aesthetic purity of it, not pra
by loxias 8y ago
Yeah, one has been able to do this for some time now.
A few years ago I had a setup where (and I admit much of this was for the aesthetic purity of it, not practical reasons), I used a legally purchased copy of macos, copied it unmodified to my VM server, and, with a decent amount of effort, and a patched qemu (for the SMC thingie -- i donno if by now the patch is in mainline), was enjoying a non pirated, non modified macos on a linux host.
I even got USB and BLE passthrough working, so I could use the mac VM for iOS app development.
It was quite effective.
A more challenging project I did later (which I probably deserve some derision for not documenting and sharing) is "How to develop, sign, and upload iOS apps entirely from debian linux, entirely with F/OSS, no VM, no Xcode, just good ol' emacs and cmake". IIRC, there were very little Big Contributions I did, but plenty of assembling a large variety of other projects, bug fixing them, and making an integrated environment.
- mseidl 8y agoI really want this. I'm a hardcore linux guy(23+ years), but I have to run a windows vm for some instruments I have that wont run under wine. I hate windows. It sucks so much. Even just using it not that often with my instruments reminds me why I stopped using it.
- loxias 8y agoI'm very similar. other than you've got about 5 more years on me :D If you're referring to musical instruments, then yeah, that's the only reason I even have a windows 7 VM around. Although increasingly I've been able to get the necessary code to run under wine.... But yes: > I hate windows. It sucks so much. Even just using it not that often with my instruments reminds me why I stopped using it. Is basically my mental state as well. (and, hence, swore off windows around 2000) I'm curious though, how would having a pure (aka linux) dev environment for macos help you in your situation?
- loxias 8y agoOr maybe you were saying you want the Windows equivalent of this? The ability to make native windows apps from linux with ordinary tools? I don't know what it is, but I thought we've had that for some time now....
- mseidl 8y agoThat would also be good. But anything to reduce the amount I have to use windows.
- loxias 8y agoOnce again, I agree, every moment I have to touch windows (let alone the more recent versions, like 10) is a moment of pain. But how does a system that lets you compile iOS applications natively from linux decrease your windows usage? Oh, or were you referring to the "clean room" osx-kvm-debian project, not the "ios build system on debian" project?
- titanix2 8y agoI really want this. I'm a hardcore windows guy(23+ years), but I have to run a linux vm for some programs I have that wont run under WSL. I hate linux. It sucks so much. Even just using it not that often with my programs reminds me why I stopped using it.
- throwawaymanbot 8y agoYou are hysterical!!! But to be fair, Linux sucks in an entirely different way to windows. Linux sucks in a good way. At least compare apples to apples (no pun intended)
- loxias 8y agoI.... think I get the jokes guys, but you do know that I have no idea what part you're referring to.... >.< And if you'd tell me... maybe I'd help.... :P :)
- muxator 8y agoGreat! These are really two accomplishments that deserve to be shared.
- brazzledazzle 8y agoYou should document the ability to build, develop, upload and sign from Linux. Unless you think it will cause Apple to close the path to do so (I assume others have worked out something similar and it would be a shame to cut them off).
- tinus_hn 8y agoThat must have been a long time ago indeed because the last version you could 'buy' was removed from sale in 2013. But actually you didn't buy a copy, you bought a disc and a license to upgrade the software on one 'Apple branded machine'. I don't care if you run unlicensed software but it's not 'legally purchased' or 'non pirated'. You're just fooling yourself.
- loxias 8y agoYou have a partial point, and I may have been sloppy with my words. But on the whole, you do not, and while I might willingly fool myself about a great many things, this is not one of them. I'm well aware that the license agreement claims to forbid running it on non Apple hardware. However, no -- the software WAS "legally purchased" AND "not pirated". I purchased, from Apple.com, a mac-mini, then in the apple app store paid for a stand-alone install of macos. I believe it was $20. "legally purchased" -- I paid for it through the legitimate channel (as opposed to, say, buying it from anyone other than Apple Inc. like ebay) "not pirated" -- Piracy (in this, that is, not the captain hook kind) context means taking advantage of the fact that digital assets can be perfectly duplicated to escape paying for it. I paid for it. I didn't duplicate it. As to the issue of the Apple's "license agreement". On this we may simply view the world differently. It is my viewpoint that once a product is sold the original owner no longer is entitled to a reasonable expectation of control over its use. I can buy a screwdriver labeled "Only for use with Lowe's(tm) screws", and use it on whatever brand screws I want, because it's my screwdriver, and the notion that Lowe's gets to exert control over how I use a tool after I've legally bought it is I am aware that currently some interpretations of US law are not congruous with this. I frankly don't care. You have the right to believe whatever you want, but to me law does not define truth. Interpretations of law frequently codify things that are not. Regardless of bills passed or the outcome of court cases corporations are not (yet!) sentient entities, in 1897 Indiana the ratio of the circumference of a circle to its diameter was not exactly 3.2 -- it was pi, just like today, and all of my family members are equally human beings as anyone else despite much older laws asserting that some of them were 3/5th. "fooling yourself" is a waste of effort. I'm well aware -- I have no romantic delusions about, for instance my copy of IDA Pro or MATLAB for example. It's a tool I greatly benefit from, that I cannot even come close to affording, so I stole it. Sure, it's almost certainly the case that in the coming years I'll again be in a position to legally purchase several licenses for work use, but that doesn't change the fact that I still pirated them. But no, I legally purchased my copy of MacOS, it is not pirated, and I do not believe in the waste of time that is fooling ones self.
- psergeant 8y agoI had a client give me a meaty Mac laptop, and had no desire to carry two laptops. I imaged their install, and then formatted the machine, and ran their image in a VM, and treated the underlying machine as my own. Worked well for a little while
- loxias 8y agoCool! Glad it worked for you. (I'm mildly curious what the chipset was on the guest that MacOS was running in) But like, not curious enough that you should spend any effort to find out. Because I think one of the toughest parts was getting QEMU to make a machine macos would be happy with.
- danShumway 8y ago> A more challenging project I did later (which I probably deserve some derision for not documenting and sharing) is "How to develop, sign, and upload iOS apps entirely from debian linux, entirely with F/OSS, no VM, no Xcode, just good ol' emacs and cmake". Please write this blog post. I've no interest in running Mac OS for any reason other than to test software in it and use it as a developer account for cross-platform apps. This would be a huge boon to people like me.