MacOS Sur Download from Anywhere - macos

In MacOS Catalina, you can still work around the notarization and signing requirements to download from anywhere by running
sudo spctl --master-enable
With the new security features in Big Sur, which I cannot try myself, I am concerned that the workaround might disappear. Can you still, at your own risk, run binaries that you compile yourself or download from elsewhere, by using this command?
The answer to this question might also be different on Apple Silicon ARM chips, which aren’t available to anyone without a limited-supply transition developer kit. In the off-chance that someone with one of these kits sees this post, what are the options for restoring the ability to download and build without gatekeeper blocking and requiring notarization? This is really important to know for internal development.
Also, ignoring all the risks, let’s say my computer is on a local secure network and I am only downloading, sharing, and compiling things I KNOW are safe by communicating with the developers. A lot of responses to questions like this that ask about disabling security seem to dodge the question and tell me not to do it, but I promise that I am cautious.

Just upgraded my 2015 MacBook Pro to Big Sur. Running sudo spctl --master-enable still works.

Related

Is bootable USB installer required to clean install MacOS Big Sur?

I would like to perform a clean installation of MacOS Big Sur on my MacBook Air 2017. I've read two articles on how to do this, one said I don't need a USB installer, the other one said it is required. I just want to make sure before I do anything, do I need USB installer or is it possible to download Big Sur from the internet when performing clean installation?
Thank you.
Internet recovery is my first choice for reinstalling OS X. From time to time there are problems with internet recovery. Corrupt recovery partitions, firmware passwords, and a lot of misc hardware problems are what will usually prevent you from using internet recovery.
If you don't have another machine to write your USB installer, I would just make one to be safe. You could also run Apple Diagnostics before running internet recovery to make sure hardware won't be an issue. Out of hundreds of OS X installations I've done, I've only had a handful fail in a way that prevented me from using the original OS afterward, and in those cases it was always a major hardware issue.

How to install XCode 9 GM on MacOS Sierra 10.12?

I actually built a Hackintosh to learn programming with Xcode. It runs on my Asus X555LA laptop. I downloaded the latest Xcode 9 GM build from the Apple Site (not from App store). After extracting, when I tried to install, it shows "You can't use this version of the application "Xcode" with this version of macOS; You have macOS 10.12. The application requires macOS 10.12.6 or later".
Is there any tweak to make it run on my Sierra 10.12 itself? I can't really think about upgrading the macOS version as it's a Hackintosh. I followed this guide to install macOS on my Asus laptop.
Xcode requires latest macOS, you have no choice, you need to upgrade the macOS version on your Hackintosh. Or better: Reinstall macOS in a recommended way on your PC, if you're doing Hackintosh... :)
The guide you linked is very poor... Never use premade install images, because these have been modified in an uncertain way, and you don't want to install a premade undocumented mess to your computer. It might be packed with threats, malwares, spy tools and so on.. It's the worst thing I can imagine in security aspect to install an OS image from uncertain source.
Also, there is no universal macOS installer for PCs - even though many are trying to find a way to create it: it's a bad idea and it will never succeed because there are so many PC parts, millions of differently built computers..
The only way to create a stable fully functional Hackintosh is to know your hardware and create an installer flash drive for that specific PC. First you have to download the latest macOS Sierra from AppStore, this is the only source that you can trust, because it's downloading from Apple's servers. Then install a small program, called Clover bootloader to the flash drive to make it bootable.
This is the only full and up to date guide for PC laptops. If you have questions, register to the linked site and start a new forum thread posting your questions. They will help you but please read this guide at least 3-4 times carefully because everything is described here.

Where to install shared libraries on OSX 10.11?

Since OSX 10.11 it is forbidden to put stuff into /usr/lib, so I redirected everything to /usr/local/lib, which is afaik THE folder to install user libraries to. But /usr/local usually doesn't exist, so the installer creates it. It seems working fine, I checked only on 10.11 beta though, but others say it is fine.
But now I ran into a customer, who used official upgrade to 10.11 (not beta) and the system forbids him to create /usr/local directory, he even tried manually...
Any ideas what the hell is this about?
Basically Apple tightened the security of OS X to prevent apps manipulating with system files.
Watch this Apple presentation to get answer and suggestions on what to do going forward.
Apple's App Transport Security presentation

How to Virtualize iOS on a Windows 7 computer

I'm trying to learn to code in Objective C, but I am not ready to commit to purchasing a Mac for just this purpose, seeing as I have a good Dell laptop. My computer has VMware installed on it, but I do not know how to actually go through the steps, and I do not know what I need to install or purchase(if absolutely necessary). Eventually, I hope to get a Mac, so this won't be needed, but until then, I want to find a way to compile Objective C so I can actually learn how to use it. Thanks.
While it is technically possible, I'll tell you from experience:
To run Xcode and the iOS Simulator, you will need to have MacOS running. Oficially it only runs on Apple Hardware, buuut, you can always use virtualizers and Hackintosh. There are plenty of good tutorials online if you choose this method.
My advice: DON'T do it!
When I started to develop iOS apps, I had a Windows PC, but after trying lots of different approaches to virtualize MacOS, with none I had great results. I bought a MacBook on a sale, and it's just a better iOS development experience overall. It's priceless not to have to deal with driver searching and compatibility issues.
First virtualize MacOS X, inside then iOS with XCode. See http://www.macbreaker.com/2012/07/mountain-lion-virtualbox.html
Yes you can, you need to virtualize OSX inside you Windows, and then use XCode as the other stated, however it doesen't work with nearly all AMD CPU's but i think Dell uses mostly Intel. And a Mac costs alot. For example i don't have money for one, the cheapest one costs $1,600 where i come from, but if you are going to get a Mac, i would wait for that.
But they really are expensive, and i only need a Macbook for debugging.
[Assuming you already have the mac installation image or vmware file]
Sadly Vmware does not include support for mac in it's latest versions
So you'll have to patch(aka Vmware Unlocker for OS X) it.
Follow this link http://www.insanelymac.com/forum/files/file/20-vmware-unlocker-for-os-x/ (you'll be required to set up an account)
Or alternatively you can download the VirtualBox(https://www.virtualbox.org/)
Happy Coding
Use virtualbox instead of VMWare. If it does'nt work, install the extension pack for virtualbox.

Shark crashes on processor bandwidth trace

Shark started crashing on me when I use the "Processor Bandwidth (Core 2)" mode of analysis. It collects the samples, spends the time to analyze them, and crashes with a bus error about when the window should come up.
First I thought it might be because I've been running on low memory. I installed the latest system updates, rebooted, tried again. No difference. Installed latest XCode, no difference. Used CHUD Remover, reinstalled Shark, rebooted, no difference. Tried building with symbols and without.
All the other analyses work. I don't have any third-party KEXTs and never had problems with this before.
Has anyone else seen this? Is there another forum where I can ask this kind of thing? (Apple's dev forums require a $500/yr support package!) Is there a verbose mode for Shark, perhaps via command-line option?
You might try the apple perfoptimization-dev mailing list.
Even if this turns out to be an easily solved issue, please file a bug. You need to have a developer account, but a free account is fine.

Resources