ENUM
Product
Contents
- Cases
appstaticLibrarydynamicLibraryframeworkstaticFrameworkunitTestsuiTestsbundlecommandLineToolappExtensionwatch2Appwatch2ExtensiontvTopShelfExtensionmessagesExtensionstickerPackExtensionappClipxpcsystemExtensionextensionKitExtensionmacroaggregateTarget
public enum Product: String, Codable, Equatable, CaseIterablePossible products types.
Cases
app
case appAn application.
staticLibrary
case staticLibrary = "static_library"A static library.
dynamicLibrary
case dynamicLibrary = "dynamic_library"A dynamic library.
framework
case frameworkA dynamic framework.
staticFramework
case staticFrameworkA static framework.
unitTests
case unitTests = "unit_tests"A unit tests bundle.
uiTests
case uiTests = "ui_tests"A UI tests bundle.
bundle
case bundleA custom bundle. (currently only iOS resource bundles are supported).
commandLineTool
case commandLineToolA command line tool (macOS platform only).
appExtension
case appExtension = "app_extension"An application extension.
watch2App
case watch2AppA Watch application. (watchOS platform only) .
watch2Extension
case watch2ExtensionA Watch application extension. (watchOS platform only).
tvTopShelfExtension
case tvTopShelfExtensionA TV Top Shelf Extension.
messagesExtension
case messagesExtensionAn iMessage extension. (iOS platform only)
stickerPackExtension
case stickerPackExtension = "sticker_pack_extension"A sticker pack extension.
appClip
case appClipAn appClip. (iOS platform only).
xpc
case xpcAn XPC. (macOS platform only).
systemExtension
case systemExtensionAn system extension. (macOS platform only).
extensionKitExtension
case extensionKitExtension = "extension_kit_extension"An ExtensionKit extension.
macro
case macroA Swift Macro Although Apple doesn't officially support Swift Macro Xcode Project targets, we enable them by adding a command line tool target, a target dependency in the dependent targets, and the right build settings to use the macro executable.
aggregateTarget
case aggregateTarget = "aggregate_target"Aggregate target a spacial type of target that lets you build a group of target at once An aggregate target has no associated product and no build rules
