The Mac’s market share has tripled since 2005. pkg file again.Apple was the only computer company whose sales actually increased during the recession.
#IMAGE2ICON MAC DOWNLOAD ZIP#
zip used for sending and empty the recycle bin. Xcrun stapler validate -verbose /YourPkgPath/YourAppName.pkg Check that the stapling was successful by entering the following command:.Xcrun stapler staple /YourPkgPath/YourAppName.pkg pkg file by entering the following command: Staple the proof of notarization to the.Xcrun altool -notarization-info 32625f6b-e7fa-4ac7-xxxxxxxxxxxxxxx -username -password "your notarization password" Check the logs for this operation by entering the following command.ĭon't forget to change the tracking number.Wait between 5 and 10 minutes to receive an email indicating the success of the notarization.Once this is done, copy the tracking number of the request which has this form:.Wait for the content to be uploaded successfully to Apple's servers.Make sure you change the and the file title. Xcrun altool -notarize-app -primary-bundle-id "" -username -password "your notarization password" -file /yourPkgPath/YourAppName.pkg. Open the terminal and enter the following command:.Empty the recycle bin (Be careful to delete all occurrences of the “YourAppName.app” file).Productsign -sign "Developer ID Installer: COMPANY NAME (COMPANY TEAM ID)" -keychain ~ / Library / Keychains / login.keychain-db "./" "./YourAppName.pkg" Sign “YourAppName.pkg” by entering the following command:.Press the “return” key (The “” file must be visible in the “mas” folder).Productbuild -distribution "./distribution.xml" -resources "./resources" -package-path "./YourAppName.pkg" "./" Save and close the “distribution.xml” file.Open the “distribution.xml” file with a text editor.Deposit a copy of the “ReadmeMac.txt” file.Press the “return” key (The “distribution.xml” file must be visible in the “mas” folder).Productbuild -synthesize -package "./YourAppName.pkg" distribution.xml Delete the “YourAppName.app” file in the “YourAppName” folder.Press the “return” key, wait for the word “wrote package to…” (The “YourAppName.pkg” file must be visible in the “mas” folder).Pkgbuild -root "./build" -install-location "/ Applications" "./YourAppName.pkg" Drop the “YourAppName.app” file in the “YourAppName” folder.
Remember to give Read / Write rights for the "Resources" folder (unlock the padlock to apply to sub-folders).If the application is linked to a “Resources” folder then drop the “Resources” folder in the “YourAppName” folder.Open the buildmas.sh file and change the first const:Ĭonst APP = "YourAppPath/mas/YourAppName.app".Rename “” to “YourAppName.app” (This is the signed application).Delete the “YourAppName.app” file (the file with the nwjs icon).Press the “return” key (The execution of the command must end with the word “done” and the “” file must be visible with the appropriate icon in the “mas” folder).Python build_mas.py -C build.cfg -I "./YourAppName.app" -O "" Drag the “mas” folder into the terminal window.Type the "cd " command (space is important) DO NOT PRESS RETURN YET !.Replace “CFBundleName = My App” by “CFBundleName = YourAppName”.” by “CFBundleGetInfoString = YourAppName 1.0.0, Copyright 2020 Your Company Name. Replace “CFBundleGetInfoString = My App 1.0.0, Copyright 2016 My Company.
Replace “CFBundleDisplayName = My App” by “CFBundleDisplayName = YourAppName”.Replace “Icon = path / to / custom / icon.icns” by “Icon = icone.icns”.Replace “CFBundleIdentifier = ” by “CFBundleIdentifier = ”.Replace “NWTeamID = XXXXXXXXXX” by “NWTeamID = YOURAPPLETEAMID”.Replace “InstallerIdentity = 3rd Party Mac Developer Installer: Foo (XXXXXXXXXX)” by “InstallerIdentity = Developer ID Installer: COMPANY NAME (COMPANY TEAM ID)”.Replace “Sandbox = Yes” by “Sandbox = No”.Replace “ApplicationIdentity = 3rd Party Mac Developer Application: Foo (XXXXXXXXXX)” by “ApplicationIdentity = Developer ID Application: COMPANY NAME (COMPANY TEAM ID)”.Open the “build.cfg” file with a text editor.