MacOS removes the privatization interface and needs to be upgraded carefully.

by Poster Apr 2, 2025 15
/System/Library/PrivateFrameworks/MediaRemote.framework Response: playbackQueue < D42CE038-BF50-420F-8CF6-C48AA27EF723 now-playing-44118/M/L/AF/A600.000000x600.000000/R [0: 1] > returned with error < Error Domain = kMRMediaRemoteFrameworkErrorDomain Code = 3 "Operation not permitted" UserInfo = {NSLocalizedDescription = Operation not permitted} > in 0.0771 seconds macOS 15.4 Release Notes Analysis A search for macOS 15.4 Release Notes (macOS Sequoia 15.4 Release Notes) Apple Developer Documentation found no direct mention of the new media framework or API. User Support page What's new in the updates for macOS Sequoia-Apple Support Some media-related features (such as the Podcasts widget) are listed, but the developer API is not covered. In the context of April 2, 2025, macOS 15.4 (i.e. macOS Sequoia 15.4) removal of/System/Library/PrivateFrameworks/MediaRemote.framework has raised developer concerns about obtaining alternatives to current playback media information. Below are detailed findings covering the exploration process and possible solutions. Background and Problem Analysis MediaRemote.framework is a private framework used to communicate with media servers (mediaserverd), allowing functions such as querying current playback information, controlling playback/pause, and more (as described in Dev: MediaRemote.framework-The Apple Wiki). Its removal means that developers need to look for new ways, especially after the release of macOS 15.4 (macOS Sequoia 15.4 Release Notes Apple Developer Documentation). The investigation found that the official release statement did not explicitly mention the alternative scheme, which may not be made public because of its private nature.

Replies

  • Poster Apr 2, 2025
    MediaMate.app is playing. The acquisition has been invalid, and the bangs are invalid. https://i.imgur.com/cp1TGhZ.png https://i.imgur.com/m3LUcPq.png https://i.imgur.com/HVDfsnw.png
  • Poster Apr 2, 2025
    Remove build error, the directory MediaRemote.framework no longer exists https://i.imgur.com/MG3CLTA.png
  • Anonymous3530 Apr 2, 2025
    😭
  • Anonymous2059 Apr 2, 2025
    With all PrivateFrameworks, you can expect to rely on this? Even if you normally use the major version of the Public API to upgrade, it often crashes for you
  • Anonymous8465 Apr 2, 2025
    I wonder if this problem of mine is due to this reason: https://www.v2ex.com/t/1122695
  • Poster Apr 2, 2025
    @ Anonymous8465 It shouldn't be, your framework already exists in the previous version, https://github.com/alexey-lysiuk/macos-sdk/tree/main/MacOSX14.5. sdk/System/Library/PrivateFrameworks/ChronoCore.framework/Versions/A, it feels like an interactive class related framework
  • Poster Apr 2, 2025
    @ Anonymous2059 Many apps that cannot be put on the app store are actually calling this privatization framework.
  • Anonymous8465 Apr 2, 2025
    @ Poster Because I see that this chronod has calls to APIs such as Widgets. The Airbuddy 3 Widget I use has the Now Playing API, and then it will fill up the CPU once enabled. Here's what ChatGPT told me: Preliminary conclusions: · chronod is caught in an abnormal synchronous call chain and resource competition, which is manifested as: Multi-threaded infinite loop polling (_ dispatch _ kq _ poll) Closure nested calls (Swift Dispatch and CoreFoundation layers) · High-frequency interaction with the ReplicatorServices module, suspected to be a data synchronization task · All CPU usage comes from active blocking threads rather than single task time consumption After two days of checking, it still didn't solve my problem.
  • Anonymous2059 Apr 2, 2025
    @ Poster I searched on Github and there are quite a few people using it... https://github.com/aviwad/LyricFever/issues/94#issuecomment-2746155419 Apple explicitly uses entitlements to restrict permissions
  • Anonymous5616 Apr 2, 2025
    The upgrade has been finished. In other words, for users, if they don't use this feature, is it better to upgrade it? It looks very dangerous to allow queries to control media playback.
  • Anonymous5617 Apr 2, 2025
    @ Anonymous8465 Where to download Airbuddy 3 please
  • Anonymous8465 Apr 2, 2025
    https://v2.airbuddy.app/join-Beta Fill in the email address and you will receive the Beta test, but the activation code of 2 is required. It is not recommended to use 3. I found a problem after using it.
  • Anonymous5161 Apr 2, 2025
    Isn't this just plugging privacy holes like the previous clipboard? Developers are in a hurry, explaining...
  • Anonymous5369 Apr 3, 2025
    I asked why I display the current playback information and why the function of controlling playback/pause fails. It turns out that this is the problem
  • Anonymous355 Apr 4, 2025
    Why do you control the user player?