We have not been able to launch any of the applications we build using the most recent build tools and platform. To be specific, this problem occurs with Xcode 13.4.1 or newer on macOS Monterey 12.6 (possibly earlier as well) with a Silicon processor. On a similar Intel machine, there is no issue.
The symptom is as follows: If the application is built entirely in Xcode and not copied anywhere, it does launch successfully (same thing applies if it is moved into another location). But if it is copied somewhere else, its icon just bounces forever and nothing else happens. Apparently the program launcher (launchd, I suppose) is for some reason unable to launch the application, or it refuses to do so. Even so, no complaints are found in the log file for launchd.
We usually build our applications using command line build tools and a specially crafted scripts for putting files into the application bundle, code signing and notarising. It is of course critical for us that we can put together and distribute our applications to machines running on a Silicon processor, so any help will be greatly appreciated.
The problem is easily reproduced. Simply create an application from the macOS App template in Xcode. Then locate the app bundle somewhere beneath the folder ~/Library/Developer/, and copy it to another location on the machine. You will not be able to launch the copy of the application.
Selecting any option will automatically load the page