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