saker.apple Documentation TaskDoc JavaDoc Packages
Creates a macOS application bundle with the specified contents. The task can be used to create the .app application bundle for a macOS app. It will fill a directory with the contents of the application in the specified manner. Please refer to https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html for the structure of a macOS application.
Summary
Parameters
ContentsSpecifies the files of the application for the Contents directory.
FrameworksSpecifies the files of the application for the Contents/Frameworks directory.
GeneratePkgInfoSpecifies whether or not the PkgInfo file should be automatically generated for the application.
MacOSSpecifies the files of the application for the Contents/MacOS directory.
OutputA forward relative output path that specifies the output location of the application contents.
PlugInsSpecifies the files of the application for the Contents/PlugIns directory.
ResourcesSpecifies the files of the application for the Contents/Resources directory.
SharedSupportSpecifies the files of the application for the Contents/SharedSupport directory.
Parameters
Specifies the files of the application for the Contents directory. All files specified in the parameter are placed in the Contents directory of the application bundle.
Specifies the files of the application for the Contents/Frameworks directory. All files specified in the parameter are placed in the Contents/Frameworks directory of the application bundle.
Specifies whether or not the PkgInfo file should be automatically generated for the application. If set to true, the PkgInfo file will be generated with appropriate contents for the application. The contents are determined based on the Info.plist file entries. The default is true. If the PkgInfo file is already specified as content or no Info.plist file is given, then it won't be generated.
Specifies the files of the application for the Contents/MacOS directory. All files specified in the parameter are placed in the Contents/MacOS directory of the application bundle. Typically, this directory contains only one binary file with your application´┐Żs main entry point and statically linked code. However, you may put other standalone executables (such as command-line tools) in this directory as well.
A forward relative output path that specifies the output location of the application contents. It can be used to have a better output location than the automatically generated one.
Specifies the files of the application for the Contents/PlugIns directory. All files specified in the parameter are placed in the Contents/PlugIns directory of the application bundle.
Specifies the files of the application for the Contents/Resources directory. All files specified in the parameter are placed in the Contents/Resources directory of the application bundle.
Specifies the files of the application for the Contents/SharedSupport directory. All files specified in the parameter are placed in the Contents/SharedSupport directory of the application bundle.