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
Contents | Specifies the files of the application for the Contents directory. |
Frameworks | Specifies the files of the application for the Contents/Frameworks directory. |
GeneratePkgInfo | Specifies whether or not the PkgInfo file should be automatically generated for the application. |
MacOS | Specifies the files of the application for the Contents/MacOS directory. |
Output | A forward relative output path that specifies the output location of the application contents. |
PlugIns | Specifies the files of the application for the Contents/PlugIns directory. |
Resources | Specifies the files of the application for the Contents/Resources directory. |
SharedSupport | Specifies the files of the application for the Contents/SharedSupport directory. |
Parameters
Collection of RelativeContentsTaskOption
Aliases:
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.
Collection of RelativeContentsTaskOption
Aliases:
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.
Collection of RelativeContentsTaskOption
Aliases:
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.
Collection of RelativeContentsTaskOption
Aliases:
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.
Collection of RelativeContentsTaskOption
Aliases:
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.