Skip to content

xcode_archive

Piotr Sękara edited this page Jan 22, 2020 · 3 revisions

Description

Used to archive your project.

Parameters:

clean

Indicates whether build folder should be cleaned.

  • Required: False
  • Type: Bool
  • *Default: True

configuration

Build configuration.

  • Required: False
  • Type: String

flags

Build flags.

  • Required: False
  • Type: Array(String)
  • Default: []

method

Export method.

  • Required: True
  • Type: Enum("ad-hoc", "app-store", "development", "developer-id", "enterprise", "package")

project

Your project or workspace name.

  • Required: True
  • Type: String

scheme

Scheme that should be used.

  • Required: True
  • Type: String

settings

Custom settings that will be used.

  • Required: False
  • Type: Hash(String)
  • Default: {}

Example

deploy:
    staging:
        - xcode_archive:
            project: $(XCODEBUILD_PROJECT)
            scheme: $(XCODEBUILD_SCHEME)
            method: "enterprise"
            settings: 
                _BUILD_NUMBER: $(ENV:BITRISE_BUILD_NUMBER)
Clone this wiki locally