![]() ![]() Open a Terminal window and execute the following command, where APP_NAME.app is the name of the app (you can use CMD + V if you have copied the path as per Step 1) and the OUTPUT_FOLDER and CONVERTED_APP are the output folder and name for the converted app respectively.Executing the command will ask you the password for your macOS device and once provided the PKG file will be generated in the output folder provided above.Ĭommand sudo productbuild -component /Application/APP_NAME.app /OUTPUT_FOLDER/CONVERTED_APP.pkg Example sudo productbuild -component /Applications/ ~/Desktop/Wordpress.pkg.MacOS does not allow for applications from unidentified developers to be installed. Hence a PKG file would have to be signed with a developer certificate to provide an identity. Step 3.1: Creating a Certificate Signing Request Follow the steps below to sign a PKG file. Navigate to /Applications/Utilities and launch Keychain Access.Go to Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.This opens the Certificate Assistant dialog box.User Email Address: Enter an email address.Įnter the following Certificate Information,.Common Name: Enter a name for the key (for example, John Doe).CA Email Address: Leave this field empty.Click Continue after entering above details.Select the path where you want the CSR(Certificate Signing Request) to be saved and save it.Step 3.2: Generate a Installer Certificate The Certificate Signing Request file gets created. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |