Alert "null" is using a deprecated API that will be removed in the future.

Hi,

I am receiving the following error message in macOS Sonoma Developer Preview 3, from a macOS application that uses, according to the latest documentation for macOS Sonoma, no deprecated API.

I have created a sample Xcode project that triggers this behaviour: https://github.com/tjosten/DeprecationTest

Build the app, then navigate to the build folder (Product -> Show Build Folder in Filder -> Products) and launch DeprecationTest.app. It will first ask for system permission to record the screen, and after granting and restating the app, immediately trigger the error in the screen shot above.

Any advice?

Answered by tjosten in 759294022

Update: I have been talking with DTS about this, and they acknowledged this to be a bug since AVCaptureScreenInput is not deprecated.

Well, the obvious thing to do is open Feedback Assistant and send Apple a bug report.

Accepted Answer

Update: I have been talking with DTS about this, and they acknowledged this to be a bug since AVCaptureScreenInput is not deprecated.

Alert "null" is using a deprecated API that will be removed in the future.
 
 
Q