In Monaca, Electron appliation has two types of build: debug version and release version. The differences between these types of build are as follows:
|Types of Build||Description|
|Debug Build||DevTools are shown by default when the application is launched. It can be closed or opened manually.|
|Release Build||There are no DevTools.|
Fill in the necessary information of your app:
|Application Name||The application name.|
|App ID||A unique name which will be used when uploading to the Store. It is recommended to use reverse-domain style (for example, io.monaca.app_name) for App ID. Only alphanumeric characters, periods (at least one period must be used) and underscore are allowed. Each segment should be separated by a period and started with an alphabetic character.|
|Version Number||The version number of your app. A version number consist of only number seperated by dots (for example, 1.0.0)|
|Application Description||The description of your application.|
You can set the application icon. PNG format is supported. Icon should be at least
512x512 pixels to work across all operating systems.
After finishing the configurations, click Save.
From the Monaca Cloud IDE menu, go to
Build App for macOS.
Select appropriate type of build you want and click Start Build button.
It may take several minutes for the build to complete. Please wait. Once the build is completed, your built application is ready to be downloaded.
Extract the downloaded zip file.
Double click on application file. The system might display a warning dialog since the application is not signed.
Allow to run unsigned application. First, open the
System Preferences and go to
Security & Privacy
Then click on
Open Anyway to allow running the unsigned application that we just downloaded.
Get a Developer ID Certificate from Apple and install it into your Mac’s Keychain.
Sign your application bundle by running following command:
$ codesign --deep --force --verbose --sign "<identity>" "Application.app"
Once it is done, you can verify whether the application is signed by running the following command:
$ codesign --verify -vvvv "Application.app"
See the screenshot below for more detail.