Craig Hockenberry

Apple needs to go back to the drawing board with these alerts in Sonoma. They are scary, frequent, and not actionable.

It's like an engine check light going on, taking the car to the mechanic, and having them say “I have no fucking idea what's wrong”.

What's worse, is that they only appear once with no apparent way to reset. That makes it impossible for a developer to verify that they fixed the deprecated API usage.

It's also not a good look that these are happening in System frameworks.

1 replies →
1 replies

Saagar Jha

(replying to Craig Hockenberry)
@chockenberry They’re stored as keys in the defaults of com.apple.replayd. Also they have nothing to do with ATS despite the release notes mentioning something similar

Saagar Jha

(replying to Saagar Jha)
@chockenberry btw I’ve filed this as FB12442254: CoreGraphics screen recording API deprecation warnings are poorly designed

Craig Hockenberry

(replying to Saagar Jha)

@saagar Yeah, I'm guessing that's the API I'm tripping over when launching xScope (screen recording for the Loupe tool). Thanks for the pointer to replayd.

Craig Hockenberry

(replying to Craig Hockenberry)

If you're as confused as I am about the new deprecation alerts in Sonoma, read this (it's a lot worse than you think).

And make sure to dupe the FB (see NOTE at the bottom of the blog post). We have to let Apple know they're screwing up in a big way.

furbo.org/2023/07/09/an-alerti

shac ron ₪‎

(replying to Craig Hockenberry)

@chockenberry This feels like something for betas that’s not intended for release. It’s a way to make developers who are testing their apps without recompiling aware that some API they are depending on has become deprecated since it was built.

Saagar Jha

(replying to shac ron ₪‎)
@shac @chockenberry It does a very poor job at that

shac ron ₪‎

(replying to Saagar Jha)

@saagar @chockenberry I’m guessing it’s a simple patch of the dynamic linking tables to call this, which is why it doesn’t know what the offending function is. Could definitely be done better.

Saagar Jha

(replying to shac ron ₪‎)
@shac @chockenberry Nah replayd just registers for some notification from Skylight