On Mac cannot open the application

Hello I build an application in Xcode for MacOS. But the exported app I cannot open on different Mac systems. I get the message 'The application X can't be opened'. I can only run the application on the Mac where Xcode is installed.

I used different signing certificates: Apple Distribution, Developer ID application (this should be the one), Mac App Distribution.

I archive the application, then use Direct Distribution, then after complished the notary service, I export the app.

Answered by DTS Engineer in 814217022

There are two ways to distribute Mac apps:

  • Via the App Store, including TestFlight

  • Via direct distribution, using Developer ID signing

It sounds like you want the latter. If so, you need to:

  1. Use Product > Archive to create an Xcode archive of your app.

  2. Use the Xcode organiser to notarise and export your app.

For general advice on this, see Notarizing macOS software before distribution.

However, a successfully notarisation doesn’t mean that your app will pass Gatekeeper. To see whether it does, I recommend the process described in Testing a Notarised Product.

If that fails, see Resolving Trusted Execution Problems for advice on how to debug it. Specifically, your first step should be the syspolicy_check tool.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

There are two ways to distribute Mac apps:

  • Via the App Store, including TestFlight

  • Via direct distribution, using Developer ID signing

It sounds like you want the latter. If so, you need to:

  1. Use Product > Archive to create an Xcode archive of your app.

  2. Use the Xcode organiser to notarise and export your app.

For general advice on this, see Notarizing macOS software before distribution.

However, a successfully notarisation doesn’t mean that your app will pass Gatekeeper. To see whether it does, I recommend the process described in Testing a Notarised Product.

If that fails, see Resolving Trusted Execution Problems for advice on how to debug it. Specifically, your first step should be the syspolicy_check tool.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

On Mac cannot open the application
 
 
Q