I have already filed FB23871124.
Thanks.
Note If you’ve already filed a bug then it speeds things up if you include the bug number in your post. For this and other hints, see Quinn’s Top Ten DevForums Tips.
I’ve no concrete news to share on that front, other than to confirm that your bug has made it to the right folks.
The design of the installer is a historical artifact
OK.
The problem you’re hitting is most likely related to app bundle protection. That feature isn’t new — in Trusted Execution Resources I link to the WWDC talk that introduced it, back in 2022 — but it’s a complex feature and it’s easy to see how something might’ve changed to trigger this specific issue.
The easiest way around this is to have the installer do the installation. That way this becomes Apple’s problem to resolve.
If you can’t do that — for example, you’re doing an incremental updater — then my general advice is:
- Don’t modify the app bundle in place.
- Instead, construct a new bundle in a private location.
- And then move that in to place, atomically replacing the old version (
renamex_np is your friend). - And if you need to reuse parts of the existing app, make your own copy (APFS cloning ability means that this isn’t a huge disk space burden).
It might be worthwhile for you to experiment with these techniques now, just in case FB23871124 doen’t catch the macOS 27 bus.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"