An application built with 2024r3.1 cannot be launched on Mac OS Sonoma 14.5

Dear Xojo Developers,

Hello.

When I try to launch an application built with Xojo version 2024r3.1 on Mac OS Sonoma 14.5, a dialog box appears saying “Application xxx.app cannot be opened” and the application cannot be launched. What is the reason for this?

By the way, it launches without any problems on 15.2 (24C103).

The above was done by creating a project with only a window and compiling it for testing purposes.

Is your app properly signed and notarised?

I haven’t done that, but is it necessary?
The development environment I compiled it in 15.2 runs without any problems.

For your own apps on your own computer you don’t have to sign/notarise. But even then you have to deal with the hassle that Apple thinks everything not going through their servers is unsafe when you move the app to another computer. In Sonoma you could still open the app from the context menu. In Sequoia you need to do that somewhere in the System Settings. Even I have problems remembering how to do that.

Thank you for the detailed explanation. By the way, what steps should I take to fix the “In Sonoma you could still open the app from the context menu.”? I don’t see any options that look like they should be in the context menu.

Right click on the app and select Open. You may see a dialog that offers to let you open it anyway (unless it’s damaged in some other way)

There are other reasons however, including how you got the application to the machine in the first place. Downloading over the internet strips some of the dev allowances as well, whereas copying over a local network may not.