We have build a MacOS APP with Electron.
- electron - 19.0.13
- electron-builder - 22.9.1
Of course, we have signed and notarized it. Then we archive the APP to a ZIP file.
Now, the problem is the APP can be used normally in most MacOS machines, eg:
- iMac, 27-inch, 2020, Intel, macOS 12.6
- MacBook Pro, 14-inch, 2021, M1, macOS 12.5.1
- MacBook Pro, 15-inch, 2018, Intel, macOS 12.0.1
However, it has a tricky problem in the machine "MacBook Pro, 15-inch, 2018, Intel, macOS 12.3.1", which is "The application "xxx" can't be opened" without any error code. The APP is safe and notarized, but just show that it can't be opened with no reasons.
We have tried to repair it in almost all ways, but have no effects, eg:
- Use different tools to unzip the APP ZIP file
- Run
chmod +x <application_file>to make it executable - Run
codesign --force --deep --sign xxx.appto resign the APP
Does MacOS 12.3.1 have some strategies that lead to this problem?
I am yearning for ways to solve the problem even if the ways to find the reasons. Thanks for all your replies!