Keep OSNews alive by becoming a Patreon, by donating through Ko-Fi, or by buying merch!

macOS Archive

‘Why Apple Snubs Its Open Source Geeks’

"Apple extended the courtesy of meeting with me one day after my column on the closing of the OS X x86 kernel source code was published online. To sum up Apple's objections, they felt I had given a year-old story a fresh coat of paint and sensationalized it for an audience that wasn't affected by it. Yet no story is more timely, or more broadly relevant, than this one." Tom Yager, who raised concerns over the closed-source Intel half of the MacOS, details why he was so concerned. "The kernel will open up again, this tempest will fade away, and I'll be glad for it. What will continue to concern me so deeply is that Apple thought it would be OK, that nobody would notice or care." Note: The 2nd link was incorrect, it is fixed now. Excusez-moi.

Scripting the MacOS X Object System

"F-Script is a lightweight open-source scripting layer specifically designed for the Mac OS X object system (i.e. Cocoa). F-Script provides scripting and interactive access to Cocoa frameworks and custom Objective-C objects. It aims to be a useful and fun tool for both beginners and experts, allowing interactively exploring, testing and using Cocoa-based objects and frameworks."

Empowering Carbon Applications with VoiceOver Interface

"Each release of Mac OS X has brought increased support of 'Universal Access' for users with disabilities. Universal Access is Apple's collective name for the Mac OS X technologies, features, and components that provide users with disabilities with access to Macintosh computers. For Mac developers, making applications accessible to this audience is the smart thing to do, and it's easier now than ever before. This article will teach you how to fully implement support for accessibility through the VoiceOver interface in your Carbon application."

Mach-O and Universal Binaries

"There's quite a few interesting tidbits of information surrounding 'Universal' or fat binaries. First of all, this isn't the first time Apple has packaged binaries for multiple architectures into one file. The current scheme, however, was used by NeXT to provide binaries for multiple architectures, and again by Apple in to provide support for both 32 and 64-bit PowerPC architectures, well before the term Universal Binary was being thrown around."

Abusing Mach on Mac OS X

"This paper discusses the security implications of Mach being integrated with the Mac OS X kernel. A few examples are used to illustrate how Mach support can be used to bypass some of the BSD security features, such as securelevel. Furthermore, examples are given that show how Mach functions can be used to supplement the limited ptrace functionality included in Mac OS X."

Leopard To Bring Collaborative Documents?

"Since Apple announced Leopard last year during WWDC, MacOSXRumors obtained reports on two major features in the next release of Mac OS X. The first is a redesigned Finder making extensive use of Spotlight and the second is the inclusion of virtualization software. Recently sources have been indicating that Leopard will feature easy collaborative work throughout the OS. The main idea is that it will be possible to declare a document as available for collaborative use over a network or Internet. Users who want to work on this document will be able to connect and work simultaneously on it. Modifications made by each user will be updated in real time for all connected users." Authenticity up for debate, obviously.

Switching Back to Desktop Linux

"I kept my Linux desktop, but moved most of my daily work to the laptop. I also repartitioned my hard drive and reinstalled Mac OS X to give myself space to use Linux/PPC. I tried to get used to Mac OS X for six months, but when a new version of XFree86 came out and supported my video card fully, I finally switched away from Mac OS X. Why? There are plenty of reasons, most of them related to my primary goal."

EFI Programming on Mac OS X

"If you are developing EFI applications or drivers for Intel-based Macintosh systems, it is likely that you will prefer to develop on Mac OS X rather than on Windows, Linux, or any other system. The rest of this document will help you jumpstart EFI development on Mac OS X. In fact, you can use either the PowerPC or x86 version of Mac OS X for hosting an EFI build environment."

Cocoa: Working with XML

Objective-C and Cocoa is the predominate language/framework on the OS X operating system, but it is fairly uncommon otherwise. One way to enable an application written in this language to communicate with applications written for other platforms is via the universal XML. Marcus Zarra walks you through constructing, transmitting, and deconstructing an XML document using Objective-C and Cocoa.

MacOS X, Linux, and Open Source

Lately, OSX, or more specifically its kernel, has had a lot of attention. Benchmarks made by AnandTech have shown that OSX' kernel has some serious performance issues. As a result, some have uttered the idea Apple might replace the kernel of the MacOS with another kernel-- Linux seems, to them, the most viable option. Secondly, there have been speculations that Apple is closing the x86 version of its kernel. Note: Sunday Eve Column.

Apple Denies the Closing of Darwin x86 Kernel

In the Fed-Talk mailing list, Ernest Prabhakar (Apple's product manager for Open Source & Open Standards) denies that Apple is going to close the Darwin kernel for x86: "Just to be clear, Tom Yager was speculating about why we have - so far - not released the source code of the kernel for Intel-based Macintoshes. We continue to release all the Darwin sources for our PowerPC systems, and so far have released all the non-kernel Darwin sources for Intel. Nothing has been announced, so he (and everyone else) certainly has the right to speculate. But please don't confuse 'speculation' with 'fact'."

MacOS X Safe As Houses Not Windows

The recent ruckus about the claimed growing vulnerability of Mac OSX from certain sources has caused an indignant outcry from Mac advocates who claim the stories are mostly media hype. According to an expert in Unix and Linux systems, the outcry is not without justification. Con Zymaris has been working with Unix systems for nearly three decades and for the past 15 years has been running a consultancy on open source software implementation. Zymaris says that, while it is true that a Mac can get infected with a virus, it is not easy and it is not likely to cause much damage. What's more, Mac users don't need to install firewalls and anti-virus software.

SANS Notes Sharp Increase in Mac OS X Flaws

"Just because you use a Macintosh, don't think you're any more secure than a Wintel user. A sharp increase in the number of flaws being discovered in Mac OS X suggests that the Apple operating system may soon be every bit as prone to malicious attacks as Windows systems, according to a report from the SANS Institute, a security training and research firm." This time no MSNBC, boys and girls, this is MacWorld.com. In the meantime, have fun with Apple's new commercials.

Building an Open Source Universal Binary

"Mac OS X includes many open source projects that contribute to the stability and robustness of the system. While Apple provides working versions of these for both PowerPC and Intel architectures, sometimes you want to build your own to tune performance or enable custom features. Plus, distributing a single binary is often preferable to keeping track of separate, architecture-specific binaries. These objectives can be accomplished by building the project as a Universal Binary, a file that contains code for both the PowerPC and Intel architectures." This article shows how to use Xcode (using Xcode 2.2.1) to construct a make-based project that builds OpenSSL as a Universal Binary."