![]() ![]() You can extract "Install iTunes.pkg" with: $ pkgutil -expand "Install iTunes.pkg" "Install iTunes" I recommend to take a look at iTunes Installers Distribution.xml to see what is possible. You turn your component packages and distribution definition with this command into a product archive: $ productbuild -distribution. In the Distribution.xml you can change things like title, background, welcome, readme, license, and so on. package HelloWorld.pkg -package Helper.pkg \ Productbuild -synthesize results in a Distribution Definition. pkgbuild -root generates the component packages, if you don't need to change any of the default properties you can omit the -component-plist parameter in the following command. This give us the component-plist, you find the value description in the "Component Property List" section. $ cd ~/Library/Developer/Xcode/DerivedData/./InstallationBuildProductsLocation Our tools: pkgbuild, productbuild, and pkgutilĪfter a successful "Build and Archive" open $BUILT_PRODUCTS_DIR in the Terminal. Package can be installed on its own, it is typically incorporated into a product archive. We make a component package for each and combine them into a product archive.Ī component package contains payload to be installed by the OS X Installer. Our example project has two build targets: HelloWorld.app and Helper.app.
0 Comments
Leave a Reply. |