HNHacker News
TopNewBestAskShowJobs

Cycl0p

14 karma · joined July 9, 2023

submissionscomments
Cycl0p··on An Alerting Vista of macOS Sonoma
Don’t have to get so personal, I do not know saagarjha nor do I know of his various achievements writing software, and as a matter of fact, you do not know me either. I speak purely off experience, writing/porting software for macOS for more than 4 years, most of the time using Xcode.
Cycl0p··on An Alerting Vista of macOS Sonoma
Well, if you build your software the Apple way(TM) and use Xcode, just opening the project will show you all the deprecation warning. A C++ Xcode project I have at work has a lot of them, mainly for using old Frameworks like CoreServices, which do not have any modern C/C++ equivalent (they were replaced by Obj-C/Swift APIs) and which, while very old fashion/unsafe in their style, are most of the time way more worth to call for very short task like getting a path, rather then having to whip out a .mm and write some horrible Objective-C++.

However, if you’re not using Swift/Obj-C and have a different/custom build system, you’re probably toasted. Although, if you’re using CMake, you might have some luck in getting these info by generating an XCode project.