ENUM
Product
Contents
- Cases
appstaticLibrarydynamicLibraryframeworkstaticFrameworkunitTestsuiTestsbundlecommandLineToolappClipappExtensionwatch2Appwatch2ExtensiontvTopShelfExtensionmessagesExtensionstickerPackExtensionxpcsystemExtensionextensionKitExtensionmacro
swift
public enum Product: String, Codable, Equatable, SendablePossible products types.
Cases
app
swift
case appAn application.
staticLibrary
swift
case staticLibrary = "static_library"A static library.
dynamicLibrary
swift
case dynamicLibrary = "dynamic_library"A dynamic library.
framework
swift
case frameworkA dynamic framework.
staticFramework
swift
case staticFrameworkA static framework.
unitTests
swift
case unitTests = "unit_tests"A unit tests bundle.
uiTests
swift
case uiTests = "ui_tests"A UI tests bundle.
bundle
swift
case bundleA custom bundle. (currently only iOS resource bundles are supported).
commandLineTool
swift
case commandLineToolA command line tool (macOS platform only).
appClip
swift
case appClipAn appClip. (iOS platform only).
appExtension
swift
case appExtension = "app_extension"An application extension.
watch2App
swift
case watch2AppA Watch application. (watchOS platform only) .
watch2Extension
swift
case watch2ExtensionA Watch application extension. (watchOS platform only).
tvTopShelfExtension
swift
case tvTopShelfExtensionA TV Top Shelf Extension.
messagesExtension
swift
case messagesExtensionAn iMessage extension. (iOS platform only)
stickerPackExtension
swift
case stickerPackExtension = "sticker_pack_extension"A sticker pack extension.
xpc
swift
case xpcAn XPC. (macOS platform only).
systemExtension
swift
case systemExtensionAn system extension. (macOS platform only).
extensionKitExtension
swift
case extensionKitExtension = "extension_kit_extension"An ExtensionKit extension.
macro
swift
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.
