A few more additions that may help others. I will contact Technical support for further help.
The problem is not specific to macOS 12 beta, it already occurs in macOS 11.5.1
The rules for launching applications using launchApplicationAtURL: have become stricter in some (undocumented) ways
launchApplicationAtURL: always succeeds regardless of the location of the launched app if the user has previously launched the same app via a double click
launchApplicationAtURL: seems to work when the launched app is in a subfolder of /Applications and the launched app is properly signed
when the launched app is in /Applications but only signed with an ad-hoc certificate, launching still fails. This may be a bug.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: