Options
All
  • Public
  • Public/Protected
  • All
Menu

fastlanejs

App Automation done right - in Javascript!

A Javascript/Typescript interface generated automatically from the excellent Fastlane project

API Documentation

Index

Classes

Type aliases

Functions

Type aliases

AdbDevicesOptions

AdbDevicesOptions: { adbPath?: string }

Shape for adbDevices options argument

Type declaration

  • Optional adbPath?: string

    The path to your adb binary (can be left blank if the ANDROID_SDK_ROOT environment variable is set)

AdbOptions

AdbOptions: { adbPath?: string; command?: string; serial: string }

Shape for adb options argument

Type declaration

  • Optional adbPath?: string

    The path to your adb binary (can be left blank if the ANDROID_SDK_ROOT, ANDROID_HOME or ANDROID_SDK environment variable is set)

  • Optional command?: string

    All commands you want to pass to the adb command, e.g. kill-server

  • serial: string

    Android serial of the device to use for this command

AddExtraPlatformsOptions

AddExtraPlatformsOptions: { platforms: string[] }

Shape for addExtraPlatforms options argument

Type declaration

  • platforms: string[]

    The optional extra platforms to support

AddGitTagOptions

AddGitTagOptions: { buildNumber?: string; commit?: string; force?: boolean; grouping: string; includesLane: boolean; message?: string; postfix: string; prefix: string; sign?: boolean; tag?: string }

Shape for addGitTag options argument

Type declaration

  • Optional buildNumber?: string

    The build number. Defaults to the result of increment_build_number if you're using it

  • Optional commit?: string

    The commit or object where the tag will be set. Defaults to the current HEAD

  • Optional force?: boolean

    Force adding the tag

  • grouping: string

    Is used to keep your tags organised under one 'folder'

  • includesLane: boolean

    Whether the current lane should be included in the tag and message composition, e.g. '//'

  • Optional message?: string

    The tag message. Defaults to the tag's name

  • postfix: string

    Anything you want to put at the end of the version number (e.g. '-RC1')

  • prefix: string

    Anything you want to put in front of the version number (e.g. 'v')

  • Optional sign?: boolean

    Make a GPG-signed tag, using the default e-mail address's key

  • Optional tag?: string

    Define your own tag text. This will replace all other parameters

AppStoreBuildNumberOptions

AppStoreBuildNumberOptions: { apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string; initialBuildNumber: string; live?: boolean; platform?: string; teamId?: string; teamName?: string; username?: string; version?: string }

Shape for appStoreBuildNumber options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string

    The bundle identifier of your app

  • initialBuildNumber: string

    sets the build number to given value if no build is in current train

  • Optional live?: boolean

    Query the live version (ready-for-sale)

  • Optional platform?: string

    The platform to use (optional)

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional username?: string

    Your Apple ID Username

  • Optional version?: string

    The version number whose latest build number we want

AppStoreConnectApiKeyOptions

AppStoreConnectApiKeyOptions: { duration?: any; inHouse: boolean; isKeyContentBase64: boolean; issuerId: string; keyContent?: string; keyFilepath?: string; keyId: string; setSpaceshipToken: boolean }

Shape for appStoreConnectApiKey options argument

Type declaration

  • Optional duration?: any

    The token session duration

  • inHouse: boolean

    Is App Store or Enterprise (in house) team? App Store Connect API cannot determine this on its own (yet)

  • isKeyContentBase64: boolean

    Whether :key_content is Base64 encoded or not

  • issuerId: string

    The issuer ID

  • Optional keyContent?: string

    The content of the key p8 file

  • Optional keyFilepath?: string

    The path to the key p8 file

  • keyId: string

    The key ID

  • setSpaceshipToken: boolean

    Authorizes all Spaceship::ConnectAPI requests by automatically setting Spaceship::ConnectAPI.token

AppaloosaOptions

AppaloosaOptions: { apiToken: string; binary: string; changelog?: string; description?: string; device?: string; groupIds?: string; locale?: string; screenshots: string; storeId: string }

Shape for appaloosa options argument

Type declaration

  • apiToken: string

    Your API token

  • binary: string

    Binary path. Optional for ipa if you use the ipa or xcodebuild action

  • Optional changelog?: string

    Your app changelog

  • Optional description?: string

    Your app description

  • Optional device?: string

    Select the device format for your screenshots

  • Optional groupIds?: string

    Your app is limited to special users? Give us the group ids

  • Optional locale?: string

    Select the folder locale for your screenshots

  • screenshots: string

    Add some screenshots application to your store or hit [enter]

  • storeId: string

    Your Store id

AppetizeOptions

AppetizeOptions: { apiHost: string; apiToken: string; note?: string; path?: string; platform: string; publicKey?: string; timeout?: any; url?: string }

Shape for appetize options argument

Type declaration

  • apiHost: string

    Appetize API host

  • apiToken: string

    Appetize.io API Token

  • Optional note?: string

    Notes you wish to add to the uploaded app

  • Optional path?: string

    Path to zipped build on the local filesystem. Either this or url must be specified

  • platform: string

    Platform. Either ios or android

  • Optional publicKey?: string

    If not provided, a new app will be created. If provided, the existing build will be overwritten

  • Optional timeout?: any

    The number of seconds to wait until automatically ending the session due to user inactivity. Must be 30, 60, 90, 120, 180, 300, 600, 1800, 3600 or 7200. Default is 120

  • Optional url?: string

    URL from which the ipa file can be fetched. Alternative to :path

AppetizeViewingUrlGeneratorOptions

AppetizeViewingUrlGeneratorOptions: { baseUrl?: string; color: string; device: string; language?: string; launchUrl?: string; orientation: string; osVersion?: string; params?: string; proxy?: string; publicKey: string; scale?: string }

Shape for appetizeViewingUrlGenerator options argument

Type declaration

  • Optional baseUrl?: string

    Base URL of Appetize service

  • color: string

    Color of the device

  • device: string

    Device type: iphone4s, iphone5s, iphone6, iphone6plus, ipadair, iphone6s, iphone6splus, ipadair2, nexus5, nexus7 or nexus9

  • Optional language?: string

    Device language in ISO 639-1 language code, e.g. 'de'

  • Optional launchUrl?: string

    Specify a deep link to open when your app is launched

  • orientation: string

    Device orientation

  • Optional osVersion?: string

    The operating system version on which to run your app, e.g. 10.3, 8.0

  • Optional params?: string

    Specify params value to be passed to Appetize

  • Optional proxy?: string

    Specify a HTTP proxy to be passed to Appetize

  • publicKey: string

    Public key of the app you wish to update

  • Optional scale?: string

    Scale of the simulator

AppiumOptions

AppiumOptions: { appPath: string; appiumLib?: { string: string }; appiumPath?: string; caps?: { string: string }; host?: string; invokeAppiumServer?: boolean; platform: string; port?: any; specPath: string }

Shape for appium options argument

Type declaration

  • appPath: string

    Path to Appium target app file

  • Optional appiumLib?: { string: string }

    Hash of appium_lib for Appium::Driver

    • string: string
  • Optional appiumPath?: string

    Path to Appium executable

  • Optional caps?: { string: string }

    Hash of caps for Appium::Driver

    • string: string
  • Optional host?: string

    Hostname of Appium server

  • Optional invokeAppiumServer?: boolean

    Use local Appium server with invoke automatically

  • platform: string

    Appium platform name

  • Optional port?: any

    HTTP port of Appium server

  • specPath: string

    Path to Appium spec directory

AppledocOptions

AppledocOptions: { cleanOutput: boolean; companyId?: string; createDocset: boolean; createHtml: boolean; crossrefFormat?: string; docsSectionTitle?: string; docsetAtomFilename?: string; docsetBundleFilename?: string; docsetBundleId?: string; docsetBundleName?: string; docsetCertIssuer?: string; docsetCertSigner?: string; docsetCopyright?: string; docsetDesc?: string; docsetFallbackUrl?: string; docsetFeedFormats?: string; docsetFeedName?: string; docsetFeedUrl?: string; docsetInstallPath?: string; docsetMinXcodeVersion?: string; docsetPackageFilename?: string; docsetPackageUrl?: string; docsetPlatformFamily?: string; docsetPublisherId?: string; docsetPublisherName?: string; docsetXmlFilename?: string; excludeOutput?: string[]; exitThreshold?: any; htmlAnchors?: string; ignore?: string[]; include?: string; indexDesc?: string; input: string[]; installDocset: boolean; logformat?: any; noCreateDocset: boolean; options?: string; output?: string; projectCompany: string; projectName: string; projectVersion?: string; publishDocset: boolean; templates?: string; verbose?: string; warnings?: string }

Shape for appledoc options argument

Type declaration

  • cleanOutput: boolean

    Remove contents of output path before starting

  • Optional companyId?: string

    Company UTI (i.e. reverse DNS name)

  • createDocset: boolean

    Create documentation set

  • createHtml: boolean

    Create HTML

  • Optional crossrefFormat?: string

    Cross reference template regex

  • Optional docsSectionTitle?: string

    Title of the documentation section (defaults to "Programming Guides"

  • Optional docsetAtomFilename?: string

    DocSet atom feed filename

  • Optional docsetBundleFilename?: string

    DocSet bundle filename

  • Optional docsetBundleId?: string

    DocSet bundle identifier

  • Optional docsetBundleName?: string

    DocSet bundle name

  • Optional docsetCertIssuer?: string

    DocSet certificate issuer

  • Optional docsetCertSigner?: string

    DocSet certificate signer

  • Optional docsetCopyright?: string

    DocSet copyright message

  • Optional docsetDesc?: string

    DocSet description

  • Optional docsetFallbackUrl?: string

    DocSet fallback URL

  • Optional docsetFeedFormats?: string

    DocSet feed formats. Separated by a comma [atom,xml]

  • Optional docsetFeedName?: string

    DocSet feed name

  • Optional docsetFeedUrl?: string

    DocSet feed URL

  • Optional docsetInstallPath?: string

    DocSet installation path

  • Optional docsetMinXcodeVersion?: string

    DocSet min. Xcode version

  • Optional docsetPackageFilename?: string

    DocSet package (.xar,.tgz) filename

  • Optional docsetPackageUrl?: string

    DocSet package (.xar) URL

  • Optional docsetPlatformFamily?: string

    DocSet platform family

  • Optional docsetPublisherId?: string

    DocSet publisher identifier

  • Optional docsetPublisherName?: string

    DocSet publisher name

  • Optional docsetXmlFilename?: string

    DocSet xml feed filename

  • Optional excludeOutput?: string[]

    Exclude given path from output

  • Optional exitThreshold?: any

    Exit code threshold below which 0 is returned

  • Optional htmlAnchors?: string

    The html anchor format to use in DocSet HTML

  • Optional ignore?: string[]

    Ignore given path

  • Optional include?: string

    Include static doc(s) at path

  • Optional indexDesc?: string

    File including main index description

  • input: string[]

    Path(s) to source file directories or individual source files. Accepts a single path or an array of paths

  • installDocset: boolean

    Install documentation set to Xcode

  • Optional logformat?: any

    Log format [0-3]

  • noCreateDocset: boolean

    Create HTML and skip creating a DocSet

  • Optional options?: string

    Documentation generation options

  • Optional output?: string

    Output path

  • projectCompany: string

    Project company

  • projectName: string

    Project name

  • Optional projectVersion?: string

    Project version

  • publishDocset: boolean

    Prepare DocSet for publishing

  • Optional templates?: string

    Template files path

  • Optional verbose?: string

    Log verbosity level [0-6,xcode]

  • Optional warnings?: string

    Documentation generation warnings

AppstoreOptions

AppstoreOptions: { apiKey?: { string: string }; apiKeyPath?: string; app?: any; appIcon?: string; appIdentifier?: string; appRatingConfigPath?: string; appReviewAttachmentFile?: string; appReviewInformation?: { string: string }; appVersion?: string; appleTvPrivacyPolicy?: { string: string }; appleWatchAppIcon?: string; autoReleaseDate?: any; automaticRelease?: boolean; buildNumber?: string; copyright?: string; description?: { string: string }; devPortalTeamId?: string; devPortalTeamName?: string; editLive?: boolean; force: boolean; ignoreLanguageDirectoryValidation: boolean; individualMetadataItems?: string[]; ipa?: string; itcProvider?: string; keywords?: { string: string }; languages?: string[]; marketingUrl?: { string: string }; metadataPath?: string; name?: { string: string }; overwriteScreenshots: boolean; phasedRelease?: boolean; pkg?: string; platform?: string; precheckDefaultRuleLevel: any; precheckIncludeInAppPurchases?: boolean; priceTier?: any; primaryCategory?: string; primaryFirstSubCategory?: string; primarySecondSubCategory?: string; privacyUrl?: { string: string }; promotionalText?: { string: string }; rejectIfPossible: boolean; releaseNotes?: { string: string }; resetRatings?: boolean; runPrecheckBeforeSubmit: boolean; screenshotProcessingTimeout: any; screenshotsPath?: string; secondaryCategory?: string; secondaryFirstSubCategory?: string; secondarySecondSubCategory?: string; skipAppVersionUpdate: boolean; skipBinaryUpload: boolean; skipMetadata: boolean; skipScreenshots: boolean; submissionInformation?: { string: string }; submitForReview: boolean; subtitle?: { string: string }; supportUrl?: { string: string }; syncScreenshots: boolean; teamId?: string; teamName?: string; tradeRepresentativeContactInformation?: { string: string }; useLiveVersion: boolean; username?: string; verifyOnly: boolean; versionCheckWaitRetryLimit: any }

Shape for appstore options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • Optional app?: any

    The (spaceship) app ID of the app you want to use/modify

  • Optional appIcon?: string

    DEPRECATED! Removed after the migration to the new App Store Connect API in June 2020 - Metadata: The path to the app icon

  • Optional appIdentifier?: string

    The bundle identifier of your app

  • Optional appRatingConfigPath?: string

    Path to the app rating's config

  • Optional appReviewAttachmentFile?: string

    Metadata: Path to the app review attachment file

  • Optional appReviewInformation?: { string: string }

    Metadata: A hash containing the review information

    • string: string
  • Optional appVersion?: string

    The version that should be edited or created

  • Optional appleTvPrivacyPolicy?: { string: string }

    Metadata: Localised Apple TV privacy policy text

    • string: string
  • Optional appleWatchAppIcon?: string

    DEPRECATED! Removed after the migration to the new App Store Connect API in June 2020 - Metadata: The path to the Apple Watch app icon

  • Optional autoReleaseDate?: any

    Date in milliseconds for automatically releasing on pending approval (Cannot be used together with automatic_release)

  • Optional automaticRelease?: boolean

    Should the app be automatically released once it's approved? (Cannot be used together with auto_release_date)

  • Optional buildNumber?: string

    If set the given build number (already uploaded to iTC) will be used instead of the current built one

  • Optional copyright?: string

    Metadata: The copyright notice

  • Optional description?: { string: string }

    Metadata: The localised app description

    • string: string
  • Optional devPortalTeamId?: string

    The short ID of your Developer Portal team, if you're in multiple teams. Different from your iTC team ID!

  • Optional devPortalTeamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional editLive?: boolean

    Modify live metadata, this option disables ipa upload and screenshot upload

  • force: boolean

    Skip verification of HTML preview file

  • ignoreLanguageDirectoryValidation: boolean

    Ignore errors when invalid languages are found in metadata and screenshot directories

  • Optional individualMetadataItems?: string[]

    DEPRECATED! Removed after the migration to the new App Store Connect API in June 2020 - An array of localized metadata items to upload individually by language so that errors can be identified. E.g. ['name', 'keywords', 'description']. Note: slow

  • Optional ipa?: string

    Path to your ipa file

  • Optional itcProvider?: string

    The provider short name to be used with the iTMSTransporter to identify your team. This value will override the automatically detected provider short name. To get provider short name run pathToXcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter -m provider -u 'USERNAME' -p 'PASSWORD' -account_type itunes_connect -v off. The short names of providers should be listed in the second column

  • Optional keywords?: { string: string }

    Metadata: An array of localised keywords

    • string: string
  • Optional languages?: string[]

    Metadata: List of languages to activate

  • Optional marketingUrl?: { string: string }

    Metadata: Localised marketing url

    • string: string
  • Optional metadataPath?: string

    Path to the folder containing the metadata files

  • Optional name?: { string: string }

    Metadata: The localised app name

    • string: string
  • overwriteScreenshots: boolean

    Clear all previously uploaded screenshots before uploading the new ones

  • Optional phasedRelease?: boolean

    Enable the phased release feature of iTC

  • Optional pkg?: string

    Path to your pkg file

  • Optional platform?: string

    The platform to use (optional)

  • precheckDefaultRuleLevel: any

    The default precheck rule level unless otherwise configured

  • Optional precheckIncludeInAppPurchases?: boolean

    Should precheck check in-app purchases?

  • Optional priceTier?: any

    The price tier of this application

  • Optional primaryCategory?: string

    Metadata: The english name of the primary category (e.g. Business, Books)

  • Optional primaryFirstSubCategory?: string

    Metadata: The english name of the primary first sub category (e.g. Educational, Puzzle)

  • Optional primarySecondSubCategory?: string

    Metadata: The english name of the primary second sub category (e.g. Educational, Puzzle)

  • Optional privacyUrl?: { string: string }

    Metadata: Localised privacy url

    • string: string
  • Optional promotionalText?: { string: string }

    Metadata: An array of localised promotional texts

    • string: string
  • rejectIfPossible: boolean

    Rejects the previously submitted build if it's in a state where it's possible

  • Optional releaseNotes?: { string: string }

    Metadata: Localised release notes for this version

    • string: string
  • Optional resetRatings?: boolean

    Reset the summary rating when you release a new version of the application

  • runPrecheckBeforeSubmit: boolean

    Run precheck before submitting to app review

  • screenshotProcessingTimeout: any

    Timeout in seconds to wait before considering screenshot processing as failed, used to handle cases where uploads to the App Store are stuck in processing

  • Optional screenshotsPath?: string

    Path to the folder containing the screenshots

  • Optional secondaryCategory?: string

    Metadata: The english name of the secondary category (e.g. Business, Books)

  • Optional secondaryFirstSubCategory?: string

    Metadata: The english name of the secondary first sub category (e.g. Educational, Puzzle)

  • Optional secondarySecondSubCategory?: string

    Metadata: The english name of the secondary second sub category (e.g. Educational, Puzzle)

  • skipAppVersionUpdate: boolean

    Don’t create or update the app version that is being prepared for submission

  • skipBinaryUpload: boolean

    Skip uploading an ipa or pkg to App Store Connect

  • skipMetadata: boolean

    Don't upload the metadata (e.g. title, description). This will still upload screenshots

  • skipScreenshots: boolean

    Don't upload the screenshots

  • Optional submissionInformation?: { string: string }

    Extra information for the submission (e.g. compliance specifications, IDFA settings)

    • string: string
  • submitForReview: boolean

    Submit the new version for Review after uploading everything

  • Optional subtitle?: { string: string }

    Metadata: The localised app subtitle

    • string: string
  • Optional supportUrl?: { string: string }

    Metadata: Localised support url

    • string: string
  • syncScreenshots: boolean

    Sync screenshots with local ones. This is currently beta option so set true to 'FASTLANE_ENABLE_BETA_DELIVER_SYNC_SCREENSHOTS' environment variable as well

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional tradeRepresentativeContactInformation?: { string: string }

    DEPRECATED! This is no longer used by App Store Connect - Metadata: A hash containing the trade representative contact information

    • string: string
  • useLiveVersion: boolean

    Force usage of live version rather than edit version

  • Optional username?: string

    Your Apple ID Username

  • verifyOnly: boolean

    Verifies archive with App Store Connect without uploading

  • versionCheckWaitRetryLimit: any

    After submitting a new version, App Store Connect takes some time to recognize the new version and we must wait until it's available before attempting to upload metadata for it. There is a mechanism that will check if it's available and retry with an exponential backoff if it's not available yet. This option specifies how many times we should retry before giving up. Setting this to a value below 5 is not recommended and will likely cause failures. Increase this parameter when Apple servers seem to be degraded or slow

ApteligentOptions

ApteligentOptions: { apiKey: string; appId: string; dsym?: string }

Shape for apteligent options argument

Type declaration

  • apiKey: string

    Apteligent App API key e.g. IXPQIi8yCbHaLliqzRoo065tH0lxxxxx

  • appId: string

    Apteligent App ID key e.g. 569f5c87cb99e10e00c7xxxx

  • Optional dsym?: string

    dSYM.zip file to upload to Apteligent

ArtifactoryOptions

ArtifactoryOptions: { apiKey?: string; endpoint: string; file: string; password?: string; properties?: { string: string }; proxyAddress?: string; proxyPassword?: string; proxyPort?: string; proxyUsername?: string; readTimeout?: string; repo: string; repoPath: string; sslPemFile?: string; sslVerify?: boolean; username?: string }

Shape for artifactory options argument

Type declaration

  • Optional apiKey?: string

    Artifactory API key

  • endpoint: string

    Artifactory endpoint

  • file: string

    File to be uploaded to artifactory

  • Optional password?: string

    Artifactory password

  • Optional properties?: { string: string }

    Artifact properties hash

    • string: string
  • Optional proxyAddress?: string

    Proxy address

  • Optional proxyPassword?: string

    Proxy password

  • Optional proxyPort?: string

    Proxy port

  • Optional proxyUsername?: string

    Proxy username

  • Optional readTimeout?: string

    Read timeout

  • repo: string

    Artifactory repo to put the file in

  • repoPath: string

    Path to deploy within the repo, including filename

  • Optional sslPemFile?: string

    Location of pem file to use for ssl verification

  • Optional sslVerify?: boolean

    Verify SSL

  • Optional username?: string

    Artifactory username

AutomaticCodeSigningOptions

AutomaticCodeSigningOptions: { bundleIdentifier?: string; codeSignIdentity?: string; path: string; profileName?: string; profileUuid?: string; targets?: string[]; teamId?: string; useAutomaticSigning: boolean }

Shape for automaticCodeSigning options argument

Type declaration

  • Optional bundleIdentifier?: string

    Application Product Bundle Identifier

  • Optional codeSignIdentity?: string

    Code signing identity type (iPhone Developer, iPhone Distribution)

  • path: string

    Path to your Xcode project

  • Optional profileName?: string

    Provisioning profile name to use for code signing

  • Optional profileUuid?: string

    Provisioning profile UUID to use for code signing

  • Optional targets?: string[]

    Specify targets you want to toggle the signing mech. (default to all targets)

  • Optional teamId?: string

    Team ID, is used when upgrading project

  • useAutomaticSigning: boolean

    Defines if project should use automatic signing

BackupFileOptions

BackupFileOptions: { path: string }

Shape for backupFile options argument

Type declaration

  • path: string

    Path to the file you want to backup

BackupXcarchiveOptions

BackupXcarchiveOptions: { destination: string; versioned?: boolean; xcarchive: string; zip?: boolean; zipFilename?: string }

Shape for backupXcarchive options argument

Type declaration

  • destination: string

    Where your archive will be placed

  • Optional versioned?: boolean

    Create a versioned (date and app version) subfolder where to put the archive

  • xcarchive: string

    Path to your xcarchive file. Optional if you use the xcodebuild action

  • Optional zip?: boolean

    Enable compression of the archive

  • Optional zipFilename?: string

    Filename of the compressed archive. Will be appended by .xcarchive.zip. Default value is the output xcarchive filename

BadgeOptions

BadgeOptions: { alpha?: boolean; alphaChannel?: boolean; custom?: string; dark?: boolean; glob?: string; noBadge?: boolean; path?: string; shield?: string; shieldGravity?: string; shieldIoTimeout?: any; shieldNoResize?: boolean }

Shape for badge options argument

Type declaration

  • Optional alpha?: boolean

    Adds and alpha badge instead of the default beta one

  • Optional alphaChannel?: boolean

    Keeps/adds an alpha channel to the icon (useful for android icons)

  • Optional custom?: string

    Add your custom overlay/badge image

  • Optional dark?: boolean

    Adds a dark flavored badge on top of your icon

  • Optional glob?: string

    Glob pattern for finding image files

  • Optional noBadge?: boolean

    Hides the beta badge

  • Optional path?: string

    Sets the root path to look for AppIcons

  • Optional shield?: string

    Add a shield to your app icon from shields.io

  • Optional shieldGravity?: string

    Position of shield on icon. Default: North - Choices include: NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast

  • Optional shieldIoTimeout?: any

    Set custom duration for the timeout of the shields.io request in seconds

  • Optional shieldNoResize?: boolean

    Shield image will no longer be resized to aspect fill the full icon. Instead it will only be shrunk to not exceed the icon graphic

BuildAndUploadToAppetizeOptions

BuildAndUploadToAppetizeOptions: { apiToken: string; note?: string; publicKey?: string; scheme?: string; timeout?: any; xcodebuild?: { string: string } }

Shape for buildAndUploadToAppetize options argument

Type declaration

  • apiToken: string

    Appetize.io API Token

  • Optional note?: string

    Notes you wish to add to the uploaded app

  • Optional publicKey?: string

    If not provided, a new app will be created. If provided, the existing build will be overwritten

  • Optional scheme?: string

    The scheme to build. Can also be passed using the xcodebuild parameter

  • Optional timeout?: any

    The number of seconds to wait until automatically ending the session due to user inactivity. Must be 30, 60, 90, 120, 180, 300, 600, 1800, 3600 or 7200. Default is 120

  • Optional xcodebuild?: { string: string }

    Parameters that are passed to the xcodebuild action

    • string: string

BuildAndroidAppOptions

BuildAndroidAppOptions: { buildType?: string; flags?: string; flavor?: string; gradlePath?: string; printCommand: boolean; printCommandOutput: boolean; projectDir: string; properties?: { string: string }; serial: string; systemProperties?: { string: string }; task?: string; tasks?: string[] }

Shape for buildAndroidApp options argument

Type declaration

  • Optional buildType?: string

    The build type that you want the task for, e.g. Release. Useful for some tasks such as assemble

  • Optional flags?: string

    All parameter flags you want to pass to the gradle command, e.g. --exitcode --xml file.xml

  • Optional flavor?: string

    The flavor that you want the task for, e.g. MyFlavor. If you are running the assemble task in a multi-flavor project, and you rely on Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] then you must specify a flavor here or else this value will be undefined

  • Optional gradlePath?: string

    The path to your gradlew. If you specify a relative path, it is assumed to be relative to the project_dir

  • printCommand: boolean

    Control whether the generated Gradle command is printed as output before running it (true/false)

  • printCommandOutput: boolean

    Control whether the output produced by given Gradle command is printed while running (true/false)

  • projectDir: string

    The root directory of the gradle project

  • Optional properties?: { string: string }

    Gradle properties to be exposed to the gradle script

    • string: string
  • serial: string

    Android serial, which device should be used for this command

  • Optional systemProperties?: { string: string }

    Gradle system properties to be exposed to the gradle script

    • string: string
  • Optional task?: string

    The gradle task you want to execute, e.g. assemble, bundle or test. For tasks such as assembleMyFlavorRelease you should use gradle(task: 'assemble', flavor: 'Myflavor', build_type: 'Release')

  • Optional tasks?: string[]

    The multiple gradle tasks that you want to execute, e.g. [assembleDebug, bundleDebug]

BuildAppOptions

BuildAppOptions: { analyzeBuildTime?: boolean; archivePath?: string; buildPath?: string; buildTimingSummary?: boolean; buildlogPath: string; catalystPlatform?: string; clean: boolean; clonedSourcePackagesPath?: string; codesigningIdentity?: string; configuration?: string; derivedDataPath?: string; destination?: string; disablePackageAutomaticUpdates: boolean; disableXcpretty?: boolean; exportMethod?: string; exportOptions?: { string: string }; exportTeamId?: string; exportXcargs?: string; includeBitcode?: boolean; includeSymbols?: boolean; installerCertName?: string; outputDirectory: string; outputName?: string; project?: string; resultBundle?: boolean; resultBundlePath?: string; scheme?: string; sdk?: string; silent: boolean; skipArchive?: boolean; skipBuildArchive?: boolean; skipCodesigning?: boolean; skipPackageDependenciesResolution: boolean; skipPackageIpa: boolean; skipPackagePkg: boolean; skipProfileDetection?: boolean; suppressXcodeOutput?: boolean; toolchain?: string; useSystemScm?: boolean; workspace?: string; xcargs?: string; xcconfig?: string; xcodebuildCommand?: string; xcodebuildFormatter: string; xcprettyFormatter?: string; xcprettyReportHtml?: string; xcprettyReportJson?: string; xcprettyReportJunit?: string; xcprettyTestFormat?: boolean; xcprettyUtf?: boolean }

Shape for buildApp options argument

Type declaration

  • Optional analyzeBuildTime?: boolean

    Analyze the project build time and store the output in 'culprits.txt' file

  • Optional archivePath?: string

    The path to the created archive

  • Optional buildPath?: string

    The directory in which the archive should be stored in

  • Optional buildTimingSummary?: boolean

    Create a build timing summary

  • buildlogPath: string

    The directory where to store the build log

  • Optional catalystPlatform?: string

    Platform to build when using a Catalyst enabled app. Valid values are: ios, macos

  • clean: boolean

    Should the project be cleaned before building it?

  • Optional clonedSourcePackagesPath?: string

    Sets a custom path for Swift Package Manager dependencies

  • Optional codesigningIdentity?: string

    The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'

  • Optional configuration?: string

    The configuration to use when building the app. Defaults to 'Release'

  • Optional derivedDataPath?: string

    The directory where built products and other derived data will go

  • Optional destination?: string

    Use a custom destination for building the app

  • disablePackageAutomaticUpdates: boolean

    Prevents packages from automatically being resolved to versions other than those recorded in the Package.resolved file

  • Optional disableXcpretty?: boolean

    DEPRECATED! Use xcodebuild_formatter: '' instead - Disable xcpretty formatting of build output

  • Optional exportMethod?: string

    Method used to export the archive. Valid values are: app-store, validation, ad-hoc, package, enterprise, development, developer-id and mac-application

  • Optional exportOptions?: { string: string }

    Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options

    • string: string
  • Optional exportTeamId?: string

    Optional: Sometimes you need to specify a team id when exporting the ipa file

  • Optional exportXcargs?: string

    Pass additional arguments to xcodebuild for the package phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional includeBitcode?: boolean

    Should the ipa file include bitcode?

  • Optional includeSymbols?: boolean

    Should the ipa file include symbols?

  • Optional installerCertName?: string

    Full name of 3rd Party Mac Developer Installer or Developer ID Installer certificate. Example: 3rd Party Mac Developer Installer: Your Company (ABC1234XWYZ)

  • outputDirectory: string

    The directory in which the ipa file should be stored in

  • Optional outputName?: string

    The name of the resulting ipa file

  • Optional project?: string

    Path to the project file

  • Optional resultBundle?: boolean

    Should an Xcode result bundle be generated in the output directory

  • Optional resultBundlePath?: string

    Path to the result bundle directory to create. Ignored if result_bundle if false

  • Optional scheme?: string

    The project's scheme. Make sure it's marked as Shared

  • Optional sdk?: string

    The SDK that should be used for building the application

  • silent: boolean

    Hide all information that's not necessary while building

  • Optional skipArchive?: boolean

    After building, don't archive, effectively not including -archivePath param

  • Optional skipBuildArchive?: boolean

    Export ipa from previously built xcarchive. Uses archive_path as source

  • Optional skipCodesigning?: boolean

    Build without codesigning

  • skipPackageDependenciesResolution: boolean

    Skips resolution of Swift Package Manager dependencies

  • skipPackageIpa: boolean

    Should we skip packaging the ipa?

  • skipPackagePkg: boolean

    Should we skip packaging the pkg?

  • Optional skipProfileDetection?: boolean

    Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used

  • Optional suppressXcodeOutput?: boolean

    Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path

  • Optional toolchain?: string

    The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)

  • Optional useSystemScm?: boolean

    Lets xcodebuild use system's scm configuration

  • Optional workspace?: string

    Path to the workspace file

  • Optional xcargs?: string

    Pass additional arguments to xcodebuild for the build phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional xcconfig?: string

    Use an extra XCCONFIG file to build your app

  • Optional xcodebuildCommand?: string

    Allows for override of the default xcodebuild command

  • xcodebuildFormatter: string

    xcodebuild formatter to use (ex: 'xcbeautify', 'xcbeautify --quieter', 'xcpretty', 'xcpretty -test'). Use empty string (ex: '') to disable any formatter (More information: https://docs.fastlane.tools/best-practices/xcodebuild-formatters/)

  • Optional xcprettyFormatter?: string

    A custom xcpretty formatter to use

  • Optional xcprettyReportHtml?: string

    Have xcpretty create a simple HTML report at the provided path

  • Optional xcprettyReportJson?: string

    Have xcpretty create a JSON compilation database at the provided path

  • Optional xcprettyReportJunit?: string

    Have xcpretty create a JUnit-style XML report at the provided path

  • Optional xcprettyTestFormat?: boolean

    Use the test (RSpec style) format for build output

  • Optional xcprettyUtf?: boolean

    Have xcpretty use unicode encoding when reporting builds

BuildIosAppOptions

BuildIosAppOptions: { analyzeBuildTime?: boolean; archivePath?: string; buildPath?: string; buildTimingSummary?: boolean; buildlogPath: string; clean: boolean; clonedSourcePackagesPath?: string; codesigningIdentity?: string; configuration?: string; derivedDataPath?: string; destination?: string; disablePackageAutomaticUpdates: boolean; disableXcpretty?: boolean; exportMethod?: string; exportOptions?: { string: string }; exportTeamId?: string; exportXcargs?: string; includeBitcode?: boolean; includeSymbols?: boolean; outputDirectory: string; outputName?: string; project?: string; resultBundle?: boolean; resultBundlePath?: string; scheme?: string; sdk?: string; silent: boolean; skipArchive?: boolean; skipBuildArchive?: boolean; skipCodesigning?: boolean; skipPackageDependenciesResolution: boolean; skipPackageIpa: boolean; skipProfileDetection?: boolean; suppressXcodeOutput?: boolean; toolchain?: string; useSystemScm?: boolean; workspace?: string; xcargs?: string; xcconfig?: string; xcodebuildCommand?: string; xcodebuildFormatter: string; xcprettyFormatter?: string; xcprettyReportHtml?: string; xcprettyReportJson?: string; xcprettyReportJunit?: string; xcprettyTestFormat?: boolean; xcprettyUtf?: boolean }

Shape for buildIosApp options argument

Type declaration

  • Optional analyzeBuildTime?: boolean

    Analyze the project build time and store the output in 'culprits.txt' file

  • Optional archivePath?: string

    The path to the created archive

  • Optional buildPath?: string

    The directory in which the archive should be stored in

  • Optional buildTimingSummary?: boolean

    Create a build timing summary

  • buildlogPath: string

    The directory where to store the build log

  • clean: boolean

    Should the project be cleaned before building it?

  • Optional clonedSourcePackagesPath?: string

    Sets a custom path for Swift Package Manager dependencies

  • Optional codesigningIdentity?: string

    The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'

  • Optional configuration?: string

    The configuration to use when building the app. Defaults to 'Release'

  • Optional derivedDataPath?: string

    The directory where built products and other derived data will go

  • Optional destination?: string

    Use a custom destination for building the app

  • disablePackageAutomaticUpdates: boolean

    Prevents packages from automatically being resolved to versions other than those recorded in the Package.resolved file

  • Optional disableXcpretty?: boolean

    DEPRECATED! Use xcodebuild_formatter: '' instead - Disable xcpretty formatting of build output

  • Optional exportMethod?: string

    Method used to export the archive. Valid values are: app-store, validation, ad-hoc, package, enterprise, development, developer-id and mac-application

  • Optional exportOptions?: { string: string }

    Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options

    • string: string
  • Optional exportTeamId?: string

    Optional: Sometimes you need to specify a team id when exporting the ipa file

  • Optional exportXcargs?: string

    Pass additional arguments to xcodebuild for the package phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional includeBitcode?: boolean

    Should the ipa file include bitcode?

  • Optional includeSymbols?: boolean

    Should the ipa file include symbols?

  • outputDirectory: string

    The directory in which the ipa file should be stored in

  • Optional outputName?: string

    The name of the resulting ipa file

  • Optional project?: string

    Path to the project file

  • Optional resultBundle?: boolean

    Should an Xcode result bundle be generated in the output directory

  • Optional resultBundlePath?: string

    Path to the result bundle directory to create. Ignored if result_bundle if false

  • Optional scheme?: string

    The project's scheme. Make sure it's marked as Shared

  • Optional sdk?: string

    The SDK that should be used for building the application

  • silent: boolean

    Hide all information that's not necessary while building

  • Optional skipArchive?: boolean

    After building, don't archive, effectively not including -archivePath param

  • Optional skipBuildArchive?: boolean

    Export ipa from previously built xcarchive. Uses archive_path as source

  • Optional skipCodesigning?: boolean

    Build without codesigning

  • skipPackageDependenciesResolution: boolean

    Skips resolution of Swift Package Manager dependencies

  • skipPackageIpa: boolean

    Should we skip packaging the ipa?

  • Optional skipProfileDetection?: boolean

    Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used

  • Optional suppressXcodeOutput?: boolean

    Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path

  • Optional toolchain?: string

    The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)

  • Optional useSystemScm?: boolean

    Lets xcodebuild use system's scm configuration

  • Optional workspace?: string

    Path to the workspace file

  • Optional xcargs?: string

    Pass additional arguments to xcodebuild for the build phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional xcconfig?: string

    Use an extra XCCONFIG file to build your app

  • Optional xcodebuildCommand?: string

    Allows for override of the default xcodebuild command

  • xcodebuildFormatter: string

    xcodebuild formatter to use (ex: 'xcbeautify', 'xcbeautify --quieter', 'xcpretty', 'xcpretty -test'). Use empty string (ex: '') to disable any formatter (More information: https://docs.fastlane.tools/best-practices/xcodebuild-formatters/)

  • Optional xcprettyFormatter?: string

    A custom xcpretty formatter to use

  • Optional xcprettyReportHtml?: string

    Have xcpretty create a simple HTML report at the provided path

  • Optional xcprettyReportJson?: string

    Have xcpretty create a JSON compilation database at the provided path

  • Optional xcprettyReportJunit?: string

    Have xcpretty create a JUnit-style XML report at the provided path

  • Optional xcprettyTestFormat?: boolean

    Use the test (RSpec style) format for build output

  • Optional xcprettyUtf?: boolean

    Have xcpretty use unicode encoding when reporting builds

BuildMacAppOptions

BuildMacAppOptions: { analyzeBuildTime?: boolean; archivePath?: string; buildPath?: string; buildTimingSummary?: boolean; buildlogPath: string; clean: boolean; clonedSourcePackagesPath?: string; codesigningIdentity?: string; configuration?: string; derivedDataPath?: string; destination?: string; disablePackageAutomaticUpdates: boolean; disableXcpretty?: boolean; exportMethod?: string; exportOptions?: { string: string }; exportTeamId?: string; exportXcargs?: string; includeBitcode?: boolean; includeSymbols?: boolean; installerCertName?: string; outputDirectory: string; outputName?: string; project?: string; resultBundle?: boolean; resultBundlePath?: string; scheme?: string; sdk?: string; silent: boolean; skipArchive?: boolean; skipBuildArchive?: boolean; skipCodesigning?: boolean; skipPackageDependenciesResolution: boolean; skipPackagePkg: boolean; skipProfileDetection?: boolean; suppressXcodeOutput?: boolean; toolchain?: string; useSystemScm?: boolean; workspace?: string; xcargs?: string; xcconfig?: string; xcodebuildCommand?: string; xcodebuildFormatter: string; xcprettyFormatter?: string; xcprettyReportHtml?: string; xcprettyReportJson?: string; xcprettyReportJunit?: string; xcprettyTestFormat?: boolean; xcprettyUtf?: boolean }

Shape for buildMacApp options argument

Type declaration

  • Optional analyzeBuildTime?: boolean

    Analyze the project build time and store the output in 'culprits.txt' file

  • Optional archivePath?: string

    The path to the created archive

  • Optional buildPath?: string

    The directory in which the archive should be stored in

  • Optional buildTimingSummary?: boolean

    Create a build timing summary

  • buildlogPath: string

    The directory where to store the build log

  • clean: boolean

    Should the project be cleaned before building it?

  • Optional clonedSourcePackagesPath?: string

    Sets a custom path for Swift Package Manager dependencies

  • Optional codesigningIdentity?: string

    The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'

  • Optional configuration?: string

    The configuration to use when building the app. Defaults to 'Release'

  • Optional derivedDataPath?: string

    The directory where built products and other derived data will go

  • Optional destination?: string

    Use a custom destination for building the app

  • disablePackageAutomaticUpdates: boolean

    Prevents packages from automatically being resolved to versions other than those recorded in the Package.resolved file

  • Optional disableXcpretty?: boolean

    DEPRECATED! Use xcodebuild_formatter: '' instead - Disable xcpretty formatting of build output

  • Optional exportMethod?: string

    Method used to export the archive. Valid values are: app-store, validation, ad-hoc, package, enterprise, development, developer-id and mac-application

  • Optional exportOptions?: { string: string }

    Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options

    • string: string
  • Optional exportTeamId?: string

    Optional: Sometimes you need to specify a team id when exporting the ipa file

  • Optional exportXcargs?: string

    Pass additional arguments to xcodebuild for the package phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional includeBitcode?: boolean

    Should the ipa file include bitcode?

  • Optional includeSymbols?: boolean

    Should the ipa file include symbols?

  • Optional installerCertName?: string

    Full name of 3rd Party Mac Developer Installer or Developer ID Installer certificate. Example: 3rd Party Mac Developer Installer: Your Company (ABC1234XWYZ)

  • outputDirectory: string

    The directory in which the ipa file should be stored in

  • Optional outputName?: string

    The name of the resulting ipa file

  • Optional project?: string

    Path to the project file

  • Optional resultBundle?: boolean

    Should an Xcode result bundle be generated in the output directory

  • Optional resultBundlePath?: string

    Path to the result bundle directory to create. Ignored if result_bundle if false

  • Optional scheme?: string

    The project's scheme. Make sure it's marked as Shared

  • Optional sdk?: string

    The SDK that should be used for building the application

  • silent: boolean

    Hide all information that's not necessary while building

  • Optional skipArchive?: boolean

    After building, don't archive, effectively not including -archivePath param

  • Optional skipBuildArchive?: boolean

    Export ipa from previously built xcarchive. Uses archive_path as source

  • Optional skipCodesigning?: boolean

    Build without codesigning

  • skipPackageDependenciesResolution: boolean

    Skips resolution of Swift Package Manager dependencies

  • skipPackagePkg: boolean

    Should we skip packaging the pkg?

  • Optional skipProfileDetection?: boolean

    Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used

  • Optional suppressXcodeOutput?: boolean

    Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path

  • Optional toolchain?: string

    The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)

  • Optional useSystemScm?: boolean

    Lets xcodebuild use system's scm configuration

  • Optional workspace?: string

    Path to the workspace file

  • Optional xcargs?: string

    Pass additional arguments to xcodebuild for the build phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional xcconfig?: string

    Use an extra XCCONFIG file to build your app

  • Optional xcodebuildCommand?: string

    Allows for override of the default xcodebuild command

  • xcodebuildFormatter: string

    xcodebuild formatter to use (ex: 'xcbeautify', 'xcbeautify --quieter', 'xcpretty', 'xcpretty -test'). Use empty string (ex: '') to disable any formatter (More information: https://docs.fastlane.tools/best-practices/xcodebuild-formatters/)

  • Optional xcprettyFormatter?: string

    A custom xcpretty formatter to use

  • Optional xcprettyReportHtml?: string

    Have xcpretty create a simple HTML report at the provided path

  • Optional xcprettyReportJson?: string

    Have xcpretty create a JSON compilation database at the provided path

  • Optional xcprettyReportJunit?: string

    Have xcpretty create a JUnit-style XML report at the provided path

  • Optional xcprettyTestFormat?: boolean

    Use the test (RSpec style) format for build output

  • Optional xcprettyUtf?: boolean

    Have xcpretty use unicode encoding when reporting builds

BundleInstallOptions

BundleInstallOptions: { binstubs?: string; clean: boolean; deployment: boolean; frozen: boolean; fullIndex: boolean; gemfile?: string; jobs?: boolean; local: boolean; noCache: boolean; noPrune: boolean; path?: string; quiet: boolean; redownload: boolean; retry?: boolean; shebang?: string; standalone?: string; system: boolean; trustPolicy?: string; with?: string; without?: string }

Shape for bundleInstall options argument

Type declaration

  • Optional binstubs?: string

    Generate bin stubs for bundled gems to ./bin

  • clean: boolean

    Run bundle clean automatically after install

  • deployment: boolean

    Install using defaults tuned for deployment and CI environments

  • frozen: boolean

    Don't allow the Gemfile.lock to be updated after install

  • fullIndex: boolean

    Use the rubygems modern index instead of the API endpoint

  • Optional gemfile?: string

    Use the specified gemfile instead of Gemfile

  • Optional jobs?: boolean

    Install gems using parallel workers

  • local: boolean

    Do not attempt to fetch gems remotely and use the gem cache instead

  • noCache: boolean

    Don't update the existing gem cache

  • noPrune: boolean

    Don't remove stale gems from the cache

  • Optional path?: string

    Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME). Bundler will remember this value for future installs on this machine

  • quiet: boolean

    Only output warnings and errors

  • redownload: boolean

    Force download every gem, even if the required versions are already available locally

  • Optional retry?: boolean

    Retry network and git requests that have failed

  • Optional shebang?: string

    Specify a different shebang executable name than the default (usually 'ruby')

  • Optional standalone?: string

    Make a bundle that can work without the Bundler runtime

  • system: boolean

    Install to the system location ($BUNDLE_PATH or $GEM_HOME) even if the bundle was previously installed somewhere else for this application

  • Optional trustPolicy?: string

    Sets level of security when dealing with signed gems. Accepts LowSecurity, MediumSecurity and HighSecurity as values

  • Optional with?: string

    Include gems that are part of the specified named group

  • Optional without?: string

    Exclude gems that are part of the specified named group

CaptureAndroidScreenshotsOptions

CaptureAndroidScreenshotsOptions: { adbHost?: string; androidHome?: string; appApkPath?: string; appPackageName: string; buildToolsVersion?: string; clearPreviousScreenshots: boolean; deviceType: string; endingLocale?: string; exitOnTestFailure: boolean; launchArguments?: string[]; locales: string[]; outputDirectory: string; reinstallApp: boolean; skipOpenSummary: boolean; specificDevice?: string; testInstrumentationRunner?: string; testsApkPath?: string; testsPackageName?: string; useAdbRoot?: boolean; useTestsInClasses?: string[]; useTestsInPackages?: string[]; useTimestampSuffix: boolean }

Shape for captureAndroidScreenshots options argument

Type declaration

  • Optional adbHost?: string

    Configure the host used by adb to connect, allows running on remote devices farm

  • Optional androidHome?: string

    Path to the root of your Android SDK installation, e.g. ~/tools/android-sdk-macosx

  • Optional appApkPath?: string

    The path to the APK for the app under test

  • appPackageName: string

    The package name of the app under test (e.g. com.yourcompany.yourapp)

  • Optional buildToolsVersion?: string

    DEPRECATED! The Android build tools version to use, e.g. '23.0.2'

  • clearPreviousScreenshots: boolean

    Enabling this option will automatically clear previously generated screenshots before running screengrab

  • deviceType: string

    Type of device used for screenshots. Matches Google Play Types (phone, sevenInch, tenInch, tv, wear)

  • Optional endingLocale?: string

    DEPRECATED! Return the device to this locale after running tests

  • exitOnTestFailure: boolean

    Whether or not to exit Screengrab on test failure. Exiting on failure will not copy screenshots to local machine nor open screenshots summary

  • Optional launchArguments?: string[]

    Additional launch arguments

  • locales: string[]

    A list of locales which should be used

  • outputDirectory: string

    The directory where to store the screenshots

  • reinstallApp: boolean

    Enabling this option will automatically uninstall the application before running it

  • skipOpenSummary: boolean

    Don't open the summary after running screengrab

  • Optional specificDevice?: string

    Use the device or emulator with the given serial number or qualifier

  • Optional testInstrumentationRunner?: string

    The fully qualified class name of your test instrumentation runner

  • Optional testsApkPath?: string

    The path to the APK for the tests bundle

  • Optional testsPackageName?: string

    The package name of the tests bundle (e.g. com.yourcompany.yourapp.test)

  • Optional useAdbRoot?: boolean

    DEPRECATED! Restarts the adb daemon using adb root to allow access to screenshots directories on device. Use if getting 'Permission denied' errors

  • Optional useTestsInClasses?: string[]

    Only run tests in these Java classes

  • Optional useTestsInPackages?: string[]

    Only run tests in these Java packages

  • useTimestampSuffix: boolean

    Add timestamp suffix to screenshot filename

CaptureIosScreenshotsOptions

CaptureIosScreenshotsOptions: { addPhotos?: string[]; addVideos?: string[]; appIdentifier?: string; buildlogPath: string; clean: any; clearPreviousScreenshots: any; clonedSourcePackagesPath?: string; concurrentSimulators: any; configuration?: string; darkMode?: boolean; derivedDataPath?: string; devices?: string[]; disablePackageAutomaticUpdates: boolean; disableSlideToType?: any; disableXcpretty?: boolean; eraseSimulator: any; headless: boolean; htmlTemplate?: string; iosVersion?: string; languages: string[]; launchArguments: string[]; localizeSimulator: any; namespaceLogFiles?: any; numberOfRetries: any; onlyTesting?: any; outputDirectory: string; outputSimulatorLogs?: boolean; overrideStatusBar: any; overrideStatusBarArguments?: string; project?: string; reinstallApp: any; resultBundle?: any; scheme?: string; sdk?: string; skipHelperVersionCheck: any; skipOpenSummary: any; skipPackageDependenciesResolution: boolean; skipTesting?: any; stopAfterFirstError: any; suppressXcodeOutput?: boolean; testTargetName?: string; testWithoutBuilding?: boolean; testplan?: string; useSystemScm: boolean; workspace?: string; xcargs?: string; xcconfig?: string; xcodebuildFormatter: string; xcprettyArgs?: string }

Shape for captureIosScreenshots options argument

Type declaration

  • Optional addPhotos?: string[]

    A list of photos that should be added to the simulator before running the application

  • Optional addVideos?: string[]

    A list of videos that should be added to the simulator before running the application

  • Optional appIdentifier?: string

    The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)

  • buildlogPath: string

    The directory where to store the build log

  • clean: any

    Should the project be cleaned before building it?

  • clearPreviousScreenshots: any

    Enabling this option will automatically clear previously generated screenshots before running snapshot

  • Optional clonedSourcePackagesPath?: string

    Sets a custom path for Swift Package Manager dependencies

  • concurrentSimulators: any

    Take snapshots on multiple simulators concurrently. Note: This option is only applicable when running against Xcode 9

  • Optional configuration?: string

    The configuration to use when building the app. Defaults to 'Release'

  • Optional darkMode?: boolean

    Enabling this option will configure the Simulator to be in dark mode (false for light, true for dark)

  • Optional derivedDataPath?: string

    The directory where build products and other derived data will go

  • Optional devices?: string[]

    A list of devices you want to take the screenshots from

  • disablePackageAutomaticUpdates: boolean

    Prevents packages from automatically being resolved to versions other than those recorded in the Package.resolved file

  • Optional disableSlideToType?: any

    Disable the simulator from showing the 'Slide to type' prompt

  • Optional disableXcpretty?: boolean

    Disable xcpretty formatting of build

  • eraseSimulator: any

    Enabling this option will automatically erase the simulator before running the application

  • headless: boolean

    Enabling this option will prevent displaying the simulator window

  • Optional htmlTemplate?: string

    A path to screenshots.html template

  • Optional iosVersion?: string

    By default, the latest version should be used automatically. If you want to change it, do it here

  • languages: string[]

    A list of languages which should be used

  • launchArguments: string[]

    A list of launch arguments which should be used

  • localizeSimulator: any

    Enabling this option will configure the Simulator's system language

  • Optional namespaceLogFiles?: any

    Separate the log files per device and per language

  • numberOfRetries: any

    The number of times a test can fail before snapshot should stop retrying

  • Optional onlyTesting?: any

    Array of strings matching Test Bundle/Test Suite/Test Cases to run

  • outputDirectory: string

    The directory where to store the screenshots

  • Optional outputSimulatorLogs?: boolean

    If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory

  • overrideStatusBar: any

    Enabling this option will automatically override the status bar to show 9:41 AM, full battery, and full reception (Adjust 'SNAPSHOT_SIMULATOR_WAIT_FOR_BOOT_TIMEOUT' environment variable if override status bar is not working. Might be because simulator is not fully booted. Defaults to 10 seconds)

  • Optional overrideStatusBarArguments?: string

    Fully customize the status bar by setting each option here. Requires override_status_bar to be set to true. See xcrun simctl status_bar --help

  • Optional project?: string

    Path to the project file

  • reinstallApp: any

    Enabling this option will automatically uninstall the application before running it

  • Optional resultBundle?: any

    Should an Xcode result bundle be generated in the output directory

  • Optional scheme?: string

    The scheme you want to use, this must be the scheme for the UI Tests

  • Optional sdk?: string

    The SDK that should be used for building the application

  • skipHelperVersionCheck: any

    Do not check for most recent SnapshotHelper code

  • skipOpenSummary: any

    Don't open the HTML summary after running snapshot

  • skipPackageDependenciesResolution: boolean

    Skips resolution of Swift Package Manager dependencies

  • Optional skipTesting?: any

    Array of strings matching Test Bundle/Test Suite/Test Cases to skip

  • stopAfterFirstError: any

    Should snapshot stop immediately after the tests completely failed on one device?

  • Optional suppressXcodeOutput?: boolean

    Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path

  • Optional testTargetName?: string

    The name of the target you want to test (if you desire to override the Target Application from Xcode)

  • Optional testWithoutBuilding?: boolean

    Test without building, requires a derived data path

  • Optional testplan?: string

    The testplan associated with the scheme that should be used for testing

  • useSystemScm: boolean

    Lets xcodebuild use system's scm configuration

  • Optional workspace?: string

    Path to the workspace file

  • Optional xcargs?: string

    Pass additional arguments to xcodebuild for the test phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional xcconfig?: string

    Use an extra XCCONFIG file to build your app

  • xcodebuildFormatter: string

    xcodebuild formatter to use (ex: 'xcbeautify', 'xcbeautify --quieter', 'xcpretty', 'xcpretty -test'). Use empty string (ex: '') to disable any formatter (More information: https://docs.fastlane.tools/best-practices/xcodebuild-formatters/)

  • Optional xcprettyArgs?: string

    DEPRECATED! Use xcodebuild_formatter: '' instead - Additional xcpretty arguments

CaptureScreenshotsOptions

CaptureScreenshotsOptions: { addPhotos?: string[]; addVideos?: string[]; appIdentifier?: string; buildlogPath: string; clean: any; clearPreviousScreenshots: any; clonedSourcePackagesPath?: string; concurrentSimulators: any; configuration?: string; darkMode?: boolean; derivedDataPath?: string; devices?: string[]; disablePackageAutomaticUpdates: boolean; disableSlideToType?: any; disableXcpretty?: boolean; eraseSimulator: any; headless: boolean; htmlTemplate?: string; iosVersion?: string; languages: string[]; launchArguments: string[]; localizeSimulator: any; namespaceLogFiles?: any; numberOfRetries: any; onlyTesting?: any; outputDirectory: string; outputSimulatorLogs?: boolean; overrideStatusBar: any; overrideStatusBarArguments?: string; project?: string; reinstallApp: any; resultBundle?: any; scheme?: string; sdk?: string; skipHelperVersionCheck: any; skipOpenSummary: any; skipPackageDependenciesResolution: boolean; skipTesting?: any; stopAfterFirstError: any; suppressXcodeOutput?: boolean; testTargetName?: string; testWithoutBuilding?: boolean; testplan?: string; useSystemScm: boolean; workspace?: string; xcargs?: string; xcconfig?: string; xcodebuildFormatter: string; xcprettyArgs?: string }

Shape for captureScreenshots options argument

Type declaration

  • Optional addPhotos?: string[]

    A list of photos that should be added to the simulator before running the application

  • Optional addVideos?: string[]

    A list of videos that should be added to the simulator before running the application

  • Optional appIdentifier?: string

    The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)

  • buildlogPath: string

    The directory where to store the build log

  • clean: any

    Should the project be cleaned before building it?

  • clearPreviousScreenshots: any

    Enabling this option will automatically clear previously generated screenshots before running snapshot

  • Optional clonedSourcePackagesPath?: string

    Sets a custom path for Swift Package Manager dependencies

  • concurrentSimulators: any

    Take snapshots on multiple simulators concurrently. Note: This option is only applicable when running against Xcode 9

  • Optional configuration?: string

    The configuration to use when building the app. Defaults to 'Release'

  • Optional darkMode?: boolean

    Enabling this option will configure the Simulator to be in dark mode (false for light, true for dark)

  • Optional derivedDataPath?: string

    The directory where build products and other derived data will go

  • Optional devices?: string[]

    A list of devices you want to take the screenshots from

  • disablePackageAutomaticUpdates: boolean

    Prevents packages from automatically being resolved to versions other than those recorded in the Package.resolved file

  • Optional disableSlideToType?: any

    Disable the simulator from showing the 'Slide to type' prompt

  • Optional disableXcpretty?: boolean

    Disable xcpretty formatting of build

  • eraseSimulator: any

    Enabling this option will automatically erase the simulator before running the application

  • headless: boolean

    Enabling this option will prevent displaying the simulator window

  • Optional htmlTemplate?: string

    A path to screenshots.html template

  • Optional iosVersion?: string

    By default, the latest version should be used automatically. If you want to change it, do it here

  • languages: string[]

    A list of languages which should be used

  • launchArguments: string[]

    A list of launch arguments which should be used

  • localizeSimulator: any

    Enabling this option will configure the Simulator's system language

  • Optional namespaceLogFiles?: any

    Separate the log files per device and per language

  • numberOfRetries: any

    The number of times a test can fail before snapshot should stop retrying

  • Optional onlyTesting?: any

    Array of strings matching Test Bundle/Test Suite/Test Cases to run

  • outputDirectory: string

    The directory where to store the screenshots

  • Optional outputSimulatorLogs?: boolean

    If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory

  • overrideStatusBar: any

    Enabling this option will automatically override the status bar to show 9:41 AM, full battery, and full reception (Adjust 'SNAPSHOT_SIMULATOR_WAIT_FOR_BOOT_TIMEOUT' environment variable if override status bar is not working. Might be because simulator is not fully booted. Defaults to 10 seconds)

  • Optional overrideStatusBarArguments?: string

    Fully customize the status bar by setting each option here. Requires override_status_bar to be set to true. See xcrun simctl status_bar --help

  • Optional project?: string

    Path to the project file

  • reinstallApp: any

    Enabling this option will automatically uninstall the application before running it

  • Optional resultBundle?: any

    Should an Xcode result bundle be generated in the output directory

  • Optional scheme?: string

    The scheme you want to use, this must be the scheme for the UI Tests

  • Optional sdk?: string

    The SDK that should be used for building the application

  • skipHelperVersionCheck: any

    Do not check for most recent SnapshotHelper code

  • skipOpenSummary: any

    Don't open the HTML summary after running snapshot

  • skipPackageDependenciesResolution: boolean

    Skips resolution of Swift Package Manager dependencies

  • Optional skipTesting?: any

    Array of strings matching Test Bundle/Test Suite/Test Cases to skip

  • stopAfterFirstError: any

    Should snapshot stop immediately after the tests completely failed on one device?

  • Optional suppressXcodeOutput?: boolean

    Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path

  • Optional testTargetName?: string

    The name of the target you want to test (if you desire to override the Target Application from Xcode)

  • Optional testWithoutBuilding?: boolean

    Test without building, requires a derived data path

  • Optional testplan?: string

    The testplan associated with the scheme that should be used for testing

  • useSystemScm: boolean

    Lets xcodebuild use system's scm configuration

  • Optional workspace?: string

    Path to the workspace file

  • Optional xcargs?: string

    Pass additional arguments to xcodebuild for the test phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional xcconfig?: string

    Use an extra XCCONFIG file to build your app

  • xcodebuildFormatter: string

    xcodebuild formatter to use (ex: 'xcbeautify', 'xcbeautify --quieter', 'xcpretty', 'xcpretty -test'). Use empty string (ex: '') to disable any formatter (More information: https://docs.fastlane.tools/best-practices/xcodebuild-formatters/)

  • Optional xcprettyArgs?: string

    DEPRECATED! Use xcodebuild_formatter: '' instead - Additional xcpretty arguments

CarthageOptions

CarthageOptions: { archive: boolean; cacheBuilds: boolean; command: string; configuration?: string; dependencies: string[]; derivedData?: string; executable: string; frameworks: string[]; logPath?: string; newResolver?: boolean; noBuild?: boolean; noCheckout?: boolean; noSkipCurrent?: boolean; output?: string; platform?: string; projectDirectory?: string; toolchain?: string; useBinaries?: boolean; useNetrc?: boolean; useSsh?: boolean; useSubmodules?: boolean; useXcframeworks: boolean; verbose?: boolean }

Shape for carthage options argument

Type declaration

  • archive: boolean

    Archive built frameworks from the current project

  • cacheBuilds: boolean

    By default Carthage will rebuild a dependency regardless of whether it's the same resolved version as before. Passing the --cache-builds will cause carthage to avoid rebuilding a dependency if it can

  • command: string

    Carthage command (one of: build, bootstrap, update, archive)

  • Optional configuration?: string

    Define which build configuration to use when building

  • dependencies: string[]

    Carthage dependencies to update, build or bootstrap

  • Optional derivedData?: string

    Use derived data folder at path

  • executable: string

    Path to the carthage executable on your machine

  • frameworks: string[]

    Framework name or names to archive, could be applied only along with the archive command

  • Optional logPath?: string

    Path to the xcode build output

  • Optional newResolver?: boolean

    Use new resolver when resolving dependency graph

  • Optional noBuild?: boolean

    When bootstrapping Carthage do not build

  • Optional noCheckout?: boolean

    When bootstrapping Carthage do not checkout

  • Optional noSkipCurrent?: boolean

    Don't skip building the Carthage project (in addition to its dependencies)

  • Optional output?: string

    Output name for the archive, could be applied only along with the archive command. Use following format *.framework.zip

  • Optional platform?: string

    Define which platform to build for

  • Optional projectDirectory?: string

    Define the directory containing the Carthage project

  • Optional toolchain?: string

    Define which xcodebuild toolchain to use when building

  • Optional useBinaries?: boolean

    Check out dependency repositories even when prebuilt frameworks exist

  • Optional useNetrc?: boolean

    Use .netrc for downloading frameworks

  • Optional useSsh?: boolean

    Use SSH for downloading GitHub repositories

  • Optional useSubmodules?: boolean

    Add dependencies as Git submodules

  • useXcframeworks: boolean

    Create xcframework bundles instead of one framework per platform (requires Xcode 12+)

  • Optional verbose?: boolean

    Print xcodebuild output inline

CertOptions

CertOptions: { apiKey?: { string: string }; apiKeyPath?: string; development: boolean; filename?: string; force: boolean; generateAppleCerts: boolean; keychainPassword?: string; keychainPath: string; outputPath: string; platform: string; skipSetPartitionList: boolean; teamId?: string; teamName?: string; type?: string; username?: string }

Shape for cert options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • development: boolean

    Create a development certificate instead of a distribution one

  • Optional filename?: string

    The filename of certificate to store

  • force: boolean

    Create a certificate even if an existing certificate exists

  • generateAppleCerts: boolean

    Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)

  • Optional keychainPassword?: string

    This might be required the first time you access certificates on a new mac. For the login/default keychain this is your macOS account password

  • keychainPath: string

    Path to a custom keychain

  • outputPath: string

    The path to a directory in which all certificates and private keys should be stored

  • platform: string

    Set the provisioning profile's platform (ios, macos, tvos)

  • skipSetPartitionList: boolean

    Skips setting the partition list (which can sometimes take a long time). Setting the partition list is usually needed to prevent Xcode from prompting to allow a cert to be used for signing

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional type?: string

    Create specific certificate type (takes precedence over :development)

  • Optional username?: string

    Your Apple ID Username

ChangelogFromGitCommitsOptions

ChangelogFromGitCommitsOptions: { ancestryPath?: boolean; between?: string[]; commitsCount?: any; dateFormat?: string; includeMerges?: boolean; matchLightweightTag?: boolean; mergeCommitFiltering?: string; path?: string; pretty?: string; quiet?: boolean; tagMatchPattern?: string }

Shape for changelogFromGitCommits options argument

Type declaration

  • Optional ancestryPath?: boolean

    Whether or not to use ancestry-path param

  • Optional between?: string[]

    Array containing two Git revision values between which to collect messages, you mustn't use it with :commits_count key at the same time

  • Optional commitsCount?: any

    Number of commits to include in changelog, you mustn't use it with :between key at the same time

  • Optional dateFormat?: string

    The date format applied to each commit while generating the collected value

  • Optional includeMerges?: boolean

    DEPRECATED! Use :merge_commit_filtering instead - Whether or not to include any commits that are merges

  • Optional matchLightweightTag?: boolean

    Whether or not to match a lightweight tag when searching for the last one

  • Optional mergeCommitFiltering?: string

    Controls inclusion of merge commits when collecting the changelog. Valid values: 'include_merges', 'exclude_merges', 'only_include_merges'

  • Optional path?: string

    Path of the git repository

  • Optional pretty?: string

    The format applied to each commit while generating the collected value

  • Optional quiet?: boolean

    Whether or not to disable changelog output

  • Optional tagMatchPattern?: string

    A glob(7) pattern to match against when finding the last git tag

ChatworkOptions

ChatworkOptions: { apiToken: string; message: string; roomid: any; success?: boolean }

Shape for chatwork options argument

Type declaration

  • apiToken: string

    ChatWork API Token

  • message: string

    The message to post on ChatWork

  • roomid: any

    The room ID

  • Optional success?: boolean

    Was this build successful? (true/false)

CheckAppStoreMetadataOptions

CheckAppStoreMetadataOptions: { apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string; copyrightDate?: any; curseWords?: any; customText?: any; defaultRuleLevel: any; freeStuffInIap?: any; futureFunctionality?: any; includeInAppPurchases?: boolean; negativeAppleSentiment?: any; otherPlatforms?: any; placeholderText?: any; platform?: string; teamId?: string; teamName?: string; testWords?: any; unreachableUrls?: any; useLive: boolean; username?: string }

Shape for checkAppStoreMetadata options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string

    The bundle identifier of your app

  • Optional copyrightDate?: any

    using a copyright date that is any different from this current year, or missing a date

  • Optional curseWords?: any

    including words that might be considered objectionable

  • Optional customText?: any

    mentioning any of the user-specified words passed to custom_text(data: [words])

  • defaultRuleLevel: any

    The default rule level unless otherwise configured

  • Optional freeStuffInIap?: any

    using text indicating that your IAP is free

  • Optional futureFunctionality?: any

    mentioning features or content that is not currently available in your app

  • Optional includeInAppPurchases?: boolean

    Should check in-app purchases?

  • Optional negativeAppleSentiment?: any

    mentioning  in a way that could be considered negative

  • Optional otherPlatforms?: any

    mentioning other platforms, like Android or Blackberry

  • Optional placeholderText?: any

    using placeholder text (e.g.:"lorem ipsum", "text here", etc...)

  • Optional platform?: string

    The platform to use (optional)

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional testWords?: any

    using text indicating this release is a test

  • Optional unreachableUrls?: any

    unreachable URLs in app metadata

  • useLive: boolean

    Should force check live app?

  • Optional username?: string

    Your Apple ID Username

CleanBuildArtifactsOptions

CleanBuildArtifactsOptions: { excludePattern?: string }

Shape for cleanBuildArtifacts options argument

Type declaration

  • Optional excludePattern?: string

    Exclude all files from clearing that match the given Regex pattern: e.g. '.*.mobileprovision'

CleanCocoapodsCacheOptions

CleanCocoapodsCacheOptions: { allowRoot: boolean; name?: string; noAnsi: boolean; silent: boolean; verbose: boolean }

Shape for cleanCocoapodsCache options argument

Type declaration

  • allowRoot: boolean

    Allows CocoaPods to run as root

  • Optional name?: string

    Pod name to be removed from cache

  • noAnsi: boolean

    Show output without ANSI codes

  • silent: boolean

    Show nothing

  • verbose: boolean

    Show more debugging information

ClearDerivedDataOptions

ClearDerivedDataOptions: { derivedDataPath: string }

Shape for clearDerivedData options argument

Type declaration

  • derivedDataPath: string

    Custom path for derivedData

ClipboardOptions

ClipboardOptions: { value: string }

Shape for clipboard options argument

Type declaration

  • value: string

    The string that should be copied into the clipboard

ClocOptions

ClocOptions: { binaryPath?: string; excludeDir?: string; outputDirectory: string; sourceDirectory: string; xml: boolean }

Shape for cloc options argument

Type declaration

  • Optional binaryPath?: string

    Where the cloc binary lives on your system (full path including 'cloc')

  • Optional excludeDir?: string

    Comma separated list of directories to exclude

  • outputDirectory: string

    Where to put the generated report file

  • sourceDirectory: string

    Where to look for the source code (relative to the project root folder)

  • xml: boolean

    Should we generate an XML File (if false, it will generate a plain text file)?

CocoapodsOptions

CocoapodsOptions: { allowRoot?: boolean; ansi: boolean; clean?: boolean; cleanInstall: boolean; deployment?: boolean; errorCallback?: any; integrate?: boolean; podfile?: string; repoUpdate: boolean; silent: boolean; tryRepoUpdateOnError?: boolean; useBundleExec: boolean; verbose: boolean }

Shape for cocoapods options argument

Type declaration

  • Optional allowRoot?: boolean

    Allows CocoaPods to run as root

  • ansi: boolean

    Show output with ANSI codes

  • Optional clean?: boolean

    DEPRECATED! (Option renamed as clean_install) Remove SCM directories

  • cleanInstall: boolean

    Execute a full pod installation ignoring the content of the project cache

  • Optional deployment?: boolean

    Disallow any changes to the Podfile or the Podfile.lock during installation

  • Optional errorCallback?: any

    A callback invoked with the command output if there is a non-zero exit status

  • Optional integrate?: boolean

    DEPRECATED! (Option removed from cocoapods) Integrate the Pods libraries into the Xcode project(s)

  • Optional podfile?: string

    Explicitly specify the path to the Cocoapods' Podfile. You can either set it to the Podfile's path or to the folder containing the Podfile file

  • repoUpdate: boolean

    Add --repo-update flag to pod install command

  • silent: boolean

    Execute command without logging output

  • Optional tryRepoUpdateOnError?: boolean

    Retry with --repo-update if action was finished with error

  • useBundleExec: boolean

    Use bundle exec when there is a Gemfile presented

  • verbose: boolean

    Show more debugging information

CommitGithubFileOptions

CommitGithubFileOptions: { apiBearer?: string; apiToken?: string; branch?: string; message?: string; path: string; repositoryName: string; secure?: boolean; serverUrl?: string }

Shape for commitGithubFile options argument

Type declaration

  • Optional apiBearer?: string

    Use a Bearer authorization token. Usually generated by GitHub Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable

  • Optional apiToken?: string

    Personal API Token for GitHub - generate one at https://github.com/settings/tokens

  • Optional branch?: string

    The branch that the file should be committed on (default: master)

  • Optional message?: string

    The commit message. Defaults to the file name

  • path: string

    The relative path to your file from project root e.g. assets/my_app.xcarchive

  • repositoryName: string

    The path to your repo, e.g. 'fastlane/fastlane'

  • Optional secure?: boolean

    Optionally disable secure requests (ssl_verify_peer)

  • Optional serverUrl?: string

CommitVersionBumpOptions

CommitVersionBumpOptions: { force?: boolean; ignore?: string; include?: string[]; message?: string; noVerify: boolean; settings?: string; xcodeproj?: string }

Shape for commitVersionBump options argument

Type declaration

  • Optional force?: boolean

    Forces the commit, even if other files than the ones containing the version number have been modified

  • Optional ignore?: string

    A regular expression used to filter matched plist files to be modified

  • Optional include?: string[]

    A list of extra files to be included in the version bump (string array or comma-separated string)

  • Optional message?: string

    The commit message when committing the version bump

  • noVerify: boolean

    Whether or not to use --no-verify

  • Optional settings?: string

    Include Settings.bundle/Root.plist with version bump

  • Optional xcodeproj?: string

    The path to your project file (Not the workspace). If you have only one, this is optional

CopyArtifactsOptions

CopyArtifactsOptions: { artifacts: string[]; failOnMissing?: boolean; keepOriginal?: boolean; targetPath: string }

Shape for copyArtifacts options argument

Type declaration

  • artifacts: string[]

    An array of file patterns of the files/folders you want to preserve

  • Optional failOnMissing?: boolean

    Fail when a source file isn't found

  • Optional keepOriginal?: boolean

    Set this to false if you want move, rather than copy, the found artifacts

  • targetPath: string

    The directory in which you want your artifacts placed

CreateAppOnManagedPlayStoreOptions

CreateAppOnManagedPlayStoreOptions: { apk: string; appTitle: string; developerAccountId: string; jsonKey?: string; jsonKeyData?: string; language: string; rootUrl?: string; timeout?: any }

Shape for createAppOnManagedPlayStore options argument

Type declaration

  • apk: string

    Path to the APK file to upload

  • appTitle: string

    App Title

  • developerAccountId: string

    The ID of your Google Play Console account. Can be obtained from the URL when you log in (https://play.google.com/apps/publish/?account=... or when you 'Obtain private app publishing rights' (https://developers.google.com/android/work/play/custom-app-api/get-started#retrieve_the_developer_account_id)

  • Optional jsonKey?: string

    The path to a file containing service account JSON, used to authenticate with Google

  • Optional jsonKeyData?: string

    The raw service account JSON data used to authenticate with Google

  • language: string

    Default app language (e.g. 'en_US')

  • Optional rootUrl?: string

    Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/

  • Optional timeout?: any

    Timeout for read, open, and send (in seconds)

CreateAppOnlineOptions

CreateAppOnlineOptions: { appIdentifier: string; appName: string; appVersion?: string; bundleIdentifierSuffix?: string; companyName?: string; enableServices: any; enabledFeatures?: any; itcTeamId?: any; itcTeamName?: string; itcUsers?: string[]; language: string; platform?: string; platforms?: string[]; skipDevcenter: any; skipItc: any; sku: string; teamId?: string; teamName?: string; username: string }

Shape for createAppOnline options argument

Type declaration

  • appIdentifier: string

    App Identifier (Bundle ID, e.g. com.krausefx.app)

  • appName: string

    App Name

  • Optional appVersion?: string

    Initial version number (e.g. '1.0')

  • Optional bundleIdentifierSuffix?: string

    App Identifier Suffix (Ignored if App Identifier does not end with .*)

  • Optional companyName?: string

    The name of your company. It's used to set company name on App Store Connect team's app pages. Only required if it's the first app you create

  • enableServices: any

    Array with Spaceship App Services (e.g. access_wifi: (on|off), app_attest: (on|off), app_group: (on|off), apple_pay: (on|off), associated_domains: (on|off), auto_fill_credential: (on|off), class_kit: (on|off), icloud: (legacy|cloudkit), custom_network_protocol: (on|off), data_protection: (complete|unlessopen|untilfirstauth), extended_virtual_address_space: (on|off), family_controls: (on|off), file_provider_testing_mode: (on|off), fonts: (on|off), game_center: (ios|mac), health_kit: (on|off), hls_interstitial_preview: (on|off), home_kit: (on|off), hotspot: (on|off), in_app_purchase: (on|off), inter_app_audio: (on|off), low_latency_hls: (on|off), managed_associated_domains: (on|off), maps: (on|off), multipath: (on|off), network_extension: (on|off), nfc_tag_reading: (on|off), personal_vpn: (on|off), passbook: (on|off), push_notification: (on|off), sign_in_with_apple: (on), siri_kit: (on|off), system_extension: (on|off), user_management: (on|off), vpn_configuration: (on|off), wallet: (on|off), wireless_accessory: (on|off), car_play_audio_app: (on|off), car_play_messaging_app: (on|off), car_play_navigation_app: (on|off), car_play_voip_calling_app: (on|off), critical_alerts: (on|off), hotspot_helper: (on|off), driver_kit: (on|off), driver_kit_endpoint_security: (on|off), driver_kit_family_hid_device: (on|off), driver_kit_family_networking: (on|off), driver_kit_family_serial: (on|off), driver_kit_hid_event_service: (on|off), driver_kit_transport_hid: (on|off), multitasking_camera_access: (on|off), sf_universal_link_api: (on|off), vp9_decoder: (on|off), music_kit: (on|off), shazam_kit: (on|off), communication_notifications: (on|off), group_activities: (on|off), health_kit_estimate_recalibration: (on|off), time_sensitive_notifications: (on|off))

  • Optional enabledFeatures?: any

    DEPRECATED! Please use enable_services instead - Array with Spaceship App Services

  • Optional itcTeamId?: any

    The ID of your App Store Connect team if you're in multiple teams

  • Optional itcTeamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional itcUsers?: string[]

    Array of App Store Connect users. If provided, you can limit access to this newly created app for users with the App Manager, Developer, Marketer or Sales roles

  • language: string

    Primary Language (e.g. 'en-US', 'fr-FR')

  • Optional platform?: string

    The platform to use (optional)

  • Optional platforms?: string[]

    The platforms to use (optional)

  • skipDevcenter: any

    Skip the creation of the app on the Apple Developer Portal

  • skipItc: any

    Skip the creation of the app on App Store Connect

  • sku: string

    SKU Number (e.g. '1234')

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • username: string

    Your Apple ID Username

CreateKeychainOptions

CreateKeychainOptions: { addToSearchList: boolean; defaultKeychain: boolean; lockAfterTimeout: boolean; lockWhenSleeps: boolean; name?: string; password: string; path?: string; requireCreate: boolean; timeout: any; unlock: boolean }

Shape for createKeychain options argument

Type declaration

  • addToSearchList: boolean

    Add keychain to search list

  • defaultKeychain: boolean

    Should the newly created Keychain be the new system default keychain

  • lockAfterTimeout: boolean

    Lock keychain after timeout interval

  • lockWhenSleeps: boolean

    Lock keychain when the system sleeps

  • Optional name?: string

    Keychain name

  • password: string

    Password for the keychain

  • Optional path?: string

    Path to keychain

  • requireCreate: boolean

    Fail the action if the Keychain already exists

  • timeout: any

    timeout interval in seconds. Set 0 if you want to specify "no time-out"

  • unlock: boolean

    Unlock keychain after create

CreatePullRequestOptions

CreatePullRequestOptions: { apiBearer?: string; apiToken?: string; apiUrl?: string; assignees?: string[]; base?: string; body?: string; draft?: boolean; head?: string; labels?: string[]; milestone?: any; repo: string; reviewers?: string[]; teamReviewers?: string[]; title: string }

Shape for createPullRequest options argument

Type declaration

  • Optional apiBearer?: string

    Use a Bearer authorization token. Usually generated by GitHub Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable

  • Optional apiToken?: string

    Personal API Token for GitHub - generate one at https://github.com/settings/tokens

  • Optional apiUrl?: string

    The URL of GitHub API - used when the Enterprise (default to https://api.github.com)

  • Optional assignees?: string[]

    The assignees for the pull request

  • Optional base?: string

    The name of the branch you want your changes pulled into (defaults to master)

  • Optional body?: string

    The contents of the pull request

  • Optional draft?: boolean

    Indicates whether the pull request is a draft

  • Optional head?: string

    The name of the branch where your changes are implemented (defaults to the current branch name)

  • Optional labels?: string[]

    The labels for the pull request

  • Optional milestone?: any

    The milestone ID (Integer) for the pull request

  • repo: string

    The name of the repository you want to submit the pull request to

  • Optional reviewers?: string[]

    The reviewers (slug) for the pull request

  • Optional teamReviewers?: string[]

    The team reviewers (slug) for the pull request

  • title: string

    The title of the pull request

CreateXcframeworkOptions

CreateXcframeworkOptions: { allowInternalDistribution?: boolean; frameworks?: string[]; frameworksWithDsyms?: { string: string }; libraries?: string[]; librariesWithHeadersOrDsyms?: { string: string }; output: string }

Shape for createXcframework options argument

Type declaration

  • Optional allowInternalDistribution?: boolean

    Specifies that the created xcframework contains information not suitable for public distribution

  • Optional frameworks?: string[]

    Frameworks (without dSYMs) to add to the target xcframework

  • Optional frameworksWithDsyms?: { string: string }

    Frameworks (with dSYMs) to add to the target xcframework

    • string: string
  • Optional libraries?: string[]

    Libraries (without headers or dSYMs) to add to the target xcframework

  • Optional librariesWithHeadersOrDsyms?: { string: string }

    Libraries (with headers or dSYMs) to add to the target xcframework

    • string: string
  • output: string

    The path to write the xcframework to

DangerOptions

DangerOptions: { base?: string; dangerId?: string; dangerfile?: string; failIfNoPr: boolean; failOnErrors?: boolean; githubApiToken?: string; githubEnterpriseApiBaseUrl?: string; githubEnterpriseHost?: string; head?: string; newComment?: boolean; pr?: string; removePreviousComments?: boolean; useBundleExec: boolean; verbose: boolean }

Shape for danger options argument

Type declaration

  • Optional base?: string

    A branch/tag/commit to use as the base of the diff. [master|dev|stable]

  • Optional dangerId?: string

    The identifier of this Danger instance

  • Optional dangerfile?: string

    The location of your Dangerfile

  • failIfNoPr: boolean

    Fail Danger execution if no PR is found

  • Optional failOnErrors?: boolean

    Should always fail the build process, defaults to false

  • Optional githubApiToken?: string

    GitHub API token for danger

  • Optional githubEnterpriseApiBaseUrl?: string

    GitHub API base URL for GitHub Enterprise

  • Optional githubEnterpriseHost?: string

    GitHub host URL for GitHub Enterprise

  • Optional head?: string

    A branch/tag/commit to use as the head. [master|dev|stable]

  • Optional newComment?: boolean

    Makes Danger post a new comment instead of editing its previous one

  • Optional pr?: string

    Run danger on a specific pull request. e.g. "https://github.com/danger/danger/pull/518"

  • Optional removePreviousComments?: boolean

    Makes Danger remove all previous comment and create a new one in the end of the list

  • useBundleExec: boolean

    Use bundle exec when there is a Gemfile presented

  • verbose: boolean

    Show more debugging information

DebugOptions

DebugOptions: {}

Shape for debug options argument

Type declaration

DefaultPlatformOptions

DefaultPlatformOptions: {}

Shape for defaultPlatform options argument

Type declaration

DeleteKeychainOptions

DeleteKeychainOptions: { keychainPath?: string; name?: string }

Shape for deleteKeychain options argument

Type declaration

  • Optional keychainPath?: string

    Keychain path

  • Optional name?: string

    Keychain name

DeliverOptions

DeliverOptions: { apiKey?: { string: string }; apiKeyPath?: string; app?: any; appIcon?: string; appIdentifier?: string; appRatingConfigPath?: string; appReviewAttachmentFile?: string; appReviewInformation?: { string: string }; appVersion?: string; appleTvPrivacyPolicy?: { string: string }; appleWatchAppIcon?: string; autoReleaseDate?: any; automaticRelease?: boolean; buildNumber?: string; copyright?: string; description?: { string: string }; devPortalTeamId?: string; devPortalTeamName?: string; editLive?: boolean; force: boolean; ignoreLanguageDirectoryValidation: boolean; individualMetadataItems?: string[]; ipa?: string; itcProvider?: string; keywords?: { string: string }; languages?: string[]; marketingUrl?: { string: string }; metadataPath?: string; name?: { string: string }; overwriteScreenshots: boolean; phasedRelease?: boolean; pkg?: string; platform?: string; precheckDefaultRuleLevel: any; precheckIncludeInAppPurchases?: boolean; priceTier?: any; primaryCategory?: string; primaryFirstSubCategory?: string; primarySecondSubCategory?: string; privacyUrl?: { string: string }; promotionalText?: { string: string }; rejectIfPossible: boolean; releaseNotes?: { string: string }; resetRatings?: boolean; runPrecheckBeforeSubmit: boolean; screenshotProcessingTimeout: any; screenshotsPath?: string; secondaryCategory?: string; secondaryFirstSubCategory?: string; secondarySecondSubCategory?: string; skipAppVersionUpdate: boolean; skipBinaryUpload: boolean; skipMetadata: boolean; skipScreenshots: boolean; submissionInformation?: { string: string }; submitForReview: boolean; subtitle?: { string: string }; supportUrl?: { string: string }; syncScreenshots: boolean; teamId?: string; teamName?: string; tradeRepresentativeContactInformation?: { string: string }; useLiveVersion: boolean; username?: string; verifyOnly: boolean; versionCheckWaitRetryLimit: any }

Shape for deliver options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • Optional app?: any

    The (spaceship) app ID of the app you want to use/modify

  • Optional appIcon?: string

    DEPRECATED! Removed after the migration to the new App Store Connect API in June 2020 - Metadata: The path to the app icon

  • Optional appIdentifier?: string

    The bundle identifier of your app

  • Optional appRatingConfigPath?: string

    Path to the app rating's config

  • Optional appReviewAttachmentFile?: string

    Metadata: Path to the app review attachment file

  • Optional appReviewInformation?: { string: string }

    Metadata: A hash containing the review information

    • string: string
  • Optional appVersion?: string

    The version that should be edited or created

  • Optional appleTvPrivacyPolicy?: { string: string }

    Metadata: Localised Apple TV privacy policy text

    • string: string
  • Optional appleWatchAppIcon?: string

    DEPRECATED! Removed after the migration to the new App Store Connect API in June 2020 - Metadata: The path to the Apple Watch app icon

  • Optional autoReleaseDate?: any

    Date in milliseconds for automatically releasing on pending approval (Cannot be used together with automatic_release)

  • Optional automaticRelease?: boolean

    Should the app be automatically released once it's approved? (Cannot be used together with auto_release_date)

  • Optional buildNumber?: string

    If set the given build number (already uploaded to iTC) will be used instead of the current built one

  • Optional copyright?: string

    Metadata: The copyright notice

  • Optional description?: { string: string }

    Metadata: The localised app description

    • string: string
  • Optional devPortalTeamId?: string

    The short ID of your Developer Portal team, if you're in multiple teams. Different from your iTC team ID!

  • Optional devPortalTeamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional editLive?: boolean

    Modify live metadata, this option disables ipa upload and screenshot upload

  • force: boolean

    Skip verification of HTML preview file

  • ignoreLanguageDirectoryValidation: boolean

    Ignore errors when invalid languages are found in metadata and screenshot directories

  • Optional individualMetadataItems?: string[]

    DEPRECATED! Removed after the migration to the new App Store Connect API in June 2020 - An array of localized metadata items to upload individually by language so that errors can be identified. E.g. ['name', 'keywords', 'description']. Note: slow

  • Optional ipa?: string

    Path to your ipa file

  • Optional itcProvider?: string

    The provider short name to be used with the iTMSTransporter to identify your team. This value will override the automatically detected provider short name. To get provider short name run pathToXcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter -m provider -u 'USERNAME' -p 'PASSWORD' -account_type itunes_connect -v off. The short names of providers should be listed in the second column

  • Optional keywords?: { string: string }

    Metadata: An array of localised keywords

    • string: string
  • Optional languages?: string[]

    Metadata: List of languages to activate

  • Optional marketingUrl?: { string: string }

    Metadata: Localised marketing url

    • string: string
  • Optional metadataPath?: string

    Path to the folder containing the metadata files

  • Optional name?: { string: string }

    Metadata: The localised app name

    • string: string
  • overwriteScreenshots: boolean

    Clear all previously uploaded screenshots before uploading the new ones

  • Optional phasedRelease?: boolean

    Enable the phased release feature of iTC

  • Optional pkg?: string

    Path to your pkg file

  • Optional platform?: string

    The platform to use (optional)

  • precheckDefaultRuleLevel: any

    The default precheck rule level unless otherwise configured

  • Optional precheckIncludeInAppPurchases?: boolean

    Should precheck check in-app purchases?

  • Optional priceTier?: any

    The price tier of this application

  • Optional primaryCategory?: string

    Metadata: The english name of the primary category (e.g. Business, Books)

  • Optional primaryFirstSubCategory?: string

    Metadata: The english name of the primary first sub category (e.g. Educational, Puzzle)

  • Optional primarySecondSubCategory?: string

    Metadata: The english name of the primary second sub category (e.g. Educational, Puzzle)

  • Optional privacyUrl?: { string: string }

    Metadata: Localised privacy url

    • string: string
  • Optional promotionalText?: { string: string }

    Metadata: An array of localised promotional texts

    • string: string
  • rejectIfPossible: boolean

    Rejects the previously submitted build if it's in a state where it's possible

  • Optional releaseNotes?: { string: string }

    Metadata: Localised release notes for this version

    • string: string
  • Optional resetRatings?: boolean

    Reset the summary rating when you release a new version of the application

  • runPrecheckBeforeSubmit: boolean

    Run precheck before submitting to app review

  • screenshotProcessingTimeout: any

    Timeout in seconds to wait before considering screenshot processing as failed, used to handle cases where uploads to the App Store are stuck in processing

  • Optional screenshotsPath?: string

    Path to the folder containing the screenshots

  • Optional secondaryCategory?: string

    Metadata: The english name of the secondary category (e.g. Business, Books)

  • Optional secondaryFirstSubCategory?: string

    Metadata: The english name of the secondary first sub category (e.g. Educational, Puzzle)

  • Optional secondarySecondSubCategory?: string

    Metadata: The english name of the secondary second sub category (e.g. Educational, Puzzle)

  • skipAppVersionUpdate: boolean

    Don’t create or update the app version that is being prepared for submission

  • skipBinaryUpload: boolean

    Skip uploading an ipa or pkg to App Store Connect

  • skipMetadata: boolean

    Don't upload the metadata (e.g. title, description). This will still upload screenshots

  • skipScreenshots: boolean

    Don't upload the screenshots

  • Optional submissionInformation?: { string: string }

    Extra information for the submission (e.g. compliance specifications, IDFA settings)

    • string: string
  • submitForReview: boolean

    Submit the new version for Review after uploading everything

  • Optional subtitle?: { string: string }

    Metadata: The localised app subtitle

    • string: string
  • Optional supportUrl?: { string: string }

    Metadata: Localised support url

    • string: string
  • syncScreenshots: boolean

    Sync screenshots with local ones. This is currently beta option so set true to 'FASTLANE_ENABLE_BETA_DELIVER_SYNC_SCREENSHOTS' environment variable as well

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional tradeRepresentativeContactInformation?: { string: string }

    DEPRECATED! This is no longer used by App Store Connect - Metadata: A hash containing the trade representative contact information

    • string: string
  • useLiveVersion: boolean

    Force usage of live version rather than edit version

  • Optional username?: string

    Your Apple ID Username

  • verifyOnly: boolean

    Verifies archive with App Store Connect without uploading

  • versionCheckWaitRetryLimit: any

    After submitting a new version, App Store Connect takes some time to recognize the new version and we must wait until it's available before attempting to upload metadata for it. There is a mechanism that will check if it's available and retry with an exponential backoff if it's not available yet. This option specifies how many times we should retry before giving up. Setting this to a value below 5 is not recommended and will likely cause failures. Increase this parameter when Apple servers seem to be degraded or slow

DeploygateOptions

DeploygateOptions: { apiToken: string; apk?: string; disableNotify?: boolean; distributionKey?: string; distributionName?: string; ipa?: string; message: string; releaseNote?: string; user: string }

Shape for deploygate options argument

Type declaration

  • apiToken: string

    Deploygate API Token

  • Optional apk?: string

    Path to your APK file

  • Optional disableNotify?: boolean

    Disables Push notification emails

  • Optional distributionKey?: string

    Target Distribution Key

  • Optional distributionName?: string

    Target Distribution Name

  • Optional ipa?: string

    Path to your IPA file. Optional if you use the gym or xcodebuild action

  • message: string

    Release Notes

  • Optional releaseNote?: string

    Release note for distribution page

  • user: string

    Target username or organization name

DotgpgEnvironmentOptions

DotgpgEnvironmentOptions: { dotgpgFile: string }

Shape for dotgpgEnvironment options argument

Type declaration

  • dotgpgFile: string

    Path to your gpg file

DownloadAppPrivacyDetailsFromAppStoreOptions

DownloadAppPrivacyDetailsFromAppStoreOptions: { appIdentifier: string; outputJsonPath: string; teamId?: string; teamName?: string; username: string }

Shape for downloadAppPrivacyDetailsFromAppStore options argument

Type declaration

  • appIdentifier: string

    The bundle identifier of your app

  • outputJsonPath: string

    Path to the app usage data JSON file generated by interactive questions

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • username: string

    Your Apple ID Username for App Store Connect

DownloadDsymsOptions

DownloadDsymsOptions: { afterUploadedDate?: string; apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string; buildNumber?: string; minVersion?: string; outputDirectory?: string; platform: string; teamId?: string; teamName?: string; username: string; version?: string; waitForDsymProcessing?: boolean; waitTimeout?: any }

Shape for downloadDsyms options argument

Type declaration

  • Optional afterUploadedDate?: string

    The uploaded date after which you wish to download dSYMs

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string

    The bundle identifier of your app

  • Optional buildNumber?: string

    The app build_number for dSYMs you wish to download

  • Optional minVersion?: string

    The minimum app version for dSYMs you wish to download

  • Optional outputDirectory?: string

    Where to save the download dSYMs, defaults to the current path

  • platform: string

    The app platform for dSYMs you wish to download (ios, appletvos)

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • username: string

    Your Apple ID Username for App Store Connect

  • Optional version?: string

    The app version for dSYMs you wish to download, pass in 'latest' to download only the latest build's dSYMs or 'live' to download only the live version dSYMs

  • Optional waitForDsymProcessing?: boolean

    Wait for dSYMs to process

  • Optional waitTimeout?: any

    Number of seconds to wait for dSYMs to process

DownloadFromPlayStoreOptions

DownloadFromPlayStoreOptions: { issuer?: string; jsonKey?: string; jsonKeyData?: string; key?: string; metadataPath?: string; packageName: string; rootUrl?: string; timeout?: any; track: string; versionName?: string }

Shape for downloadFromPlayStore options argument

Type declaration

  • Optional issuer?: string

    DEPRECATED! Use --json_key instead - The issuer of the p12 file (email address of the service account)

  • Optional jsonKey?: string

    The path to a file containing service account JSON, used to authenticate with Google

  • Optional jsonKeyData?: string

    The raw service account JSON data used to authenticate with Google

  • Optional key?: string

    DEPRECATED! Use --json_key instead - The p12 File used to authenticate with Google

  • Optional metadataPath?: string

    Path to the directory containing the metadata files

  • packageName: string

    The package name of the application to use

  • Optional rootUrl?: string

    Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/

  • Optional timeout?: any

    Timeout for read, open, and send (in seconds)

  • track: string

    The track of the application to use. The default available tracks are: production, beta, alpha, internal

  • Optional versionName?: string

    Version name (used when uploading new apks/aabs) - defaults to 'versionName' in build.gradle or AndroidManifest.xml

DownloadOptions

DownloadOptions: { url: string }

Shape for download options argument

Type declaration

  • url: string

    The URL that should be downloaded

DownloadUniversalApkFromGooglePlayOptions

DownloadUniversalApkFromGooglePlayOptions: { certificateSha256Hash?: string; destination: string; jsonKey?: string; jsonKeyData?: string; packageName: string; rootUrl?: string; timeout?: any; versionCode?: any }

Shape for downloadUniversalApkFromGooglePlay options argument

Type declaration

  • Optional certificateSha256Hash?: string

    The SHA256 hash of the signing key for which to download the Universal, Code-Signed APK for. Use 'xx:xx:xx:…' format (32 hex bytes separated by colons), as printed by keytool -list -keystore <keystorefile>. Only useful to provide if you have multiple signing keys configured on GPC, to specify which generated APK to download

  • destination: string

    The path on disk where to download the Generated Universal APK

  • Optional jsonKey?: string

    The path to a file containing service account JSON, used to authenticate with Google

  • Optional jsonKeyData?: string

    The raw service account JSON data used to authenticate with Google

  • packageName: string

    The package name of the application to use

  • Optional rootUrl?: string

    Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/

  • Optional timeout?: any

    Timeout for read, open, and send (in seconds)

  • Optional versionCode?: any

    The versionCode for which to download the generated APK

DsymZipOptions

DsymZipOptions: { all?: boolean; archivePath?: string; dsymPath?: string }

Shape for dsymZip options argument

Type declaration

  • Optional all?: boolean

    Whether or not all dSYM files are to be included. Optional, default is false in which only your app dSYM is included

  • Optional archivePath?: string

    Path to your xcarchive file. Optional if you use the xcodebuild action

  • Optional dsymPath?: string

    Path for generated dsym. Optional, default is your apps root directory

EchoOptions

EchoOptions: { message?: string }

Shape for echo options argument

Type declaration

  • Optional message?: string

    Message to be printed out

EnsureBundleExecOptions

EnsureBundleExecOptions: {}

Shape for ensureBundleExec options argument

Type declaration

EnsureEnvVarsOptions

EnsureEnvVarsOptions: { envVars: string[] }

Shape for ensureEnvVars options argument

Type declaration

  • envVars: string[]

    The environment variables names that should be checked

EnsureGitBranchOptions

EnsureGitBranchOptions: { branch: string }

Shape for ensureGitBranch options argument

Type declaration

  • branch: string

    The branch that should be checked for. String that can be either the full name of the branch or a regex e.g. ^feature/.*$ to match

EnsureGitStatusCleanOptions

EnsureGitStatusCleanOptions: { ignoreFiles?: string[]; ignored?: string; showDiff?: boolean; showUncommittedChanges?: boolean }

Shape for ensureGitStatusClean options argument

Type declaration

  • Optional ignoreFiles?: string[]

    Array of files to ignore

  • Optional ignored?: string

    The handling mode of the ignored files. The available options are: 'traditional', 'none' (default) and 'matching'. Specifying 'none' to this parameter is the same as not specifying the parameter at all, which means that no ignored file will be used to check if the repo is dirty or not. Specifying 'traditional' or 'matching' causes some ignored files to be used to check if the repo is dirty or not (more info in the official docs: https://git-scm.com/docs/git-status#Documentation/git-status.txt---ignoredltmodegt)

  • Optional showDiff?: boolean

    The flag whether to show the git diff if the repo is dirty

  • Optional showUncommittedChanges?: boolean

    The flag whether to show uncommitted changes if the repo is dirty

EnsureNoDebugCodeOptions

EnsureNoDebugCodeOptions: { exclude?: string; excludeDirs?: string[]; extension?: string; extensions?: string[]; path: string; text: string }

Shape for ensureNoDebugCode options argument

Type declaration

  • Optional exclude?: string

    Exclude a certain pattern from the search

  • Optional excludeDirs?: string[]

    An array of dirs that should not be included in the search

  • Optional extension?: string

    The extension that should be searched for

  • Optional extensions?: string[]

    An array of file extensions that should be searched for

  • path: string

    The directory containing all the source files

  • text: string

    The text that must not be in the code base

EnsureXcodeVersionOptions

EnsureXcodeVersionOptions: { strict: boolean; version?: string }

Shape for ensureXcodeVersion options argument

Type declaration

  • strict: boolean

    Should the version be verified strictly (all 3 version numbers), or matching only the given version numbers (i.e. 11.3 == 11.3.x)

  • Optional version?: string

    Xcode version to verify that is selected

EnvironmentVariableOptions

EnvironmentVariableOptions: { get?: string; remove?: string; set?: { string: string } }

Shape for environmentVariable options argument

Type declaration

  • Optional get?: string

    Get the environment variable named

  • Optional remove?: string

    Remove the environment variable named

  • Optional set?: { string: string }

    Set the environment variables named

    • string: string

ErbOptions

ErbOptions: { destination?: string; placeholders: { string: string }; template: string; trimMode?: string }

Shape for erb options argument

Type declaration

  • Optional destination?: string

    Destination file

  • placeholders: { string: string }

    Placeholders given as a hash

    • string: string
  • template: string

    ERB Template File

  • Optional trimMode?: string

    Trim mode applied to the ERB

FastlaneVersionOptions

FastlaneVersionOptions: {}

Shape for fastlaneVersion options argument

Type declaration

FlockOptions

FlockOptions: { baseUrl?: string; message: string; token: string }

Shape for flock options argument

Type declaration

  • Optional baseUrl?: string

    Base URL of the Flock incoming message webhook

  • message: string

    Message text

  • token: string

    Token for the Flock incoming webhook

FrameScreenshotsOptions

FrameScreenshotsOptions: { debugMode: boolean; forceDeviceType?: string; forceOrientationBlock?: any; gold?: boolean; path: string; resume: boolean; roseGold?: boolean; silver?: boolean; useLegacyIphone5s: boolean; useLegacyIphone6s: boolean; useLegacyIphone7: boolean; useLegacyIphonex: boolean; useLegacyIphonexr: boolean; useLegacyIphonexs: boolean; useLegacyIphonexsmax: boolean; usePlatform?: string; white?: boolean }

Shape for frameScreenshots options argument

Type declaration

  • debugMode: boolean

    Output debug information in framed screenshots

  • Optional forceDeviceType?: string

    Forces a given device type, useful for Mac screenshots, as their sizes vary

  • Optional forceOrientationBlock?: any

    [Advanced] A block to customize your screenshots' device orientation

  • Optional gold?: boolean

    Use gold device frames. Alias for :gold

  • path: string

    The path to the directory containing the screenshots

  • resume: boolean

    Resume frameit instead of reprocessing all screenshots

  • Optional roseGold?: boolean

    Use rose gold device frames. Alias for :rose_gold

  • Optional silver?: boolean

    Use white device frames. Alias for :white

  • useLegacyIphone5s: boolean

    Use iPhone 5s instead of iPhone SE frames

  • useLegacyIphone6s: boolean

    Use iPhone 6s frames instead of iPhone 7 frames

  • useLegacyIphone7: boolean

    Use iPhone 7 frames instead of iPhone 8 frames

  • useLegacyIphonex: boolean

    Use iPhone X instead of iPhone XS frames

  • useLegacyIphonexr: boolean

    Use iPhone XR instead of iPhone 11 frames

  • useLegacyIphonexs: boolean

    Use iPhone XS instead of iPhone 11 Pro frames

  • useLegacyIphonexsmax: boolean

    Use iPhone XS Max instead of iPhone 11 Pro Max frames

  • Optional usePlatform?: string

    Choose a platform, the valid options are IOS, ANDROID and ANY (default is either general platform defined in the fastfile or IOS to ensure backward compatibility)

  • Optional white?: boolean

    Use white device frames

FrameitOptions

FrameitOptions: { debugMode: boolean; forceDeviceType?: string; forceOrientationBlock?: any; gold?: boolean; path: string; resume: boolean; roseGold?: boolean; silver?: boolean; useLegacyIphone5s: boolean; useLegacyIphone6s: boolean; useLegacyIphone7: boolean; useLegacyIphonex: boolean; useLegacyIphonexr: boolean; useLegacyIphonexs: boolean; useLegacyIphonexsmax: boolean; usePlatform?: string; white?: boolean }

Shape for frameit options argument

Type declaration

  • debugMode: boolean

    Output debug information in framed screenshots

  • Optional forceDeviceType?: string

    Forces a given device type, useful for Mac screenshots, as their sizes vary

  • Optional forceOrientationBlock?: any

    [Advanced] A block to customize your screenshots' device orientation

  • Optional gold?: boolean

    Use gold device frames. Alias for :gold

  • path: string

    The path to the directory containing the screenshots

  • resume: boolean

    Resume frameit instead of reprocessing all screenshots

  • Optional roseGold?: boolean

    Use rose gold device frames. Alias for :rose_gold

  • Optional silver?: boolean

    Use white device frames. Alias for :white

  • useLegacyIphone5s: boolean

    Use iPhone 5s instead of iPhone SE frames

  • useLegacyIphone6s: boolean

    Use iPhone 6s frames instead of iPhone 7 frames

  • useLegacyIphone7: boolean

    Use iPhone 7 frames instead of iPhone 8 frames

  • useLegacyIphonex: boolean

    Use iPhone X instead of iPhone XS frames

  • useLegacyIphonexr: boolean

    Use iPhone XR instead of iPhone 11 frames

  • useLegacyIphonexs: boolean

    Use iPhone XS instead of iPhone 11 Pro frames

  • useLegacyIphonexsmax: boolean

    Use iPhone XS Max instead of iPhone 11 Pro Max frames

  • Optional usePlatform?: string

    Choose a platform, the valid options are IOS, ANDROID and ANY (default is either general platform defined in the fastfile or IOS to ensure backward compatibility)

  • Optional white?: boolean

    Use white device frames

GcovrOptions

GcovrOptions: {}

Shape for gcovr options argument

Type declaration

GetBuildNumberOptions

GetBuildNumberOptions: { hideErrorWhenVersioningDisabled: boolean; xcodeproj?: string }

Shape for getBuildNumber options argument

Type declaration

  • hideErrorWhenVersioningDisabled: boolean

    Used during fastlane init to hide the error message

  • Optional xcodeproj?: string

    optional, you must specify the path to your main Xcode project if it is not in the project root directory

GetBuildNumberRepositoryOptions

GetBuildNumberRepositoryOptions: { useHgRevisionNumber?: boolean }

Shape for getBuildNumberRepository options argument

Type declaration

  • Optional useHgRevisionNumber?: boolean

    Use hg revision number instead of hash (ignored for non-hg repos)

GetCertificatesOptions

GetCertificatesOptions: { apiKey?: { string: string }; apiKeyPath?: string; development: boolean; filename?: string; force: boolean; generateAppleCerts: boolean; keychainPassword?: string; keychainPath: string; outputPath: string; platform: string; skipSetPartitionList: boolean; teamId?: string; teamName?: string; type?: string; username?: string }

Shape for getCertificates options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • development: boolean

    Create a development certificate instead of a distribution one

  • Optional filename?: string

    The filename of certificate to store

  • force: boolean

    Create a certificate even if an existing certificate exists

  • generateAppleCerts: boolean

    Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)

  • Optional keychainPassword?: string

    This might be required the first time you access certificates on a new mac. For the login/default keychain this is your macOS account password

  • keychainPath: string

    Path to a custom keychain

  • outputPath: string

    The path to a directory in which all certificates and private keys should be stored

  • platform: string

    Set the provisioning profile's platform (ios, macos, tvos)

  • skipSetPartitionList: boolean

    Skips setting the partition list (which can sometimes take a long time). Setting the partition list is usually needed to prevent Xcode from prompting to allow a cert to be used for signing

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional type?: string

    Create specific certificate type (takes precedence over :development)

  • Optional username?: string

    Your Apple ID Username

GetGithubReleaseOptions

GetGithubReleaseOptions: { apiBearer?: string; apiToken?: string; serverUrl?: string; url: string; version: string }

Shape for getGithubRelease options argument

Type declaration

  • Optional apiBearer?: string

    Use a Bearer authorization token. Usually generated by GitHub Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable

  • Optional apiToken?: string

    GitHub Personal Token (required for private repositories)

  • Optional serverUrl?: string
  • url: string

    The path to your repo, e.g. 'KrauseFx/fastlane'

  • version: string

    The version tag of the release to check

GetInfoPlistValueOptions

GetInfoPlistValueOptions: { key: string; path: string }

Shape for getInfoPlistValue options argument

Type declaration

  • key: string

    Name of parameter

  • path: string

    Path to plist file you want to read

GetIpaInfoPlistValueOptions

GetIpaInfoPlistValueOptions: { ipa: string; key: string }

Shape for getIpaInfoPlistValue options argument

Type declaration

  • ipa: string

    Path to IPA

  • key: string

    Name of parameter

GetManagedPlayStorePublishingRightsOptions

GetManagedPlayStorePublishingRightsOptions: { jsonKey?: string; jsonKeyData?: string }

Shape for getManagedPlayStorePublishingRights options argument

Type declaration

  • Optional jsonKey?: string

    The path to a file containing service account JSON, used to authenticate with Google

  • Optional jsonKeyData?: string

    The raw service account JSON data used to authenticate with Google

GetProvisioningProfileOptions

GetProvisioningProfileOptions: { adhoc: any; apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string; cachedBundleIds?: any; cachedCertificates?: any; cachedDevices?: any; cachedProfiles?: any; certId?: string; certOwnerName?: string; developerId: any; development: any; failOnNameTaken?: any; filename?: string; force: any; ignoreProfilesWithDifferentName?: any; includeAllCertificates: any; includeMacInProfiles: any; outputPath: string; platform: any; provisioningName?: string; readonly?: any; skipCertificateVerification: any; skipFetchProfiles: any; skipInstall: any; teamId?: string; teamName?: string; templateName?: string; username?: string }

Shape for getProvisioningProfile options argument

Type declaration

  • adhoc: any

    Setting this flag will generate AdHoc profiles instead of App Store Profiles

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string

    The bundle identifier of your app

  • Optional cachedBundleIds?: any

    A list of cached bundle ids

  • Optional cachedCertificates?: any

    A list of cached certificates

  • Optional cachedDevices?: any

    A list of cached devices

  • Optional cachedProfiles?: any

    A list of cached bundle ids

  • Optional certId?: string

    The ID of the code signing certificate to use (e.g. 78ADL6LVAA)

  • Optional certOwnerName?: string

    The certificate name to use for new profiles, or to renew with. (e.g. "Felix Krause")

  • developerId: any

    Setting this flag will generate Developer ID profiles instead of App Store Profiles

  • development: any

    Renew the development certificate instead of the production one

  • Optional failOnNameTaken?: any

    Should the command fail if it was about to create a duplicate of an existing provisioning profile. It can happen due to issues on Apple Developer Portal, when profile to be recreated was not properly deleted first

  • Optional filename?: string

    Filename to use for the generated provisioning profile (must include .mobileprovision)

  • force: any

    Renew provisioning profiles regardless of its state - to automatically add all devices for ad hoc profiles

  • Optional ignoreProfilesWithDifferentName?: any

    Use in combination with :provisioning_name - when true only profiles matching this exact name will be downloaded

  • includeAllCertificates: any

    Include all matching certificates in the provisioning profile. Works only for the 'development' provisioning profile type

  • includeMacInProfiles: any

    Include Apple Silicon Mac devices in provisioning profiles for iOS/iPadOS apps

  • outputPath: string

    Directory in which the profile should be stored

  • platform: any

    Set the provisioning profile's platform (i.e. ios, tvos, macos, catalyst)

  • Optional provisioningName?: string

    The name of the profile that is used on the Apple Developer Portal

  • Optional readonly?: any

    Only fetch existing profile, don't generate new ones

  • skipCertificateVerification: any

    Skips the verification of the certificates for every existing profiles. This will make sure the provisioning profile can be used on the local machine

  • skipFetchProfiles: any

    Skips the verification of existing profiles which is useful if you have thousands of profiles

  • skipInstall: any

    By default, the certificate will be added to your local machine. Setting this flag will skip this action

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional templateName?: string

    The name of provisioning profile template. If the developer account has provisioning profile templates (aka: custom entitlements), the template name can be found by inspecting the Entitlements drop-down while creating/editing a provisioning profile (e.g. "Apple Pay Pass Suppression Development")

  • Optional username?: string

    Your Apple ID Username

GetPushCertificateOptions

GetPushCertificateOptions: { activeDaysLimit: any; appIdentifier: string; development: any; force: any; generateP12: any; newProfile?: any; outputPath: string; p12Password?: string; pemName?: string; platform: string; savePrivateKey: any; teamId?: string; teamName?: string; username: string; websitePush: any }

Shape for getPushCertificate options argument

Type declaration

  • activeDaysLimit: any

    If the current certificate is active for less than this number of days, generate a new one

  • appIdentifier: string

    The bundle identifier of your app

  • development: any

    Renew the development push certificate instead of the production one

  • force: any

    Create a new push certificate, even if the current one is active for 30 (or PEM_ACTIVE_DAYS_LIMIT) more days

  • generateP12: any

    Generate a p12 file additionally to a PEM file

  • Optional newProfile?: any

    Block that is called if there is a new profile

  • outputPath: string

    The path to a directory in which all certificates and private keys should be stored

  • Optional p12Password?: string

    The password that is used for your p12 file

  • Optional pemName?: string

    The file name of the generated .pem file

  • platform: string

    Set certificate's platform. Used for creation of production & development certificates. Supported platforms: ios, macos

  • savePrivateKey: any

    Set to save the private RSA key

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • username: string

    Your Apple ID Username

  • websitePush: any

    Create a Website Push certificate

GetVersionNumberOptions

GetVersionNumberOptions: { configuration?: string; target?: string; xcodeproj?: string }

Shape for getVersionNumber options argument

Type declaration

  • Optional configuration?: string

    Configuration name, optional. Will be needed if you have altered the configurations from the default or your version number depends on the configuration selected

  • Optional target?: string

    Target name, optional. Will be needed if you have more than one non-test target to avoid being prompted to select one

  • Optional xcodeproj?: string

    Path to the Xcode project to read version number from, or its containing directory, optional. If omitted, or if a directory is passed instead, it will use the first Xcode project found within the given directory, or the project root directory if none is passed

GitAddOptions

GitAddOptions: { force?: boolean; path?: string[]; pathspec?: string; shellEscape?: boolean }

Shape for gitAdd options argument

Type declaration

  • Optional force?: boolean

    Allow adding otherwise ignored files

  • Optional path?: string[]

    The file(s) and path(s) you want to add

  • Optional pathspec?: string

    DEPRECATED! Use --path instead - The pathspec you want to add files from

  • Optional shellEscape?: boolean

    Shell escapes paths (set to false if using wildcards or manually escaping spaces in :path)

GitBranchOptions

GitBranchOptions: {}

Shape for gitBranch options argument

Type declaration

GitCommitOptions

GitCommitOptions: { allowNothingToCommit?: boolean; message: string; path: string[]; skipGitHooks?: boolean }

Shape for gitCommit options argument

Type declaration

  • Optional allowNothingToCommit?: boolean

    Set to true to allow commit without any git changes in the files you want to commit

  • message: string

    The commit message that should be used

  • path: string[]

    The file(s) or directory(ies) you want to commit. You can pass an array of multiple file-paths or fileglobs "*.txt" to commit all matching files. The files already staged but not specified and untracked files won't be committed

  • Optional skipGitHooks?: boolean

    Set to true to pass --no-verify to git

GitPullOptions

GitPullOptions: { onlyTags?: boolean; rebase?: boolean }

Shape for gitPull options argument

Type declaration

  • Optional onlyTags?: boolean

    Simply pull the tags, and not bring new commits to the current branch from the remote

  • Optional rebase?: boolean

    Rebase on top of the remote branch instead of merge

GitRemoteBranchOptions

GitRemoteBranchOptions: { remoteName?: string }

Shape for gitRemoteBranch options argument

Type declaration

  • Optional remoteName?: string

    The remote repository to check

GitSubmoduleUpdateOptions

GitSubmoduleUpdateOptions: { init: boolean; recursive: boolean }

Shape for gitSubmoduleUpdate options argument

Type declaration

  • init: boolean

    Should the submodules be initiated before update?

  • recursive: boolean

    Should the submodules be updated recursively?

GitTagExistsOptions

GitTagExistsOptions: { remote?: boolean; remoteName?: string; tag: string }

Shape for gitTagExists options argument

Type declaration

  • Optional remote?: boolean

    Whether to check remote. Defaults to false

  • Optional remoteName?: string

    The remote to check. Defaults to origin

  • tag: string

    The tag name that should be checked

GithubApiOptions

GithubApiOptions: { apiBearer?: string; apiToken?: string; body?: string; errorHandlers?: { string: string }; headers?: { string: string }; httpMethod?: string; path?: string; rawBody?: string; secure?: boolean; serverUrl?: string; url?: string }

Shape for githubApi options argument

Type declaration

  • Optional apiBearer?: string

    Use a Bearer authorization token. Usually generated by GitHub Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable

  • Optional apiToken?: string

    Personal API Token for GitHub - generate one at https://github.com/settings/tokens

  • Optional body?: string

    The request body in JSON or hash format

  • Optional errorHandlers?: { string: string }

    Optional error handling hash based on status code, or pass '*' to handle all errors

    • string: string
  • Optional headers?: { string: string }

    Optional headers to apply

    • string: string
  • Optional httpMethod?: string

    The HTTP method. e.g. GET / POST

  • Optional path?: string

    The endpoint path. e.g. '/repos/:owner/:repo/readme'

  • Optional rawBody?: string

    The request body taken verbatim instead of as JSON, useful for file uploads

  • Optional secure?: boolean

    Optionally disable secure requests (ssl_verify_peer)

  • Optional serverUrl?: string
  • Optional url?: string

    The complete full url - used instead of path. e.g. 'https://uploads.github.com/repos/fastlane...'

GooglePlayTrackReleaseNamesOptions

GooglePlayTrackReleaseNamesOptions: { issuer?: string; jsonKey?: string; jsonKeyData?: string; key?: string; packageName: string; rootUrl?: string; timeout?: any; track: string }

Shape for googlePlayTrackReleaseNames options argument

Type declaration

  • Optional issuer?: string

    DEPRECATED! Use --json_key instead - The issuer of the p12 file (email address of the service account)

  • Optional jsonKey?: string

    The path to a file containing service account JSON, used to authenticate with Google

  • Optional jsonKeyData?: string

    The raw service account JSON data used to authenticate with Google

  • Optional key?: string

    DEPRECATED! Use --json_key instead - The p12 File used to authenticate with Google

  • packageName: string

    The package name of the application to use

  • Optional rootUrl?: string

    Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/

  • Optional timeout?: any

    Timeout for read, open, and send (in seconds)

  • track: string

    The track of the application to use. The default available tracks are: production, beta, alpha, internal

GooglePlayTrackVersionCodesOptions

GooglePlayTrackVersionCodesOptions: { issuer?: string; jsonKey?: string; jsonKeyData?: string; key?: string; packageName: string; rootUrl?: string; timeout?: any; track: string }

Shape for googlePlayTrackVersionCodes options argument

Type declaration

  • Optional issuer?: string

    DEPRECATED! Use --json_key instead - The issuer of the p12 file (email address of the service account)

  • Optional jsonKey?: string

    The path to a file containing service account JSON, used to authenticate with Google

  • Optional jsonKeyData?: string

    The raw service account JSON data used to authenticate with Google

  • Optional key?: string

    DEPRECATED! Use --json_key instead - The p12 File used to authenticate with Google

  • packageName: string

    The package name of the application to use

  • Optional rootUrl?: string

    Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/

  • Optional timeout?: any

    Timeout for read, open, and send (in seconds)

  • track: string

    The track of the application to use. The default available tracks are: production, beta, alpha, internal

GradleOptions

GradleOptions: { buildType?: string; flags?: string; flavor?: string; gradlePath?: string; printCommand: boolean; printCommandOutput: boolean; projectDir: string; properties?: { string: string }; serial: string; systemProperties?: { string: string }; task?: string; tasks?: string[] }

Shape for gradle options argument

Type declaration

  • Optional buildType?: string

    The build type that you want the task for, e.g. Release. Useful for some tasks such as assemble

  • Optional flags?: string

    All parameter flags you want to pass to the gradle command, e.g. --exitcode --xml file.xml

  • Optional flavor?: string

    The flavor that you want the task for, e.g. MyFlavor. If you are running the assemble task in a multi-flavor project, and you rely on Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] then you must specify a flavor here or else this value will be undefined

  • Optional gradlePath?: string

    The path to your gradlew. If you specify a relative path, it is assumed to be relative to the project_dir

  • printCommand: boolean

    Control whether the generated Gradle command is printed as output before running it (true/false)

  • printCommandOutput: boolean

    Control whether the output produced by given Gradle command is printed while running (true/false)

  • projectDir: string

    The root directory of the gradle project

  • Optional properties?: { string: string }

    Gradle properties to be exposed to the gradle script

    • string: string
  • serial: string

    Android serial, which device should be used for this command

  • Optional systemProperties?: { string: string }

    Gradle system properties to be exposed to the gradle script

    • string: string
  • Optional task?: string

    The gradle task you want to execute, e.g. assemble, bundle or test. For tasks such as assembleMyFlavorRelease you should use gradle(task: 'assemble', flavor: 'Myflavor', build_type: 'Release')

  • Optional tasks?: string[]

    The multiple gradle tasks that you want to execute, e.g. [assembleDebug, bundleDebug]

GymOptions

GymOptions: { analyzeBuildTime?: boolean; archivePath?: string; buildPath?: string; buildTimingSummary?: boolean; buildlogPath: string; catalystPlatform?: string; clean: boolean; clonedSourcePackagesPath?: string; codesigningIdentity?: string; configuration?: string; derivedDataPath?: string; destination?: string; disablePackageAutomaticUpdates: boolean; disableXcpretty?: boolean; exportMethod?: string; exportOptions?: { string: string }; exportTeamId?: string; exportXcargs?: string; includeBitcode?: boolean; includeSymbols?: boolean; installerCertName?: string; outputDirectory: string; outputName?: string; project?: string; resultBundle?: boolean; resultBundlePath?: string; scheme?: string; sdk?: string; silent: boolean; skipArchive?: boolean; skipBuildArchive?: boolean; skipCodesigning?: boolean; skipPackageDependenciesResolution: boolean; skipPackageIpa: boolean; skipPackagePkg: boolean; skipProfileDetection?: boolean; suppressXcodeOutput?: boolean; toolchain?: string; useSystemScm?: boolean; workspace?: string; xcargs?: string; xcconfig?: string; xcodebuildCommand?: string; xcodebuildFormatter: string; xcprettyFormatter?: string; xcprettyReportHtml?: string; xcprettyReportJson?: string; xcprettyReportJunit?: string; xcprettyTestFormat?: boolean; xcprettyUtf?: boolean }

Shape for gym options argument

Type declaration

  • Optional analyzeBuildTime?: boolean

    Analyze the project build time and store the output in 'culprits.txt' file

  • Optional archivePath?: string

    The path to the created archive

  • Optional buildPath?: string

    The directory in which the archive should be stored in

  • Optional buildTimingSummary?: boolean

    Create a build timing summary

  • buildlogPath: string

    The directory where to store the build log

  • Optional catalystPlatform?: string

    Platform to build when using a Catalyst enabled app. Valid values are: ios, macos

  • clean: boolean

    Should the project be cleaned before building it?

  • Optional clonedSourcePackagesPath?: string

    Sets a custom path for Swift Package Manager dependencies

  • Optional codesigningIdentity?: string

    The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'

  • Optional configuration?: string

    The configuration to use when building the app. Defaults to 'Release'

  • Optional derivedDataPath?: string

    The directory where built products and other derived data will go

  • Optional destination?: string

    Use a custom destination for building the app

  • disablePackageAutomaticUpdates: boolean

    Prevents packages from automatically being resolved to versions other than those recorded in the Package.resolved file

  • Optional disableXcpretty?: boolean

    DEPRECATED! Use xcodebuild_formatter: '' instead - Disable xcpretty formatting of build output

  • Optional exportMethod?: string

    Method used to export the archive. Valid values are: app-store, validation, ad-hoc, package, enterprise, development, developer-id and mac-application

  • Optional exportOptions?: { string: string }

    Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options

    • string: string
  • Optional exportTeamId?: string

    Optional: Sometimes you need to specify a team id when exporting the ipa file

  • Optional exportXcargs?: string

    Pass additional arguments to xcodebuild for the package phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional includeBitcode?: boolean

    Should the ipa file include bitcode?

  • Optional includeSymbols?: boolean

    Should the ipa file include symbols?

  • Optional installerCertName?: string

    Full name of 3rd Party Mac Developer Installer or Developer ID Installer certificate. Example: 3rd Party Mac Developer Installer: Your Company (ABC1234XWYZ)

  • outputDirectory: string

    The directory in which the ipa file should be stored in

  • Optional outputName?: string

    The name of the resulting ipa file

  • Optional project?: string

    Path to the project file

  • Optional resultBundle?: boolean

    Should an Xcode result bundle be generated in the output directory

  • Optional resultBundlePath?: string

    Path to the result bundle directory to create. Ignored if result_bundle if false

  • Optional scheme?: string

    The project's scheme. Make sure it's marked as Shared

  • Optional sdk?: string

    The SDK that should be used for building the application

  • silent: boolean

    Hide all information that's not necessary while building

  • Optional skipArchive?: boolean

    After building, don't archive, effectively not including -archivePath param

  • Optional skipBuildArchive?: boolean

    Export ipa from previously built xcarchive. Uses archive_path as source

  • Optional skipCodesigning?: boolean

    Build without codesigning

  • skipPackageDependenciesResolution: boolean

    Skips resolution of Swift Package Manager dependencies

  • skipPackageIpa: boolean

    Should we skip packaging the ipa?

  • skipPackagePkg: boolean

    Should we skip packaging the pkg?

  • Optional skipProfileDetection?: boolean

    Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used

  • Optional suppressXcodeOutput?: boolean

    Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path

  • Optional toolchain?: string

    The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)

  • Optional useSystemScm?: boolean

    Lets xcodebuild use system's scm configuration

  • Optional workspace?: string

    Path to the workspace file

  • Optional xcargs?: string

    Pass additional arguments to xcodebuild for the build phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional xcconfig?: string

    Use an extra XCCONFIG file to build your app

  • Optional xcodebuildCommand?: string

    Allows for override of the default xcodebuild command

  • xcodebuildFormatter: string

    xcodebuild formatter to use (ex: 'xcbeautify', 'xcbeautify --quieter', 'xcpretty', 'xcpretty -test'). Use empty string (ex: '') to disable any formatter (More information: https://docs.fastlane.tools/best-practices/xcodebuild-formatters/)

  • Optional xcprettyFormatter?: string

    A custom xcpretty formatter to use

  • Optional xcprettyReportHtml?: string

    Have xcpretty create a simple HTML report at the provided path

  • Optional xcprettyReportJson?: string

    Have xcpretty create a JSON compilation database at the provided path

  • Optional xcprettyReportJunit?: string

    Have xcpretty create a JUnit-style XML report at the provided path

  • Optional xcprettyTestFormat?: boolean

    Use the test (RSpec style) format for build output

  • Optional xcprettyUtf?: boolean

    Have xcpretty use unicode encoding when reporting builds

HgAddTagOptions

HgAddTagOptions: { tag: string }

Shape for hgAddTag options argument

Type declaration

  • tag: string

    Tag to create

HgCommitVersionBumpOptions

HgCommitVersionBumpOptions: { force?: boolean; message: string; testDirtyFiles?: string; testExpectedFiles?: string; xcodeproj?: string }

Shape for hgCommitVersionBump options argument

Type declaration

  • Optional force?: boolean

    Forces the commit, even if other files than the ones containing the version number have been modified

  • message: string

    The commit message when committing the version bump

  • Optional testDirtyFiles?: string

    A list of dirty files passed in for testing

  • Optional testExpectedFiles?: string

    A list of expected changed files passed in for testing

  • Optional xcodeproj?: string

    The path to your project file (Not the workspace). If you have only one, this is optional

HgEnsureCleanStatusOptions

HgEnsureCleanStatusOptions: {}

Shape for hgEnsureCleanStatus options argument

Type declaration

HgPushOptions

HgPushOptions: { destination?: string; force: boolean }

Shape for hgPush options argument

Type declaration

  • Optional destination?: string

    The destination to push to

  • force: boolean

    Force push to remote

HipchatOptions

HipchatOptions: { apiHost?: string; apiToken: string; channel: string; customColor?: string; from?: string; includeHtmlHeader?: boolean; message: string; messageFormat?: string; notifyRoom?: boolean; success?: boolean; version: string }

Shape for hipchat options argument

Type declaration

  • Optional apiHost?: string

    The host of the HipChat-Server API

  • apiToken: string

    Hipchat API Token

  • channel: string

    The room or @username

  • Optional customColor?: string

    Specify a custom color, this overrides the success boolean. Can be one of 'yellow', 'red', 'green', 'purple', 'gray', or 'random'

  • Optional from?: string

    Name the message will appear to be sent from

  • Optional includeHtmlHeader?: boolean

    Should html formatted messages include a preformatted header? (true/false)

  • message: string

    The message to post on HipChat

  • Optional messageFormat?: string

    Format of the message to post. Must be either 'html' or 'text'

  • Optional notifyRoom?: boolean

    Should the people in the room be notified? (true/false)

  • Optional success?: boolean

    Was this build successful? (true/false)

  • version: string

    Version of the Hipchat API. Must be 1 or 2

HockeyOptions

HockeyOptions: { apiToken: string; apk?: string; buildServerUrl?: string; bundleShortVersion?: string; bundleVersion?: string; bypassCdn: boolean; commitSha?: string; createStatus: string; createUpdate: boolean; dsaSignature?: string; dsym?: string; ipa?: string; mandatory: string; notes: string; notesType: string; notify: string; ownerId?: string; publicIdentifier?: string; releaseType: string; repositoryUrl?: string; status: string; strategy: string; tags?: string; teams?: string; timeout?: any; uploadDsymOnly: boolean; users?: string }

Shape for hockey options argument

Type declaration

  • apiToken: string

    API Token for Hockey Access

  • Optional apk?: string

    Path to your APK file

  • Optional buildServerUrl?: string

    The URL of the build job on your build server

  • Optional bundleShortVersion?: string

    The bundle_short_version of your application, required when using create_update

  • Optional bundleVersion?: string

    The bundle_version of your application, required when using create_update

  • bypassCdn: boolean

    Flag to bypass Hockey CDN when it uploads successfully but reports error

  • Optional commitSha?: string

    The Git commit SHA for this build

  • createStatus: string

    Download status for initial version creation when create_update is true: "1" = No user can download; "2" = Available for download (only possible with full-access token)

  • createUpdate: boolean

    Set true if you want to create then update your app as opposed to just upload it. You will need the 'public_identifier', 'bundle_version' and 'bundle_short_version'

  • Optional dsaSignature?: string

    DSA signature for sparkle updates for macOS

  • Optional dsym?: string

    Path to your symbols file. For iOS and Mac provide path to app.dSYM.zip. For Android provide path to mappings.txt file

  • Optional ipa?: string

    Path to your IPA file. Optional if you use the gym or xcodebuild action. For Mac zip the .app. For Android provide path to .apk file. In addition you could use this to upload .msi, .zip, .pkg, etc if you use the 'create_update' mechanism

  • mandatory: string

    Set to "1" to make this update mandatory

  • notes: string

    Beta Notes

  • notesType: string

    Notes type for your :notes, "0" = Textile, "1" = Markdown (default)

  • notify: string

    Notify testers? "1" for yes

  • Optional ownerId?: string

    ID for the owner of the app

  • Optional publicIdentifier?: string

    App id of the app you are targeting, usually you won't need this value. Required, if upload_dsym_only set to true

  • releaseType: string

    Release type of the app: "0" = Beta (default), "1" = Store, "2" = Alpha, "3" = Enterprise

  • Optional repositoryUrl?: string

    The URL of your source repository

  • status: string

    Download status: "1" = No user can download; "2" = Available for download (only possible with full-access token)

  • strategy: string

    Strategy: 'add' = to add the build as a new build even if it has the same build number (default); 'replace' = to replace a build with the same build number

  • Optional tags?: string

    Comma separated list of tags which will receive access to the build

  • Optional teams?: string

    Comma separated list of team ID numbers to which this build will be restricted

  • Optional timeout?: any

    Request timeout in seconds

  • uploadDsymOnly: boolean

    Flag to upload only the dSYM file to hockey app

  • Optional users?: string

    Comma separated list of user ID numbers to which this build will be restricted

IftttOptions

IftttOptions: { apiKey: string; eventName: string; value1?: string; value2?: string; value3?: string }

Shape for ifttt options argument

Type declaration

  • apiKey: string

    API key

  • eventName: string

    The name of the event that will be triggered

  • Optional value1?: string

    Extra data sent with the event

  • Optional value2?: string

    Extra data sent with the event

  • Optional value3?: string

    Extra data sent with the event

ImportCertificateOptions

ImportCertificateOptions: { certificatePassword?: string; certificatePath: string; keychainName: string; keychainPassword?: string; keychainPath?: string; logOutput?: boolean }

Shape for importCertificate options argument

Type declaration

  • Optional certificatePassword?: string

    Certificate password

  • certificatePath: string

    Path to certificate

  • keychainName: string

    Keychain the items should be imported to

  • Optional keychainPassword?: string

    The password for the keychain. Note that for the login keychain this is your user's password

  • Optional keychainPath?: string

    Path to the Keychain file to which the items should be imported

  • Optional logOutput?: boolean

    If output should be logged to the console

ImportFromGitOptions

ImportFromGitOptions: { branch?: string; cachePath?: string; dependencies?: string; path?: string; url?: string; version?: string[] }

Shape for importFromGit options argument

Type declaration

  • Optional branch?: string

    The branch or tag to check-out on the repository

  • Optional cachePath?: string

    The path to a directory where the repository should be cloned into. Defaults to nil, which causes the repository to be cloned on every call, to a temporary directory

  • Optional dependencies?: string

    The array of additional Fastfiles in the repository

  • Optional path?: string

    The path of the Fastfile in the repository

  • Optional url?: string

    The URL of the repository to import the Fastfile from

  • Optional version?: string[]

    The version to checkout on the repository. Optimistic match operator or multiple conditions can be used to select the latest version within constraints

ImportOptions

ImportOptions: {}

Shape for import options argument

Type declaration

IncrementBuildNumberOptions

IncrementBuildNumberOptions: { buildNumber?: string; skipInfoPlist: boolean; xcodeproj?: string }

Shape for incrementBuildNumber options argument

Type declaration

  • Optional buildNumber?: string

    Change to a specific version. When you provide this parameter, Apple Generic Versioning does not have to be enabled

  • skipInfoPlist: boolean

    Don't update Info.plist files when updating the build version

  • Optional xcodeproj?: string

    optional, you must specify the path to your main Xcode project if it is not in the project root directory

IncrementVersionNumberOptions

IncrementVersionNumberOptions: { bumpType: string; versionNumber?: string; xcodeproj?: string }

Shape for incrementVersionNumber options argument

Type declaration

  • bumpType: string

    The type of this version bump. Available: patch, minor, major

  • Optional versionNumber?: string

    Change to a specific version. This will replace the bump type value

  • Optional xcodeproj?: string

    optional, you must specify the path to your main Xcode project if it is not in the project root directory

InstallOnDeviceOptions

InstallOnDeviceOptions: { deviceId?: string; extra?: string; ipa?: string; skipWifi?: boolean }

Shape for installOnDevice options argument

Type declaration

  • Optional deviceId?: string

    id of the device / if not set defaults to first found device

  • Optional extra?: string

    Extra Command-line arguments passed to ios-deploy

  • Optional ipa?: string

    The IPA file to put on the device

  • Optional skipWifi?: boolean

    Do not search for devices via WiFi

InstallProvisioningProfileOptions

InstallProvisioningProfileOptions: { path: string }

Shape for installProvisioningProfile options argument

Type declaration

  • path: string

    Path to provisioning profile

InstallXcodePluginOptions

InstallXcodePluginOptions: { github?: string; url: string }

Shape for installXcodePlugin options argument

Type declaration

  • Optional github?: string

    GitHub repository URL for Xcode plugin

  • url: string

    URL for Xcode plugin ZIP file

InstallrOptions

InstallrOptions: { add?: string; apiToken: string; ipa: string; notes?: string; notify?: string }

Shape for installr options argument

Type declaration

  • Optional add?: string

    Groups to add (e.g. 'exec,ops')

  • apiToken: string

    API Token for Installr Access

  • ipa: string

    Path to your IPA file. Optional if you use the gym or xcodebuild action

  • Optional notes?: string

    Release notes

  • Optional notify?: string

    Groups to notify (e.g. 'dev,qa')

IpaOptions

IpaOptions: { archive?: boolean; clean?: boolean; configuration?: string; destination?: string; embed?: string; identity?: string; ipa?: string; project?: string; scheme?: string; sdk?: string; workspace?: string; xcargs?: string; xcconfig?: string }

Shape for ipa options argument

Type declaration

  • Optional archive?: boolean

    Archive project after building

  • Optional clean?: boolean

    Clean project before building

  • Optional configuration?: string

    Configuration used to build

  • Optional destination?: string

    Build destination. Defaults to current directory

  • Optional embed?: string

    Sign .ipa file with .mobileprovision

  • Optional identity?: string

    Identity to be used along with --embed

  • Optional ipa?: string

    Specify the name of the .ipa file to generate (including file extension)

  • Optional project?: string

    Project (.xcodeproj) file to use to build app (automatically detected in current directory, overridden by --workspace option, if passed)

  • Optional scheme?: string

    Scheme used to build app

  • Optional sdk?: string

    Use SDK as the name or path of the base SDK when building the project

  • Optional workspace?: string

    WORKSPACE Workspace (.xcworkspace) file to use to build app (automatically detected in current directory)

  • Optional xcargs?: string

    Pass additional arguments to xcodebuild when building the app. Be sure to quote multiple args

  • Optional xcconfig?: string

    Use an extra XCCONFIG file to build the app

IsCiOptions

IsCiOptions: {}

Shape for isCi options argument

Type declaration

JazzyOptions

JazzyOptions: { config?: string; moduleVersion?: string }

Shape for jazzy options argument

Type declaration

  • Optional config?: string

    Path to jazzy config file

  • Optional moduleVersion?: string

    Version string to use as part of the default docs title and inside the docset

JiraOptions

JiraOptions: { commentText: string; contextPath?: string; failOnError?: boolean; password: string; ticketId: string; url: string; username: string }

Shape for jira options argument

Type declaration

  • commentText: string

    Text to add to the ticket as a comment

  • Optional contextPath?: string

    Appends to the url (ex: "/jira")

  • Optional failOnError?: boolean

    Should an error adding the Jira comment cause a failure?

  • password: string

    Password or API token for Jira

  • ticketId: string

    Ticket ID for Jira, i.e. IOS-123

  • url: string

    URL for Jira instance

  • username: string

    Username for Jira instance

LaneContextOptions

LaneContextOptions: {}

Shape for laneContext options argument

Type declaration

LastGitCommitOptions

LastGitCommitOptions: {}

Shape for lastGitCommit options argument

Type declaration

LastGitTagOptions

LastGitTagOptions: { pattern?: string }

Shape for lastGitTag options argument

Type declaration

  • Optional pattern?: string

    Pattern to filter tags when looking for last one. Limit tags to ones matching given shell glob. If pattern lacks ?, *, or [, * at the end is implied

LatestTestflightBuildNumberOptions

LatestTestflightBuildNumberOptions: { apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string; initialBuildNumber: string; live?: boolean; platform?: string; teamId?: string; teamName?: string; username?: string; version?: string }

Shape for latestTestflightBuildNumber options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string

    The bundle identifier of your app

  • initialBuildNumber: string

    sets the build number to given value if no build is in current train

  • Optional live?: boolean

    Query the live version (ready-for-sale)

  • Optional platform?: string

    The platform to use (optional)

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional username?: string

    Your Apple ID Username

  • Optional version?: string

    The version number whose latest build number we want

LcovOptions

LcovOptions: { arch: string; outputDir?: string; projectName: string; scheme: string }

Shape for lcov options argument

Type declaration

  • arch: string

    The build arch where will search .gcda files

  • Optional outputDir?: string

    The output directory that coverage data will be stored. If not passed will use coverage_reports as default value

  • projectName: string

    Name of the project

  • scheme: string

    Scheme of the project

MailgunOptions

MailgunOptions: { apikey: string; appLink: string; attachment?: string[]; ciBuildLink?: string; customPlaceholders: { string: string }; from?: string; mailgunApikey?: string; mailgunSandboxDomain?: string; mailgunSandboxPostmaster?: string; message: string; postmaster: string; replyTo?: string; subject?: string; success?: boolean; templatePath?: string; to: string }

Shape for mailgun options argument

Type declaration

  • apikey: string

    Mailgun apikey for your mail

  • appLink: string

    App Release link

  • Optional attachment?: string[]

    Mail Attachment filenames, either an array or just one string

  • Optional ciBuildLink?: string

    CI Build Link

  • customPlaceholders: { string: string }

    Placeholders for template given as a hash

    • string: string
  • Optional from?: string

    Mailgun sender name

  • Optional mailgunApikey?: string

    Mailgun apikey for your mail. Please use postmaster instead

  • Optional mailgunSandboxDomain?: string

    Mailgun sandbox domain postmaster for your mail. Please use postmaster instead

  • Optional mailgunSandboxPostmaster?: string

    Mailgun sandbox domain postmaster for your mail. Please use postmaster instead

  • message: string

    Message of your mail

  • postmaster: string

    Mailgun sandbox domain postmaster for your mail

  • Optional replyTo?: string

    Mail Reply to

  • Optional subject?: string

    Subject of your mail

  • Optional success?: boolean

    Was this build successful? (true/false)

  • Optional templatePath?: string

    Mail HTML template

  • to: string

    Destination of your mail

MakeChangelogFromJenkinsOptions

MakeChangelogFromJenkinsOptions: { fallbackChangelog?: string; includeCommitBody?: boolean }

Shape for makeChangelogFromJenkins options argument

Type declaration

  • Optional fallbackChangelog?: string

    Fallback changelog if there is not one on Jenkins, or it couldn't be read

  • Optional includeCommitBody?: boolean

    Include the commit body along with the summary

MatchNukeOptions

MatchNukeOptions: { additionalCertTypes?: string[]; apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string[]; certificateId?: string; cloneBranchDirectly: boolean; deriveCatalystAppIdentifier: boolean; failOnNameTaken?: boolean; force: boolean; forceForNewCertificates: boolean; forceForNewDevices: boolean; generateAppleCerts: boolean; gitBasicAuthorization?: string; gitBearerAuthorization?: string; gitBranch: string; gitFullName?: string; gitPrivateKey?: string; gitUrl: string; gitUserEmail?: string; gitlabHost?: string; gitlabProject?: string; googleCloudBucketName?: string; googleCloudKeysFile?: string; googleCloudProjectId?: string; includeAllCertificates: boolean; includeMacInProfiles: boolean; jobToken?: string; keychainName: string; keychainPassword?: string; outputPath?: string; platform: string; privateToken?: string; profileName?: string; readonly: boolean; s3AccessKey?: string; s3Bucket?: string; s3ObjectPrefix?: string; s3Region?: string; s3SecretAccessKey?: string; s3SkipEncryption: boolean; safeRemoveCerts: boolean; shallowClone: boolean; skipCertificateMatching?: boolean; skipConfirmation: boolean; skipDocs: boolean; skipGoogleCloudAccountConfirmation: boolean; skipProvisioningProfiles: boolean; skipSetPartitionList: boolean; storageMode: string; teamId?: string; teamName?: string; templateName?: string; type: string; username?: string; verbose: boolean }

Shape for matchNuke options argument

Type declaration

  • Optional additionalCertTypes?: string[]

    Create additional cert types needed for macOS installers (valid values: mac_installer_distribution, developer_id_installer)

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string[]

    The bundle identifier(s) of your app (comma-separated string or array of strings)

  • Optional certificateId?: string

    Select certificate by id. Useful if multiple certificates are stored in one place

  • cloneBranchDirectly: boolean

    Clone just the branch specified, instead of the whole repo. This requires that the branch already exists. Otherwise the command will fail

  • deriveCatalystAppIdentifier: boolean

    Enable this if you have the Mac Catalyst capability enabled and your project was created with Xcode 11.3 or earlier. Prepends 'maccatalyst.' to the app identifier for the provisioning profile mapping

  • Optional failOnNameTaken?: boolean

    Should the command fail if it was about to create a duplicate of an existing provisioning profile. It can happen due to issues on Apple Developer Portal, when profile to be recreated was not properly deleted first

  • force: boolean

    Renew the provisioning profiles every time you run match

  • forceForNewCertificates: boolean

    Renew the provisioning profiles if the certificate count on the developer portal has changed. Works only for the 'development' provisioning profile type. Requires 'include_all_certificates' option to be 'true'

  • forceForNewDevices: boolean

    Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile types 'appstore' and 'developer_id'

  • generateAppleCerts: boolean

    Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)

  • Optional gitBasicAuthorization?: string

    Use a basic authorization header to access the git repo (e.g.: access via HTTPS, GitHub Actions, etc), usually a string in Base64

  • Optional gitBearerAuthorization?: string

    Use a bearer authorization header to access the git repo (e.g.: access to an Azure DevOps repository), usually a string in Base64

  • gitBranch: string

    Specific git branch to use

  • Optional gitFullName?: string

    git user full name to commit

  • Optional gitPrivateKey?: string

    Use a private key to access the git repo (e.g.: access to GitHub repository via Deploy keys), usually a id_rsa named file or the contents hereof

  • gitUrl: string

    URL to the git repo containing all the certificates

  • Optional gitUserEmail?: string

    git user email to commit

  • Optional gitlabHost?: string

    GitLab Host (i.e. 'https://gitlab.com')

  • Optional gitlabProject?: string

    GitLab Project Path (i.e. 'gitlab-org/gitlab')

  • Optional googleCloudBucketName?: string

    Name of the Google Cloud Storage bucket to use

  • Optional googleCloudKeysFile?: string

    Path to the gc_keys.json file

  • Optional googleCloudProjectId?: string

    ID of the Google Cloud project to use for authentication

  • includeAllCertificates: boolean

    Include all matching certificates in the provisioning profile. Works only for the 'development' provisioning profile type

  • includeMacInProfiles: boolean

    Include Apple Silicon Mac devices in provisioning profiles for iOS/iPadOS apps

  • Optional jobToken?: string

    GitLab CI_JOB_TOKEN

  • keychainName: string

    Keychain the items should be imported to

  • Optional keychainPassword?: string

    This might be required the first time you access certificates on a new mac. For the login/default keychain this is your macOS account password

  • Optional outputPath?: string

    Path in which to export certificates, key and profile

  • platform: string

    Set the provisioning profile's platform to work with (i.e. ios, tvos, macos, catalyst)

  • Optional privateToken?: string

    GitLab Access Token

  • Optional profileName?: string

    A custom name for the provisioning profile. This will replace the default provisioning profile name if specified

  • readonly: boolean

    Only fetch existing certificates and profiles, don't generate new ones

  • Optional s3AccessKey?: string

    S3 access key

  • Optional s3Bucket?: string

    Name of the S3 bucket

  • Optional s3ObjectPrefix?: string

    Prefix to be used on all objects uploaded to S3

  • Optional s3Region?: string

    Name of the S3 region

  • Optional s3SecretAccessKey?: string

    S3 secret access key

  • s3SkipEncryption: boolean

    Skip encryption of all objects uploaded to S3. WARNING: only enable this on S3 buckets with sufficiently restricted permissions and server-side encryption enabled. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingEncryption.html

  • safeRemoveCerts: boolean

    Remove certs from repository during nuke without revoking them on the developer portal

  • shallowClone: boolean

    Make a shallow clone of the repository (truncate the history to 1 revision)

  • Optional skipCertificateMatching?: boolean

    Set to true if there is no access to Apple developer portal but there are certificates, keys and profiles provided. Only works with match import action

  • skipConfirmation: boolean

    Disables confirmation prompts during nuke, answering them with yes

  • skipDocs: boolean

    Skip generation of a README.md for the created git repository

  • skipGoogleCloudAccountConfirmation: boolean

    Skips confirming to use the system google account

  • skipProvisioningProfiles: boolean

    Skip syncing provisioning profiles

  • skipSetPartitionList: boolean

    Skips setting the partition list (which can sometimes take a long time). Setting the partition list is usually needed to prevent Xcode from prompting to allow a cert to be used for signing

  • storageMode: string

    Define where you want to store your certificates

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional templateName?: string

    The name of provisioning profile template. If the developer account has provisioning profile templates (aka: custom entitlements), the template name can be found by inspecting the Entitlements drop-down while creating/editing a provisioning profile (e.g. "Apple Pay Pass Suppression Development")

  • type: string

    Define the profile type, can be appstore, adhoc, development, enterprise, developer_id, mac_installer_distribution, developer_id_installer

  • Optional username?: string

    Your Apple ID Username

  • verbose: boolean

    Print out extra information and all commands

MatchOptions

MatchOptions: { additionalCertTypes?: string[]; apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string[]; certificateId?: string; cloneBranchDirectly: boolean; deriveCatalystAppIdentifier: boolean; failOnNameTaken?: boolean; force: boolean; forceForNewCertificates: boolean; forceForNewDevices: boolean; generateAppleCerts: boolean; gitBasicAuthorization?: string; gitBearerAuthorization?: string; gitBranch: string; gitFullName?: string; gitPrivateKey?: string; gitUrl: string; gitUserEmail?: string; gitlabHost?: string; gitlabProject?: string; googleCloudBucketName?: string; googleCloudKeysFile?: string; googleCloudProjectId?: string; includeAllCertificates: boolean; includeMacInProfiles: boolean; jobToken?: string; keychainName: string; keychainPassword?: string; outputPath?: string; platform: string; privateToken?: string; profileName?: string; readonly: boolean; s3AccessKey?: string; s3Bucket?: string; s3ObjectPrefix?: string; s3Region?: string; s3SecretAccessKey?: string; s3SkipEncryption: boolean; safeRemoveCerts: boolean; shallowClone: boolean; skipCertificateMatching?: boolean; skipConfirmation: boolean; skipDocs: boolean; skipGoogleCloudAccountConfirmation: boolean; skipProvisioningProfiles: boolean; skipSetPartitionList: boolean; storageMode: string; teamId?: string; teamName?: string; templateName?: string; type: string; username?: string; verbose: boolean }

Shape for match options argument

Type declaration

  • Optional additionalCertTypes?: string[]

    Create additional cert types needed for macOS installers (valid values: mac_installer_distribution, developer_id_installer)

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string[]

    The bundle identifier(s) of your app (comma-separated string or array of strings)

  • Optional certificateId?: string

    Select certificate by id. Useful if multiple certificates are stored in one place

  • cloneBranchDirectly: boolean

    Clone just the branch specified, instead of the whole repo. This requires that the branch already exists. Otherwise the command will fail

  • deriveCatalystAppIdentifier: boolean

    Enable this if you have the Mac Catalyst capability enabled and your project was created with Xcode 11.3 or earlier. Prepends 'maccatalyst.' to the app identifier for the provisioning profile mapping

  • Optional failOnNameTaken?: boolean

    Should the command fail if it was about to create a duplicate of an existing provisioning profile. It can happen due to issues on Apple Developer Portal, when profile to be recreated was not properly deleted first

  • force: boolean

    Renew the provisioning profiles every time you run match

  • forceForNewCertificates: boolean

    Renew the provisioning profiles if the certificate count on the developer portal has changed. Works only for the 'development' provisioning profile type. Requires 'include_all_certificates' option to be 'true'

  • forceForNewDevices: boolean

    Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile types 'appstore' and 'developer_id'

  • generateAppleCerts: boolean

    Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)

  • Optional gitBasicAuthorization?: string

    Use a basic authorization header to access the git repo (e.g.: access via HTTPS, GitHub Actions, etc), usually a string in Base64

  • Optional gitBearerAuthorization?: string

    Use a bearer authorization header to access the git repo (e.g.: access to an Azure DevOps repository), usually a string in Base64

  • gitBranch: string

    Specific git branch to use

  • Optional gitFullName?: string

    git user full name to commit

  • Optional gitPrivateKey?: string

    Use a private key to access the git repo (e.g.: access to GitHub repository via Deploy keys), usually a id_rsa named file or the contents hereof

  • gitUrl: string

    URL to the git repo containing all the certificates

  • Optional gitUserEmail?: string

    git user email to commit

  • Optional gitlabHost?: string

    GitLab Host (i.e. 'https://gitlab.com')

  • Optional gitlabProject?: string

    GitLab Project Path (i.e. 'gitlab-org/gitlab')

  • Optional googleCloudBucketName?: string

    Name of the Google Cloud Storage bucket to use

  • Optional googleCloudKeysFile?: string

    Path to the gc_keys.json file

  • Optional googleCloudProjectId?: string

    ID of the Google Cloud project to use for authentication

  • includeAllCertificates: boolean

    Include all matching certificates in the provisioning profile. Works only for the 'development' provisioning profile type

  • includeMacInProfiles: boolean

    Include Apple Silicon Mac devices in provisioning profiles for iOS/iPadOS apps

  • Optional jobToken?: string

    GitLab CI_JOB_TOKEN

  • keychainName: string

    Keychain the items should be imported to

  • Optional keychainPassword?: string

    This might be required the first time you access certificates on a new mac. For the login/default keychain this is your macOS account password

  • Optional outputPath?: string

    Path in which to export certificates, key and profile

  • platform: string

    Set the provisioning profile's platform to work with (i.e. ios, tvos, macos, catalyst)

  • Optional privateToken?: string

    GitLab Access Token

  • Optional profileName?: string

    A custom name for the provisioning profile. This will replace the default provisioning profile name if specified

  • readonly: boolean

    Only fetch existing certificates and profiles, don't generate new ones

  • Optional s3AccessKey?: string

    S3 access key

  • Optional s3Bucket?: string

    Name of the S3 bucket

  • Optional s3ObjectPrefix?: string

    Prefix to be used on all objects uploaded to S3

  • Optional s3Region?: string

    Name of the S3 region

  • Optional s3SecretAccessKey?: string

    S3 secret access key

  • s3SkipEncryption: boolean

    Skip encryption of all objects uploaded to S3. WARNING: only enable this on S3 buckets with sufficiently restricted permissions and server-side encryption enabled. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingEncryption.html

  • safeRemoveCerts: boolean

    Remove certs from repository during nuke without revoking them on the developer portal

  • shallowClone: boolean

    Make a shallow clone of the repository (truncate the history to 1 revision)

  • Optional skipCertificateMatching?: boolean

    Set to true if there is no access to Apple developer portal but there are certificates, keys and profiles provided. Only works with match import action

  • skipConfirmation: boolean

    Disables confirmation prompts during nuke, answering them with yes

  • skipDocs: boolean

    Skip generation of a README.md for the created git repository

  • skipGoogleCloudAccountConfirmation: boolean

    Skips confirming to use the system google account

  • skipProvisioningProfiles: boolean

    Skip syncing provisioning profiles

  • skipSetPartitionList: boolean

    Skips setting the partition list (which can sometimes take a long time). Setting the partition list is usually needed to prevent Xcode from prompting to allow a cert to be used for signing

  • storageMode: string

    Define where you want to store your certificates

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional templateName?: string

    The name of provisioning profile template. If the developer account has provisioning profile templates (aka: custom entitlements), the template name can be found by inspecting the Entitlements drop-down while creating/editing a provisioning profile (e.g. "Apple Pay Pass Suppression Development")

  • type: string

    Define the profile type, can be appstore, adhoc, development, enterprise, developer_id, mac_installer_distribution, developer_id_installer

  • Optional username?: string

    Your Apple ID Username

  • verbose: boolean

    Print out extra information and all commands

MinFastlaneVersionOptions

MinFastlaneVersionOptions: {}

Shape for minFastlaneVersion options argument

Type declaration

ModifyServicesOptions

ModifyServicesOptions: { appIdentifier: string; services: { string: string }; teamId?: string; teamName?: string; username: string }

Shape for modifyServices options argument

Type declaration

  • appIdentifier: string

    App Identifier (Bundle ID, e.g. com.krausefx.app)

  • services: { string: string }

    Array with Spaceship App Services (e.g. access_wifi: (on|off)(:on|:off)(true|false), app_attest: (on|off)(:on|:off)(true|false), app_group: (on|off)(:on|:off)(true|false), apple_pay: (on|off)(:on|:off)(true|false), associated_domains: (on|off)(:on|:off)(true|false), auto_fill_credential: (on|off)(:on|:off)(true|false), class_kit: (on|off)(:on|:off)(true|false), icloud: (legacy|cloudkit)(:on|:off)(true|false), custom_network_protocol: (on|off)(:on|:off)(true|false), data_protection: (complete|unlessopen|untilfirstauth)(:on|:off)(true|false), extended_virtual_address_space: (on|off)(:on|:off)(true|false), family_controls: (on|off)(:on|:off)(true|false), file_provider_testing_mode: (on|off)(:on|:off)(true|false), fonts: (on|off)(:on|:off)(true|false), game_center: (ios|mac)(:on|:off)(true|false), health_kit: (on|off)(:on|:off)(true|false), hls_interstitial_preview: (on|off)(:on|:off)(true|false), home_kit: (on|off)(:on|:off)(true|false), hotspot: (on|off)(:on|:off)(true|false), in_app_purchase: (on|off)(:on|:off)(true|false), inter_app_audio: (on|off)(:on|:off)(true|false), low_latency_hls: (on|off)(:on|:off)(true|false), managed_associated_domains: (on|off)(:on|:off)(true|false), maps: (on|off)(:on|:off)(true|false), multipath: (on|off)(:on|:off)(true|false), network_extension: (on|off)(:on|:off)(true|false), nfc_tag_reading: (on|off)(:on|:off)(true|false), personal_vpn: (on|off)(:on|:off)(true|false), passbook: (on|off)(:on|:off)(true|false), push_notification: (on|off)(:on|:off)(true|false), sign_in_with_apple: (on)(:on|:off)(true|false), siri_kit: (on|off)(:on|:off)(true|false), system_extension: (on|off)(:on|:off)(true|false), user_management: (on|off)(:on|:off)(true|false), vpn_configuration: (on|off)(:on|:off)(true|false), wallet: (on|off)(:on|:off)(true|false), wireless_accessory: (on|off)(:on|:off)(true|false), car_play_audio_app: (on|off)(:on|:off)(true|false), car_play_messaging_app: (on|off)(:on|:off)(true|false), car_play_navigation_app: (on|off)(:on|:off)(true|false), car_play_voip_calling_app: (on|off)(:on|:off)(true|false), critical_alerts: (on|off)(:on|:off)(true|false), hotspot_helper: (on|off)(:on|:off)(true|false), driver_kit: (on|off)(:on|:off)(true|false), driver_kit_endpoint_security: (on|off)(:on|:off)(true|false), driver_kit_family_hid_device: (on|off)(:on|:off)(true|false), driver_kit_family_networking: (on|off)(:on|:off)(true|false), driver_kit_family_serial: (on|off)(:on|:off)(true|false), driver_kit_hid_event_service: (on|off)(:on|:off)(true|false), driver_kit_transport_hid: (on|off)(:on|:off)(true|false), multitasking_camera_access: (on|off)(:on|:off)(true|false), sf_universal_link_api: (on|off)(:on|:off)(true|false), vp9_decoder: (on|off)(:on|:off)(true|false), music_kit: (on|off)(:on|:off)(true|false), shazam_kit: (on|off)(:on|:off)(true|false), communication_notifications: (on|off)(:on|:off)(true|false), group_activities: (on|off)(:on|:off)(true|false), health_kit_estimate_recalibration: (on|off)(:on|:off)(true|false), time_sensitive_notifications: (on|off)(:on|:off)(true|false))

    • string: string
  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • username: string

    Your Apple ID Username

NexusUploadOptions

NexusUploadOptions: { endpoint: string; file: string; mountPath?: string; nexusVersion?: any; password: string; proxyAddress?: string; proxyPassword?: string; proxyPort?: string; proxyUsername?: string; repoClassifier?: string; repoGroupId: string; repoId: string; repoProjectName: string; repoProjectVersion: string; sslVerify?: boolean; username: string; verbose?: boolean }

Shape for nexusUpload options argument

Type declaration

  • endpoint: string

    Nexus endpoint e.g. http://nexus:8081

  • file: string

    File to be uploaded to Nexus

  • Optional mountPath?: string

    Nexus mount path (Nexus 3 instances have this configured as empty by default)

  • Optional nexusVersion?: any

    Nexus major version

  • password: string

    Nexus password

  • Optional proxyAddress?: string

    Proxy address

  • Optional proxyPassword?: string

    Proxy password

  • Optional proxyPort?: string

    Proxy port

  • Optional proxyUsername?: string

    Proxy username

  • Optional repoClassifier?: string

    Nexus repository artifact classifier (optional)

  • repoGroupId: string

    Nexus repository group id e.g. com.company

  • repoId: string

    Nexus repository id e.g. artefacts

  • repoProjectName: string

    Nexus repository commandect name. Only letters, digits, underscores(_), hyphens(-), and dots(.) are allowed

  • repoProjectVersion: string

    Nexus repository commandect version

  • Optional sslVerify?: boolean

    Verify SSL

  • username: string

    Nexus username

  • Optional verbose?: boolean

    Make detailed output

NotarizeOptions

NotarizeOptions: { apiKey?: { string: string }; apiKeyPath?: string; ascProvider?: string; bundleId?: string; package: string; printLog?: boolean; skipStapling?: boolean; tryEarlyStapling?: boolean; useNotarytool: boolean; username?: string; verbose?: boolean }

Shape for notarize options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • Optional ascProvider?: string

    Provider short name for accounts associated with multiple providers

  • Optional bundleId?: string

    Bundle identifier to uniquely identify the package

  • package: string

    Path to package to notarize, e.g. .app bundle or disk image

  • Optional printLog?: boolean

    Whether to print notarization log file, listing issues on failure and warnings on success

  • Optional skipStapling?: boolean

    Do not staple the notarization ticket to the artifact; useful for single file executables and ZIP archives

  • Optional tryEarlyStapling?: boolean

    Whether to try early stapling while the notarization request is in progress

  • useNotarytool: boolean

    Whether to xcrun notarytool or xcrun altool

  • Optional username?: string

    Apple ID username

  • Optional verbose?: boolean

    Whether to log requests

NotificationOptions

NotificationOptions: { activate?: string; appIcon?: string; contentImage?: string; execute?: string; message: string; open?: string; sound?: string; subtitle?: string; title: string }

Shape for notification options argument

Type declaration

  • Optional activate?: string

    Bundle identifier of application to be opened when the notification is clicked

  • Optional appIcon?: string

    The URL of an image to display instead of the application icon (Mavericks+ only)

  • Optional contentImage?: string

    The URL of an image to display attached to the notification (Mavericks+ only)

  • Optional execute?: string

    Shell command to run when the notification is clicked

  • message: string

    The message to display in the notification

  • Optional open?: string

    URL of the resource to be opened when the notification is clicked

  • Optional sound?: string

    The name of a sound to play when the notification appears (names are listed in Sound Preferences)

  • Optional subtitle?: string

    A subtitle to display in the notification

  • title: string

    The title to display in the notification

NotifyOptions

NotifyOptions: {}

Shape for notify options argument

Type declaration

NumberOfCommitsOptions

NumberOfCommitsOptions: { all?: boolean }

Shape for numberOfCommits options argument

Type declaration

  • Optional all?: boolean

    Returns number of all commits instead of current branch

OclintOptions

OclintOptions: { allowDuplicatedViolations: boolean; compileCommands?: string; disableRules?: string[]; enableClangStaticAnalyzer: boolean; enableGlobalAnalysis: boolean; enableRules?: string[]; excludeRegex?: string; extraArg?: string; listEnabledRules: boolean; maxPriority1?: any; maxPriority2?: any; maxPriority3?: any; oclintPath?: string; rc?: string; reportPath?: string; reportType?: string; selectRegex?: string; selectReqex?: string; thresholds?: string[] }

Shape for oclint options argument

Type declaration

  • allowDuplicatedViolations: boolean

    Allow duplicated violations in the OCLint report

  • Optional compileCommands?: string

    The json compilation database, use xctool reporter 'json-compilation-database'

  • Optional disableRules?: string[]

    List of rules to disable

  • enableClangStaticAnalyzer: boolean

    Enable Clang Static Analyzer, and integrate results into OCLint report

  • enableGlobalAnalysis: boolean

    Compile every source, and analyze across global contexts (depends on number of source files, could results in high memory load)

  • Optional enableRules?: string[]

    List of rules to pick explicitly

  • Optional excludeRegex?: string

    Exclude all files matching this regex

  • Optional extraArg?: string

    Additional argument to append to the compiler command line

  • listEnabledRules: boolean

    List enabled rules

  • Optional maxPriority1?: any

    The max allowed number of priority 1 violations

  • Optional maxPriority2?: any

    The max allowed number of priority 2 violations

  • Optional maxPriority3?: any

    The max allowed number of priority 3 violations

  • Optional oclintPath?: string

    The path to oclint binary

  • Optional rc?: string

    Override the default behavior of rules

  • Optional reportPath?: string

    The reports file path

  • Optional reportType?: string

    The type of the report (default: html)

  • Optional selectRegex?: string

    Select all files matching this regex

  • Optional selectReqex?: string

    DEPRECATED! Use :select_regex instead - Select all files matching this reqex

  • Optional thresholds?: string[]

    List of rule thresholds to override the default behavior of rules

OnesignalOptions

OnesignalOptions: { androidGcmSenderId?: string; androidToken?: string; apnsEnv?: string; apnsP12?: string; apnsP12Password?: string; appId?: string; appName?: string; authToken: string; fcmJson?: string; organizationId?: string }

Shape for onesignal options argument

Type declaration

  • Optional androidGcmSenderId?: string

    GCM SENDER ID

  • Optional androidToken?: string

    ANDROID GCM KEY

  • Optional apnsEnv?: string

    APNS environment

  • Optional apnsP12?: string

    APNS P12 File (in .p12 format)

  • Optional apnsP12Password?: string

    APNS P12 password

  • Optional appId?: string

    OneSignal App ID. Setting this updates an existing app

  • Optional appName?: string

    OneSignal App Name. This is required when creating an app (in other words, when :app_id is not set, and optional when updating an app

  • authToken: string

    OneSignal Authorization Key

  • Optional fcmJson?: string

    FCM Service Account JSON File (in .json format)

  • Optional organizationId?: string

    OneSignal Organization ID

OptOutCrashReportingOptions

OptOutCrashReportingOptions: {}

Shape for optOutCrashReporting options argument

Type declaration

OptOutUsageOptions

OptOutUsageOptions: {}

Shape for optOutUsage options argument

Type declaration

PemOptions

PemOptions: { activeDaysLimit: any; appIdentifier: string; development: any; force: any; generateP12: any; newProfile?: any; outputPath: string; p12Password?: string; pemName?: string; platform: string; savePrivateKey: any; teamId?: string; teamName?: string; username: string; websitePush: any }

Shape for pem options argument

Type declaration

  • activeDaysLimit: any

    If the current certificate is active for less than this number of days, generate a new one

  • appIdentifier: string

    The bundle identifier of your app

  • development: any

    Renew the development push certificate instead of the production one

  • force: any

    Create a new push certificate, even if the current one is active for 30 (or PEM_ACTIVE_DAYS_LIMIT) more days

  • generateP12: any

    Generate a p12 file additionally to a PEM file

  • Optional newProfile?: any

    Block that is called if there is a new profile

  • outputPath: string

    The path to a directory in which all certificates and private keys should be stored

  • Optional p12Password?: string

    The password that is used for your p12 file

  • Optional pemName?: string

    The file name of the generated .pem file

  • platform: string

    Set certificate's platform. Used for creation of production & development certificates. Supported platforms: ios, macos

  • savePrivateKey: any

    Set to save the private RSA key

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • username: string

    Your Apple ID Username

  • websitePush: any

    Create a Website Push certificate

PilotOptions

PilotOptions: { apiKey?: { string: string }; apiKeyPath?: string; appIdentifier?: string; appPlatform?: string; appVersion?: string; appleId?: string; betaAppDescription?: string; betaAppFeedbackEmail?: string; betaAppReviewInfo?: { string: string }; buildNumber?: string; changelog?: string; demoAccountRequired?: boolean; devPortalTeamId?: string; distributeExternal: any; distributeOnly: boolean; email?: string; expirePreviousBuilds: any; firstName?: string; groups?: string[]; ipa?: string; itcProvider?: string; lastName?: string; localizedAppInfo?: { string: string }; localizedBuildInfo?: { string: string }; notifyExternalTesters?: any; pkg?: string; rejectBuildWaitingForReview: any; skipSubmission: any; skipWaitingForBuildProcessing: any; submitBetaReview: boolean; teamId?: any; teamName?: string; testersFilePath?: string; updateBuildInfoOnUpload?: any; username?: string; usesNonExemptEncryption: boolean; waitForUploadedBuild?: any; waitProcessingInterval: any; waitProcessingTimeoutDuration?: any }

Shape for pilot options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • Optional appIdentifier?: string

    The bundle identifier of the app to upload or manage testers (optional)

  • Optional appPlatform?: string

    The platform to use (optional)

  • Optional appVersion?: string

    The version number of the application build to distribute. If the version number is not specified, then the most recent build uploaded to TestFlight will be distributed. If specified, the most recent build for the version number will be distributed

  • Optional appleId?: string

    Apple ID property in the App Information section in App Store Connect

  • Optional betaAppDescription?: string

    Provide the 'Beta App Description' when uploading a new build

  • Optional betaAppFeedbackEmail?: string

    Provide the beta app email when uploading a new build

  • Optional betaAppReviewInfo?: { string: string }

    Beta app review information for contact info and demo account

    • string: string
  • Optional buildNumber?: string

    The build number of the application build to distribute. If the build number is not specified, the most recent build is distributed

  • Optional changelog?: string

    Provide the 'What to Test' text when uploading a new build

  • Optional demoAccountRequired?: boolean

    Do you need a demo account when Apple does review?

  • Optional devPortalTeamId?: string

    The short ID of your team in the developer portal, if you're in multiple teams. Different from your iTC team ID!

  • distributeExternal: any

    Should the build be distributed to external testers? If set to true, use of groups option is required

  • distributeOnly: boolean

    Distribute a previously uploaded build (equivalent to the fastlane pilot distribute command)

  • Optional email?: string

    The tester's email

  • expirePreviousBuilds: any

    Should expire previous builds?

  • Optional firstName?: string

    The tester's first name

  • Optional groups?: string[]

    Associate tester to one group or more by group name / group id. E.g. -g "Team 1","Team 2" This is required when distribute_external option is set to true or when we want to add a tester to one or more external testing groups

  • Optional ipa?: string

    Path to the ipa file to upload

  • Optional itcProvider?: string

    The provider short name to be used with the iTMSTransporter to identify your team. This value will override the automatically detected provider short name. To get provider short name run pathToXcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter -m provider -u 'USERNAME' -p 'PASSWORD' -account_type itunes_connect -v off. The short names of providers should be listed in the second column

  • Optional lastName?: string

    The tester's last name

  • Optional localizedAppInfo?: { string: string }

    Localized beta app test info for description, feedback email, marketing url, and privacy policy

    • string: string
  • Optional localizedBuildInfo?: { string: string }

    Localized beta app test info for what's new

    • string: string
  • Optional notifyExternalTesters?: any

    Should notify external testers? (Not setting a value will use App Store Connect's default which is to notify)

  • Optional pkg?: string

    Path to your pkg file

  • rejectBuildWaitingForReview: any

    Expire previous if it's 'waiting for review'

  • skipSubmission: any

    Skip the distributing action of pilot and only upload the ipa file

  • skipWaitingForBuildProcessing: any

    If set to true, the distribute_external option won't work and no build will be distributed to testers. (You might want to use this option if you are using this action on CI and have to pay for 'minutes used' on your CI plan). If set to true and a changelog is provided, it will partially wait for the build to appear on AppStore Connect so the changelog can be set, and skip the remaining processing steps

  • submitBetaReview: boolean

    Send the build for a beta review

  • Optional teamId?: any

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional testersFilePath?: string

    Path to a CSV file of testers

  • Optional updateBuildInfoOnUpload?: any

    DEPRECATED! Update build info immediately after validation. This is deprecated and will be removed in a future release. App Store Connect no longer supports setting build info until after build processing has completed, which is when build info is updated by default

  • Optional username?: string

    Your Apple ID Username

  • usesNonExemptEncryption: boolean

    Provide the 'Uses Non-Exempt Encryption' for export compliance. This is used if there is 'ITSAppUsesNonExemptEncryption' is not set in the Info.plist

  • Optional waitForUploadedBuild?: any

    DEPRECATED! No longer needed with the transition over to the App Store Connect API - Use version info from uploaded ipa file to determine what build to use for distribution. If set to false, latest processing or any latest build will be used

  • waitProcessingInterval: any

    Interval in seconds to wait for App Store Connect processing

  • Optional waitProcessingTimeoutDuration?: any

    Timeout duration in seconds to wait for App Store Connect processing. If set, after exceeding timeout duration, this will force stop to wait for App Store Connect processing and exit with exception

PodLibLintOptions

PodLibLintOptions: { allowWarnings?: boolean; analyze: boolean; externalPodspecs?: string; failFast: boolean; includePodspecs?: string; noClean: boolean; noSubspecs: boolean; platforms?: string; podspec?: string; private: boolean; quick: boolean; skipImportValidation: boolean; skipTests: boolean; sources?: string[]; subspec?: string; swiftVersion?: string; useBundleExec: boolean; useLibraries: boolean; useModularHeaders: boolean; verbose?: boolean }

Shape for podLibLint options argument

Type declaration

  • Optional allowWarnings?: boolean

    Allow warnings during pod lint

  • analyze: boolean

    Validate with the Xcode Static Analysis tool (available since cocoapods >= 1.6.1)

  • Optional externalPodspecs?: string

    A Glob of additional ancillary podspecs which are used for linting via :podspec. If there are --include-podspecs, then these are removed from them (available since cocoapods >= 1.7)

  • failFast: boolean

    Lint stops on the first failing platform or subspec

  • Optional includePodspecs?: string

    A Glob of additional ancillary podspecs which are used for linting via :path (available since cocoapods >= 1.7)

  • noClean: boolean

    Lint leaves the build directory intact for inspection

  • noSubspecs: boolean

    Lint skips validation of subspecs

  • Optional platforms?: string

    Lint against specific platforms (defaults to all platforms supported by the podspec). Multiple platforms must be comma-delimited (available since cocoapods >= 1.6)

  • Optional podspec?: string

    Path of spec to lint

  • private: boolean

    Lint skips checks that apply only to public specs

  • quick: boolean

    Lint skips checks that would require to download and build the spec

  • skipImportValidation: boolean

    Lint skips validating that the pod can be imported (available since cocoapods >= 1.3)

  • skipTests: boolean

    Lint skips building and running tests during validation (available since cocoapods >= 1.3)

  • Optional sources?: string[]

    The sources of repos you want the pod spec to lint with, separated by commas

  • Optional subspec?: string

    A specific subspec to lint instead of the entire spec

  • Optional swiftVersion?: string

    The SWIFT_VERSION that should be used to lint the spec. This takes precedence over a .swift-version file

  • useBundleExec: boolean

    Use bundle exec when there is a Gemfile presented

  • useLibraries: boolean

    Lint uses static libraries to install the spec

  • useModularHeaders: boolean

    Lint using modular libraries (available since cocoapods >= 1.6)

  • Optional verbose?: boolean

    Allow output detail in console

PodPushOptions

PodPushOptions: { allowWarnings?: boolean; localOnly?: boolean; noOverwrite?: boolean; path?: string; repo?: string; skipImportValidation?: boolean; skipTests?: boolean; sources?: string[]; swiftVersion?: string; synchronous?: boolean; useBundleExec: boolean; useJson?: boolean; useLibraries?: boolean; useModularHeaders?: boolean; verbose?: boolean }

Shape for podPush options argument

Type declaration

  • Optional allowWarnings?: boolean

    Allow warnings during pod push

  • Optional localOnly?: boolean

    Does not perform the step of pushing REPO to its remote

  • Optional noOverwrite?: boolean

    Disallow pushing that would overwrite an existing spec

  • Optional path?: string

    The Podspec you want to push

  • Optional repo?: string

    The repo you want to push. Pushes to Trunk by default

  • Optional skipImportValidation?: boolean

    Lint skips validating that the pod can be imported

  • Optional skipTests?: boolean

    Lint skips building and running tests during validation

  • Optional sources?: string[]

    The sources of repos you want the pod spec to lint with, separated by commas

  • Optional swiftVersion?: string

    The SWIFT_VERSION that should be used to lint the spec. This takes precedence over a .swift-version file

  • Optional synchronous?: boolean

    If validation depends on other recently pushed pods, synchronize

  • useBundleExec: boolean

    Use bundle exec when there is a Gemfile presented

  • Optional useJson?: boolean

    Convert the podspec to JSON before pushing it to the repo

  • Optional useLibraries?: boolean

    Allow lint to use static libraries to install the spec

  • Optional useModularHeaders?: boolean

    Use modular headers option during validation

  • Optional verbose?: boolean

    Show more debugging information

PodioItemOptions

PodioItemOptions: { appId: string; appToken: string; clientId: string; clientSecret: string; identifyingField: string; identifyingValue: string; otherFields?: { string: string } }

Shape for podioItem options argument

Type declaration

PrecheckOptions

PrecheckOptions: { apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string; copyrightDate?: any; curseWords?: any; customText?: any; defaultRuleLevel: any; freeStuffInIap?: any; futureFunctionality?: any; includeInAppPurchases?: boolean; negativeAppleSentiment?: any; otherPlatforms?: any; placeholderText?: any; platform?: string; teamId?: string; teamName?: string; testWords?: any; unreachableUrls?: any; useLive: boolean; username?: string }

Shape for precheck options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string

    The bundle identifier of your app

  • Optional copyrightDate?: any

    using a copyright date that is any different from this current year, or missing a date

  • Optional curseWords?: any

    including words that might be considered objectionable

  • Optional customText?: any

    mentioning any of the user-specified words passed to custom_text(data: [words])

  • defaultRuleLevel: any

    The default rule level unless otherwise configured

  • Optional freeStuffInIap?: any

    using text indicating that your IAP is free

  • Optional futureFunctionality?: any

    mentioning features or content that is not currently available in your app

  • Optional includeInAppPurchases?: boolean

    Should check in-app purchases?

  • Optional negativeAppleSentiment?: any

    mentioning  in a way that could be considered negative

  • Optional otherPlatforms?: any

    mentioning other platforms, like Android or Blackberry

  • Optional placeholderText?: any

    using placeholder text (e.g.:"lorem ipsum", "text here", etc...)

  • Optional platform?: string

    The platform to use (optional)

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional testWords?: any

    using text indicating this release is a test

  • Optional unreachableUrls?: any

    unreachable URLs in app metadata

  • useLive: boolean

    Should force check live app?

  • Optional username?: string

    Your Apple ID Username

PrintlnOptions

PrintlnOptions: { message?: string }

Shape for println options argument

Type declaration

  • Optional message?: string

    Message to be printed out

ProduceOptions

ProduceOptions: { appIdentifier: string; appName: string; appVersion?: string; bundleIdentifierSuffix?: string; companyName?: string; enableServices: any; enabledFeatures?: any; itcTeamId?: any; itcTeamName?: string; itcUsers?: string[]; language: string; platform?: string; platforms?: string[]; skipDevcenter: any; skipItc: any; sku: string; teamId?: string; teamName?: string; username: string }

Shape for produce options argument

Type declaration

  • appIdentifier: string

    App Identifier (Bundle ID, e.g. com.krausefx.app)

  • appName: string

    App Name

  • Optional appVersion?: string

    Initial version number (e.g. '1.0')

  • Optional bundleIdentifierSuffix?: string

    App Identifier Suffix (Ignored if App Identifier does not end with .*)

  • Optional companyName?: string

    The name of your company. It's used to set company name on App Store Connect team's app pages. Only required if it's the first app you create

  • enableServices: any

    Array with Spaceship App Services (e.g. access_wifi: (on|off), app_attest: (on|off), app_group: (on|off), apple_pay: (on|off), associated_domains: (on|off), auto_fill_credential: (on|off), class_kit: (on|off), icloud: (legacy|cloudkit), custom_network_protocol: (on|off), data_protection: (complete|unlessopen|untilfirstauth), extended_virtual_address_space: (on|off), family_controls: (on|off), file_provider_testing_mode: (on|off), fonts: (on|off), game_center: (ios|mac), health_kit: (on|off), hls_interstitial_preview: (on|off), home_kit: (on|off), hotspot: (on|off), in_app_purchase: (on|off), inter_app_audio: (on|off), low_latency_hls: (on|off), managed_associated_domains: (on|off), maps: (on|off), multipath: (on|off), network_extension: (on|off), nfc_tag_reading: (on|off), personal_vpn: (on|off), passbook: (on|off), push_notification: (on|off), sign_in_with_apple: (on), siri_kit: (on|off), system_extension: (on|off), user_management: (on|off), vpn_configuration: (on|off), wallet: (on|off), wireless_accessory: (on|off), car_play_audio_app: (on|off), car_play_messaging_app: (on|off), car_play_navigation_app: (on|off), car_play_voip_calling_app: (on|off), critical_alerts: (on|off), hotspot_helper: (on|off), driver_kit: (on|off), driver_kit_endpoint_security: (on|off), driver_kit_family_hid_device: (on|off), driver_kit_family_networking: (on|off), driver_kit_family_serial: (on|off), driver_kit_hid_event_service: (on|off), driver_kit_transport_hid: (on|off), multitasking_camera_access: (on|off), sf_universal_link_api: (on|off), vp9_decoder: (on|off), music_kit: (on|off), shazam_kit: (on|off), communication_notifications: (on|off), group_activities: (on|off), health_kit_estimate_recalibration: (on|off), time_sensitive_notifications: (on|off))

  • Optional enabledFeatures?: any

    DEPRECATED! Please use enable_services instead - Array with Spaceship App Services

  • Optional itcTeamId?: any

    The ID of your App Store Connect team if you're in multiple teams

  • Optional itcTeamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional itcUsers?: string[]

    Array of App Store Connect users. If provided, you can limit access to this newly created app for users with the App Manager, Developer, Marketer or Sales roles

  • language: string

    Primary Language (e.g. 'en-US', 'fr-FR')

  • Optional platform?: string

    The platform to use (optional)

  • Optional platforms?: string[]

    The platforms to use (optional)

  • skipDevcenter: any

    Skip the creation of the app on the Apple Developer Portal

  • skipItc: any

    Skip the creation of the app on App Store Connect

  • sku: string

    SKU Number (e.g. '1234')

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • username: string

    Your Apple ID Username

PromptOptions

PromptOptions: { boolean: boolean; ciInput: string; multiLineEndKeyword?: string; secureText: boolean; text: string }

Shape for prompt options argument

Type declaration

  • boolean: boolean

    Is that a boolean question (yes/no)? This will add (y/n) at the end

  • ciInput: string

    The default text that will be used when being executed on a CI service

  • Optional multiLineEndKeyword?: string

    Enable multi-line inputs by providing an end text (e.g. 'END') which will stop the user input

  • secureText: boolean

    Is that a secure text (yes/no)?

  • text: string

    The text that will be displayed to the user

PushGitTagsOptions

PushGitTagsOptions: { force?: boolean; remote?: string; tag?: string }

Shape for pushGitTags options argument

Type declaration

  • Optional force?: boolean

    Force push to remote

  • Optional remote?: string

    The remote to push tags to

  • Optional tag?: string

    The tag to push to remote

PushToGitRemoteOptions

PushToGitRemoteOptions: { force: boolean; forceWithLease: boolean; localBranch?: string; noVerify: boolean; pushOptions: string[]; remote: string; remoteBranch?: string; setUpstream: boolean; tags: boolean }

Shape for pushToGitRemote options argument

Type declaration

  • force: boolean

    Force push to remote

  • forceWithLease: boolean

    Force push with lease to remote

  • Optional localBranch?: string

    The local branch to push from. Defaults to the current branch

  • noVerify: boolean

    Whether or not to use --no-verify

  • pushOptions: string[]

    Array of strings to be passed using the '--push-option' option

  • remote: string

    The remote to push to

  • Optional remoteBranch?: string

    The remote branch to push to. Defaults to the local branch

  • setUpstream: boolean

    Whether or not to use --set-upstream

  • tags: boolean

    Whether tags are pushed to remote

PutsOptions

PutsOptions: { message?: string }

Shape for puts options argument

Type declaration

  • Optional message?: string

    Message to be printed out

ReadPodspecOptions

ReadPodspecOptions: { path: string }

Shape for readPodspec options argument

Type declaration

  • path: string

    Path to the podspec to be read

RecreateSchemesOptions

RecreateSchemesOptions: { project: string }

Shape for recreateSchemes options argument

Type declaration

  • project: string

    The Xcode project

RegisterDeviceOptions

RegisterDeviceOptions: { apiKey?: { string: string }; apiKeyPath?: string; name: string; platform?: string; teamId?: string; teamName?: string; udid: string; username?: string }

Shape for registerDevice options argument

Type declaration

RegisterDevicesOptions

RegisterDevicesOptions: { apiKey?: { string: string }; apiKeyPath?: string; devices?: { string: string }; devicesFile?: string; platform?: string; teamId?: string; teamName?: string; username?: string }

Shape for registerDevices options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • Optional devices?: { string: string }

    A hash of devices, with the name as key and the UDID as value

    • string: string
  • Optional devicesFile?: string

    Provide a path to a file with the devices to register. For the format of the file see the examples

  • Optional platform?: string

    The platform to use (optional)

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional username?: string

    Optional: Your Apple ID

ResetGitRepoOptions

ResetGitRepoOptions: { disregardGitignore?: boolean; exclude?: string; files?: string[]; force: boolean; skipClean: boolean }

Shape for resetGitRepo options argument

Type declaration

  • Optional disregardGitignore?: boolean

    Setting this to true will clean the whole repository, ignoring anything in your local .gitignore. Set this to true if you want the equivalent of a fresh clone, and for all untracked and ignore files to also be removed

  • Optional exclude?: string

    You can pass a string, or array of, file pattern(s) here which you want to have survive the cleaning process, and remain on disk, e.g. to leave the artifacts directory you would specify exclude: 'artifacts'. Make sure this pattern is also in your gitignore! See the gitignore documentation for info on patterns

  • Optional files?: string[]

    Array of files the changes should be discarded. If not given, all files will be discarded

  • force: boolean

    Skip verifying of previously clean state of repo. Only recommended in combination with files option

  • skipClean: boolean

    Skip 'git clean' to avoid removing untracked files like .env

ResetSimulatorContentsOptions

ResetSimulatorContentsOptions: { ios?: string[]; osVersions?: string[] }

Shape for resetSimulatorContents options argument

Type declaration

  • Optional ios?: string[]

    DEPRECATED! Use :os_versions instead - Which OS versions of Simulators you want to reset content and settings, this does not remove/recreate the simulators

  • Optional osVersions?: string[]

    Which OS versions of Simulators you want to reset content and settings, this does not remove/recreate the simulators

ResignOptions

ResignOptions: { bundleId?: string; bundleVersion?: string; displayName?: string; entitlements?: string; ipa: string; keychainPath?: string; provisioningProfile: string; shortVersion?: string; signingIdentity: string; useAppEntitlements?: boolean; version?: string }

Shape for resign options argument

Type declaration

  • Optional bundleId?: string

    Set new bundle ID during resign (CFBundleIdentifier)

  • Optional bundleVersion?: string

    Bundle version to force resigned ipa to use (CFBundleVersion)

  • Optional displayName?: string

    Display name to force resigned ipa to use

  • Optional entitlements?: string

    Path to the entitlement file to use, e.g. myApp/MyApp.entitlements

  • ipa: string

    Path to the ipa file to resign. Optional if you use the gym or xcodebuild action

  • Optional keychainPath?: string

    Provide a path to a keychain file that should be used by /usr/bin/codesign

  • provisioningProfile: string

    Path to your provisioning_profile. Optional if you use sigh

  • Optional shortVersion?: string

    Short version string to force resigned ipa to use (CFBundleShortVersionString)

  • signingIdentity: string

    Code signing identity to use. e.g. iPhone Distribution: Luka Mirosevic (0123456789)

  • Optional useAppEntitlements?: boolean

    Extract app bundle codesigning entitlements and combine with entitlements from new provisioning profile

  • Optional version?: string

    Version number to force resigned ipa to use. Updates both CFBundleShortVersionString and CFBundleVersion values in Info.plist. Applies for main app and all nested apps or extensions

RestoreFileOptions

RestoreFileOptions: { path: string }

Shape for restoreFile options argument

Type declaration

  • path: string

    Original file name you want to restore

RocketOptions

RocketOptions: {}

Shape for rocket options argument

Type declaration

RsyncOptions

RsyncOptions: { destination: string; extra?: string; source: string }

Shape for rsync options argument

Type declaration

  • destination: string

    destination file/folder

  • Optional extra?: string

    Port

  • source: string

    source file/folder

RubyVersionOptions

RubyVersionOptions: {}

Shape for rubyVersion options argument

Type declaration

RunTestsOptions

RunTestsOptions: { addressSanitizer?: boolean; appIdentifier?: string; appName?: string; buildForTesting?: boolean; buildlogPath: string; catalystPlatform?: string; clean: any; clonedSourcePackagesPath?: string; codeCoverage?: boolean; concurrentWorkers?: any; configuration?: string; customReportFileName?: string; deploymentTargetVersion?: string; derivedDataPath?: string; destination?: any; device?: string; devices?: string[]; disableConcurrentTesting?: boolean; disablePackageAutomaticUpdates: boolean; disableSlideToType: boolean; disableXcpretty?: boolean; ensureDevicesFound?: boolean; failBuild: boolean; forceQuitSimulator: boolean; formatter?: string; includeSimulatorLogs?: boolean; maxConcurrentSimulators?: any; numberOfRetries: any; onlyTestConfigurations?: any; onlyTesting?: any; openReport: any; outputDirectory: string; outputFiles?: string; outputRemoveRetryAttempts: boolean; outputStyle?: string; outputTypes: string; outputXctestrun: boolean; packagePath?: string; parallelTesting?: boolean; prelaunchSimulator?: boolean; project?: string; reinstallApp: boolean; resetSimulator: boolean; resultBundle?: any; resultBundlePath?: string; runRosettaSimulator: boolean; scheme?: string; sdk?: string; shouldZipBuildProducts?: any; skipBuild: boolean; skipDetectDevices?: boolean; skipPackageDependenciesResolution: boolean; skipSlack: any; skipTestConfigurations?: any; skipTesting?: any; slackChannel?: string; slackDefaultPayloads?: string[]; slackIconUrl?: string; slackMessage?: string; slackOnlyOnFailure: any; slackUrl?: string; slackUseWebhookConfiguredUsernameAndIcon?: boolean; slackUsername?: string; suppressXcodeOutput?: boolean; testWithoutBuilding?: boolean; testplan?: string; threadSanitizer?: boolean; toolchain?: any; useClangReportName: any; useSystemScm?: boolean; workspace?: string; xcargs?: string; xcconfig?: string; xcodebuildCommand?: string; xcodebuildFormatter: string; xcprettyArgs?: string; xcprettyFormatter?: string; xctestrun?: string }

Shape for runTests options argument

Type declaration

  • Optional addressSanitizer?: boolean

    Should the address sanitizer be turned on?

  • Optional appIdentifier?: string

    The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)

  • Optional appName?: string

    App name to use in slack message and logfile name

  • Optional buildForTesting?: boolean

    Build for testing only, does not run tests

  • buildlogPath: string

    The directory where to store the raw log

  • Optional catalystPlatform?: string

    Platform to build when using a Catalyst enabled app. Valid values are: ios, macos

  • clean: any

    Should the project be cleaned before building it?

  • Optional clonedSourcePackagesPath?: string

    Sets a custom path for Swift Package Manager dependencies

  • Optional codeCoverage?: boolean

    Should code coverage be generated? (Xcode 7 and up)

  • Optional concurrentWorkers?: any

    Specify the exact number of test runners that will be spawned during parallel testing. Equivalent to -parallel-testing-worker-count

  • Optional configuration?: string

    The configuration to use when building the app. Defaults to 'Release'

  • Optional customReportFileName?: string

    DEPRECATED! Use --output_files instead - Sets custom full report file name when generating a single report

  • Optional deploymentTargetVersion?: string

    Target version of the app being build or tested. Used to filter out simulator version

  • Optional derivedDataPath?: string

    The directory where build products and other derived data will go

  • Optional destination?: any

    Use only if you're a pro, use the other options instead

  • Optional device?: string

    The name of the simulator type you want to run tests on (e.g. 'iPhone 6' or 'iPhone SE (2nd generation) (14.5)')

  • Optional devices?: string[]

    Array of devices to run the tests on (e.g. ['iPhone 6', 'iPad Air', 'iPhone SE (2nd generation) (14.5)'])

  • Optional disableConcurrentTesting?: boolean

    Do not run test bundles in parallel on the specified destinations. Testing will occur on each destination serially. Equivalent to -disable-concurrent-testing

  • disablePackageAutomaticUpdates: boolean

    Prevents packages from automatically being resolved to versions other than those recorded in the Package.resolved file

  • disableSlideToType: boolean

    Enabling this option will disable the simulator from showing the 'Slide to type' prompt

  • Optional disableXcpretty?: boolean

    DEPRECATED! Use output_style: 'raw' instead - Disable xcpretty formatting of build, similar to output_style='raw' but this will also skip the test results table

  • Optional ensureDevicesFound?: boolean

    Should fail if devices not found

  • failBuild: boolean

    Should this step stop the build if the tests fail? Set this to false if you're using trainer

  • forceQuitSimulator: boolean

    Enabling this option will automatically killall Simulator processes before the run

  • Optional formatter?: string

    DEPRECATED! Use 'xcpretty_formatter' instead - A custom xcpretty formatter to use

  • Optional includeSimulatorLogs?: boolean

    If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory

  • Optional maxConcurrentSimulators?: any

    Constrain the number of simulator devices on which to test concurrently. Equivalent to -maximum-concurrent-test-simulator-destinations

  • numberOfRetries: any

    The number of times a test can fail

  • Optional onlyTestConfigurations?: any

    Array of strings matching test plan configurations to run

  • Optional onlyTesting?: any

    Array of strings matching Test Bundle/Test Suite/Test Cases to run

  • openReport: any

    Should the HTML report be opened when tests are completed?

  • outputDirectory: string

    The directory in which all reports will be stored

  • Optional outputFiles?: string

    Comma separated list of the output files, corresponding to the types provided by :output_types (order should match). If specifying an output type of json-compilation-database with :use_clang_report_name enabled, that option will take precedence

  • outputRemoveRetryAttempts: boolean

    Remove retry attempts from test results table and the JUnit report (if not using xcpretty)

  • Optional outputStyle?: string

    Define how the output should look like. Valid values are: standard, basic, rspec, or raw (disables xcpretty during xcodebuild)

  • outputTypes: string

    Comma separated list of the output types (e.g. html, junit, json-compilation-database)

  • outputXctestrun: boolean

    Should provide additional copy of .xctestrun file (settings.xctestrun) and place in output path?

  • Optional packagePath?: string

    Path to the Swift Package

  • Optional parallelTesting?: boolean

    Optionally override the per-target setting in the scheme for running tests in parallel. Equivalent to -parallel-testing-enabled

  • Optional prelaunchSimulator?: boolean

    Enabling this option will launch the first simulator prior to calling any xcodebuild command

  • Optional project?: string

    Path to the project file

  • reinstallApp: boolean

    Enabling this option will automatically uninstall the application before running it

  • resetSimulator: boolean

    Enabling this option will automatically erase the simulator before running the application

  • Optional resultBundle?: any

    Should an Xcode result bundle be generated in the output directory

  • Optional resultBundlePath?: string

    Custom path for the result bundle, overrides result_bundle

  • runRosettaSimulator: boolean

    Adds arch=x86_64 to the xcodebuild 'destination' argument to run simulator in a Rosetta mode

  • Optional scheme?: string

    The project's scheme. Make sure it's marked as Shared

  • Optional sdk?: string

    The SDK that should be used for building the application

  • Optional shouldZipBuildProducts?: any

    Should zip the derived data build products and place in output path?

  • skipBuild: boolean

    Should debug build be skipped before test build?

  • Optional skipDetectDevices?: boolean

    Should skip auto detecting of devices if none were specified

  • skipPackageDependenciesResolution: boolean

    Skips resolution of Swift Package Manager dependencies

  • skipSlack: any

    Don't publish to slack, even when an URL is given

  • Optional skipTestConfigurations?: any

    Array of strings matching test plan configurations to skip

  • Optional skipTesting?: any

    Array of strings matching Test Bundle/Test Suite/Test Cases to skip

  • Optional slackChannel?: string

    #channel or @username

  • Optional slackDefaultPayloads?: string[]

    Specifies default payloads to include in Slack messages. For more info visit https://docs.fastlane.tools/actions/slack

  • Optional slackIconUrl?: string

    Overrides the webhook's image property if slack_use_webhook_configured_username_and_icon is false

  • Optional slackMessage?: string

    The message included with each message posted to slack

  • slackOnlyOnFailure: any

    Only post on Slack if the tests fail

  • Optional slackUrl?: string

    Create an Incoming WebHook for your Slack group to post results there

  • Optional slackUseWebhookConfiguredUsernameAndIcon?: boolean

    Use webhook's default username and icon settings? (true/false)

  • Optional slackUsername?: string

    Overrides the webhook's username property if slack_use_webhook_configured_username_and_icon is false

  • Optional suppressXcodeOutput?: boolean

    Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path

  • Optional testWithoutBuilding?: boolean

    Test without building, requires a derived data path

  • Optional testplan?: string

    The testplan associated with the scheme that should be used for testing

  • Optional threadSanitizer?: boolean

    Should the thread sanitizer be turned on?

  • Optional toolchain?: any

    The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)

  • useClangReportName: any

    Generate the json compilation database with clang naming convention (compile_commands.json)

  • Optional useSystemScm?: boolean

    Lets xcodebuild use system's scm configuration

  • Optional workspace?: string

    Path to the workspace file

  • Optional xcargs?: string

    Pass additional arguments to xcodebuild. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional xcconfig?: string

    Use an extra XCCONFIG file to build your app

  • Optional xcodebuildCommand?: string

    Allows for override of the default xcodebuild command

  • xcodebuildFormatter: string

    xcodebuild formatter to use (ex: 'xcbeautify', 'xcbeautify --quieter', 'xcpretty', 'xcpretty -test'). Use empty string (ex: '') to disable any formatter (More information: https://docs.fastlane.tools/best-practices/xcodebuild-formatters/)

  • Optional xcprettyArgs?: string

    Pass in xcpretty additional command line arguments (e.g. '--test --no-color' or '--tap --no-utf')

  • Optional xcprettyFormatter?: string

    A custom xcpretty formatter to use

  • Optional xctestrun?: string

    Run tests using the provided .xctestrun file

S3Options

S3Options: { accessKey?: string; acl?: string; bucket?: string; dsym?: string; htmlFileName?: string; htmlTemplatePath?: string; ipa?: string; path?: string; plistFileName?: string; plistTemplatePath?: string; region?: string; secretAccessKey?: string; source?: string; uploadMetadata?: boolean; versionFileName?: string; versionTemplatePath?: string }

Shape for s3 options argument

Type declaration

  • Optional accessKey?: string

    AWS Access Key ID

  • Optional acl?: string

    Uploaded object permissions e.g public_read (default), private, public_read_write, authenticated_read

  • Optional bucket?: string

    AWS bucket name

  • Optional dsym?: string

    zipped .dsym package for the build

  • Optional htmlFileName?: string

    uploaded html filename

  • Optional htmlTemplatePath?: string

    html erb template path

  • Optional ipa?: string

    .ipa file for the build

  • Optional path?: string

    S3 'path'. Values from Info.plist will be substituted for keys wrapped in {}

  • Optional plistFileName?: string

    uploaded plist filename

  • Optional plistTemplatePath?: string

    plist template path

  • Optional region?: string

    AWS region (for bucket creation)

  • Optional secretAccessKey?: string

    AWS Secret Access Key

  • Optional source?: string

    Optional source directory e.g. ./build

  • Optional uploadMetadata?: boolean

    Upload relevant metadata for this build

  • Optional versionFileName?: string

    uploaded version filename

  • Optional versionTemplatePath?: string

    version erb template path

SayOptions

SayOptions: { mute: boolean; text: string[] }

Shape for say options argument

Type declaration

  • mute: boolean

    If say should be muted with text printed out

  • text: string[]

    Text to be spoken out loud (as string or array of strings)

ScanOptions

ScanOptions: { addressSanitizer?: boolean; appIdentifier?: string; appName?: string; buildForTesting?: boolean; buildlogPath: string; catalystPlatform?: string; clean: any; clonedSourcePackagesPath?: string; codeCoverage?: boolean; concurrentWorkers?: any; configuration?: string; customReportFileName?: string; deploymentTargetVersion?: string; derivedDataPath?: string; destination?: any; device?: string; devices?: string[]; disableConcurrentTesting?: boolean; disablePackageAutomaticUpdates: boolean; disableSlideToType: boolean; disableXcpretty?: boolean; ensureDevicesFound?: boolean; failBuild: boolean; forceQuitSimulator: boolean; formatter?: string; includeSimulatorLogs?: boolean; maxConcurrentSimulators?: any; numberOfRetries: any; onlyTestConfigurations?: any; onlyTesting?: any; openReport: any; outputDirectory: string; outputFiles?: string; outputRemoveRetryAttempts: boolean; outputStyle?: string; outputTypes: string; outputXctestrun: boolean; packagePath?: string; parallelTesting?: boolean; prelaunchSimulator?: boolean; project?: string; reinstallApp: boolean; resetSimulator: boolean; resultBundle?: any; resultBundlePath?: string; runRosettaSimulator: boolean; scheme?: string; sdk?: string; shouldZipBuildProducts?: any; skipBuild: boolean; skipDetectDevices?: boolean; skipPackageDependenciesResolution: boolean; skipSlack: any; skipTestConfigurations?: any; skipTesting?: any; slackChannel?: string; slackDefaultPayloads?: string[]; slackIconUrl?: string; slackMessage?: string; slackOnlyOnFailure: any; slackUrl?: string; slackUseWebhookConfiguredUsernameAndIcon?: boolean; slackUsername?: string; suppressXcodeOutput?: boolean; testWithoutBuilding?: boolean; testplan?: string; threadSanitizer?: boolean; toolchain?: any; useClangReportName: any; useSystemScm?: boolean; workspace?: string; xcargs?: string; xcconfig?: string; xcodebuildCommand?: string; xcodebuildFormatter: string; xcprettyArgs?: string; xcprettyFormatter?: string; xctestrun?: string }

Shape for scan options argument

Type declaration

  • Optional addressSanitizer?: boolean

    Should the address sanitizer be turned on?

  • Optional appIdentifier?: string

    The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)

  • Optional appName?: string

    App name to use in slack message and logfile name

  • Optional buildForTesting?: boolean

    Build for testing only, does not run tests

  • buildlogPath: string

    The directory where to store the raw log

  • Optional catalystPlatform?: string

    Platform to build when using a Catalyst enabled app. Valid values are: ios, macos

  • clean: any

    Should the project be cleaned before building it?

  • Optional clonedSourcePackagesPath?: string

    Sets a custom path for Swift Package Manager dependencies

  • Optional codeCoverage?: boolean

    Should code coverage be generated? (Xcode 7 and up)

  • Optional concurrentWorkers?: any

    Specify the exact number of test runners that will be spawned during parallel testing. Equivalent to -parallel-testing-worker-count

  • Optional configuration?: string

    The configuration to use when building the app. Defaults to 'Release'

  • Optional customReportFileName?: string

    DEPRECATED! Use --output_files instead - Sets custom full report file name when generating a single report

  • Optional deploymentTargetVersion?: string

    Target version of the app being build or tested. Used to filter out simulator version

  • Optional derivedDataPath?: string

    The directory where build products and other derived data will go

  • Optional destination?: any

    Use only if you're a pro, use the other options instead

  • Optional device?: string

    The name of the simulator type you want to run tests on (e.g. 'iPhone 6' or 'iPhone SE (2nd generation) (14.5)')

  • Optional devices?: string[]

    Array of devices to run the tests on (e.g. ['iPhone 6', 'iPad Air', 'iPhone SE (2nd generation) (14.5)'])

  • Optional disableConcurrentTesting?: boolean

    Do not run test bundles in parallel on the specified destinations. Testing will occur on each destination serially. Equivalent to -disable-concurrent-testing

  • disablePackageAutomaticUpdates: boolean

    Prevents packages from automatically being resolved to versions other than those recorded in the Package.resolved file

  • disableSlideToType: boolean

    Enabling this option will disable the simulator from showing the 'Slide to type' prompt

  • Optional disableXcpretty?: boolean

    DEPRECATED! Use output_style: 'raw' instead - Disable xcpretty formatting of build, similar to output_style='raw' but this will also skip the test results table

  • Optional ensureDevicesFound?: boolean

    Should fail if devices not found

  • failBuild: boolean

    Should this step stop the build if the tests fail? Set this to false if you're using trainer

  • forceQuitSimulator: boolean

    Enabling this option will automatically killall Simulator processes before the run

  • Optional formatter?: string

    DEPRECATED! Use 'xcpretty_formatter' instead - A custom xcpretty formatter to use

  • Optional includeSimulatorLogs?: boolean

    If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory

  • Optional maxConcurrentSimulators?: any

    Constrain the number of simulator devices on which to test concurrently. Equivalent to -maximum-concurrent-test-simulator-destinations

  • numberOfRetries: any

    The number of times a test can fail

  • Optional onlyTestConfigurations?: any

    Array of strings matching test plan configurations to run

  • Optional onlyTesting?: any

    Array of strings matching Test Bundle/Test Suite/Test Cases to run

  • openReport: any

    Should the HTML report be opened when tests are completed?

  • outputDirectory: string

    The directory in which all reports will be stored

  • Optional outputFiles?: string

    Comma separated list of the output files, corresponding to the types provided by :output_types (order should match). If specifying an output type of json-compilation-database with :use_clang_report_name enabled, that option will take precedence

  • outputRemoveRetryAttempts: boolean

    Remove retry attempts from test results table and the JUnit report (if not using xcpretty)

  • Optional outputStyle?: string

    Define how the output should look like. Valid values are: standard, basic, rspec, or raw (disables xcpretty during xcodebuild)

  • outputTypes: string

    Comma separated list of the output types (e.g. html, junit, json-compilation-database)

  • outputXctestrun: boolean

    Should provide additional copy of .xctestrun file (settings.xctestrun) and place in output path?

  • Optional packagePath?: string

    Path to the Swift Package

  • Optional parallelTesting?: boolean

    Optionally override the per-target setting in the scheme for running tests in parallel. Equivalent to -parallel-testing-enabled

  • Optional prelaunchSimulator?: boolean

    Enabling this option will launch the first simulator prior to calling any xcodebuild command

  • Optional project?: string

    Path to the project file

  • reinstallApp: boolean

    Enabling this option will automatically uninstall the application before running it

  • resetSimulator: boolean

    Enabling this option will automatically erase the simulator before running the application

  • Optional resultBundle?: any

    Should an Xcode result bundle be generated in the output directory

  • Optional resultBundlePath?: string

    Custom path for the result bundle, overrides result_bundle

  • runRosettaSimulator: boolean

    Adds arch=x86_64 to the xcodebuild 'destination' argument to run simulator in a Rosetta mode

  • Optional scheme?: string

    The project's scheme. Make sure it's marked as Shared

  • Optional sdk?: string

    The SDK that should be used for building the application

  • Optional shouldZipBuildProducts?: any

    Should zip the derived data build products and place in output path?

  • skipBuild: boolean

    Should debug build be skipped before test build?

  • Optional skipDetectDevices?: boolean

    Should skip auto detecting of devices if none were specified

  • skipPackageDependenciesResolution: boolean

    Skips resolution of Swift Package Manager dependencies

  • skipSlack: any

    Don't publish to slack, even when an URL is given

  • Optional skipTestConfigurations?: any

    Array of strings matching test plan configurations to skip

  • Optional skipTesting?: any

    Array of strings matching Test Bundle/Test Suite/Test Cases to skip

  • Optional slackChannel?: string

    #channel or @username

  • Optional slackDefaultPayloads?: string[]

    Specifies default payloads to include in Slack messages. For more info visit https://docs.fastlane.tools/actions/slack

  • Optional slackIconUrl?: string

    Overrides the webhook's image property if slack_use_webhook_configured_username_and_icon is false

  • Optional slackMessage?: string

    The message included with each message posted to slack

  • slackOnlyOnFailure: any

    Only post on Slack if the tests fail

  • Optional slackUrl?: string

    Create an Incoming WebHook for your Slack group to post results there

  • Optional slackUseWebhookConfiguredUsernameAndIcon?: boolean

    Use webhook's default username and icon settings? (true/false)

  • Optional slackUsername?: string

    Overrides the webhook's username property if slack_use_webhook_configured_username_and_icon is false

  • Optional suppressXcodeOutput?: boolean

    Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path

  • Optional testWithoutBuilding?: boolean

    Test without building, requires a derived data path

  • Optional testplan?: string

    The testplan associated with the scheme that should be used for testing

  • Optional threadSanitizer?: boolean

    Should the thread sanitizer be turned on?

  • Optional toolchain?: any

    The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)

  • useClangReportName: any

    Generate the json compilation database with clang naming convention (compile_commands.json)

  • Optional useSystemScm?: boolean

    Lets xcodebuild use system's scm configuration

  • Optional workspace?: string

    Path to the workspace file

  • Optional xcargs?: string

    Pass additional arguments to xcodebuild. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional xcconfig?: string

    Use an extra XCCONFIG file to build your app

  • Optional xcodebuildCommand?: string

    Allows for override of the default xcodebuild command

  • xcodebuildFormatter: string

    xcodebuild formatter to use (ex: 'xcbeautify', 'xcbeautify --quieter', 'xcpretty', 'xcpretty -test'). Use empty string (ex: '') to disable any formatter (More information: https://docs.fastlane.tools/best-practices/xcodebuild-formatters/)

  • Optional xcprettyArgs?: string

    Pass in xcpretty additional command line arguments (e.g. '--test --no-color' or '--tap --no-utf')

  • Optional xcprettyFormatter?: string

    A custom xcpretty formatter to use

  • Optional xctestrun?: string

    Run tests using the provided .xctestrun file

ScpOptions

ScpOptions: { download?: { string: string }; host: string; password?: string; port?: string; upload?: { string: string }; username: string }

Shape for scp options argument

Type declaration

  • Optional download?: { string: string }

    Download

    • string: string
  • host: string

    Hostname

  • Optional password?: string

    Password

  • Optional port?: string

    Port

  • Optional upload?: { string: string }

    Upload

    • string: string
  • username: string

    Username

ScreengrabOptions

ScreengrabOptions: { adbHost?: string; androidHome?: string; appApkPath?: string; appPackageName: string; buildToolsVersion?: string; clearPreviousScreenshots: boolean; deviceType: string; endingLocale?: string; exitOnTestFailure: boolean; launchArguments?: string[]; locales: string[]; outputDirectory: string; reinstallApp: boolean; skipOpenSummary: boolean; specificDevice?: string; testInstrumentationRunner?: string; testsApkPath?: string; testsPackageName?: string; useAdbRoot?: boolean; useTestsInClasses?: string[]; useTestsInPackages?: string[]; useTimestampSuffix: boolean }

Shape for screengrab options argument

Type declaration

  • Optional adbHost?: string

    Configure the host used by adb to connect, allows running on remote devices farm

  • Optional androidHome?: string

    Path to the root of your Android SDK installation, e.g. ~/tools/android-sdk-macosx

  • Optional appApkPath?: string

    The path to the APK for the app under test

  • appPackageName: string

    The package name of the app under test (e.g. com.yourcompany.yourapp)

  • Optional buildToolsVersion?: string

    DEPRECATED! The Android build tools version to use, e.g. '23.0.2'

  • clearPreviousScreenshots: boolean

    Enabling this option will automatically clear previously generated screenshots before running screengrab

  • deviceType: string

    Type of device used for screenshots. Matches Google Play Types (phone, sevenInch, tenInch, tv, wear)

  • Optional endingLocale?: string

    DEPRECATED! Return the device to this locale after running tests

  • exitOnTestFailure: boolean

    Whether or not to exit Screengrab on test failure. Exiting on failure will not copy screenshots to local machine nor open screenshots summary

  • Optional launchArguments?: string[]

    Additional launch arguments

  • locales: string[]

    A list of locales which should be used

  • outputDirectory: string

    The directory where to store the screenshots

  • reinstallApp: boolean

    Enabling this option will automatically uninstall the application before running it

  • skipOpenSummary: boolean

    Don't open the summary after running screengrab

  • Optional specificDevice?: string

    Use the device or emulator with the given serial number or qualifier

  • Optional testInstrumentationRunner?: string

    The fully qualified class name of your test instrumentation runner

  • Optional testsApkPath?: string

    The path to the APK for the tests bundle

  • Optional testsPackageName?: string

    The package name of the tests bundle (e.g. com.yourcompany.yourapp.test)

  • Optional useAdbRoot?: boolean

    DEPRECATED! Restarts the adb daemon using adb root to allow access to screenshots directories on device. Use if getting 'Permission denied' errors

  • Optional useTestsInClasses?: string[]

    Only run tests in these Java classes

  • Optional useTestsInPackages?: string[]

    Only run tests in these Java packages

  • useTimestampSuffix: boolean

    Add timestamp suffix to screenshot filename

SetBuildNumberRepositoryOptions

SetBuildNumberRepositoryOptions: { useHgRevisionNumber?: boolean; xcodeproj?: string }

Shape for setBuildNumberRepository options argument

Type declaration

  • Optional useHgRevisionNumber?: boolean

    Use hg revision number instead of hash (ignored for non-hg repos)

  • Optional xcodeproj?: string

    explicitly specify which xcodeproj to use

SetChangelogOptions

SetChangelogOptions: { apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string; changelog?: string; platform: string; teamId?: string; teamName?: string; username?: string; version?: string }

Shape for setChangelog options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string

    The bundle identifier of your app

  • Optional changelog?: string

    Changelog text that should be uploaded to App Store Connect

  • platform: string

    The platform of the app (ios, appletvos, mac)

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional username?: string

    Your Apple ID Username

  • Optional version?: string

    The version number to create/update

SetGithubReleaseOptions

SetGithubReleaseOptions: { apiBearer?: string; apiToken?: string; commitish?: string; description?: string; isDraft?: boolean; isGenerateReleaseNotes?: boolean; isPrerelease?: boolean; name?: string; repositoryName: string; serverUrl?: string; tagName: string; uploadAssets?: string[] }

Shape for setGithubRelease options argument

Type declaration

  • Optional apiBearer?: string

    Use a Bearer authorization token. Usually generated by GitHub Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable

  • Optional apiToken?: string

    Personal API Token for GitHub - generate one at https://github.com/settings/tokens

  • Optional commitish?: string

    Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually master)

  • Optional description?: string

    Description of this release

  • Optional isDraft?: boolean

    Whether the release should be marked as draft

  • Optional isGenerateReleaseNotes?: boolean

    Whether the name and body of this release should be generated automatically

  • Optional isPrerelease?: boolean

    Whether the release should be marked as prerelease

  • Optional name?: string

    Name of this release

  • repositoryName: string

    The path to your repo, e.g. 'fastlane/fastlane'

  • Optional serverUrl?: string
  • tagName: string

    Pass in the tag name

  • Optional uploadAssets?: string[]

    Path to assets to be uploaded with the release

SetInfoPlistValueOptions

SetInfoPlistValueOptions: { key: string; outputFileName?: string; path: string; subkey?: string; value: string }

Shape for setInfoPlistValue options argument

Type declaration

  • key: string

    Name of key in plist

  • Optional outputFileName?: string

    Path to the output file you want to generate

  • path: string

    Path to plist file you want to update

  • Optional subkey?: string

    Name of subkey in plist

  • value: string

    Value to setup

SetPodKeyOptions

SetPodKeyOptions: { key: string; project?: string; useBundleExec: boolean; value: string }

Shape for setPodKey options argument

Type declaration

  • key: string

    The key to be saved with cocoapods-keys

  • Optional project?: string

    The project name

  • useBundleExec: boolean

    Use bundle exec when there is a Gemfile presented

  • value: string

    The value to be saved with cocoapods-keys

SetupCiOptions

SetupCiOptions: { force: boolean; provider?: string; timeout: any }

Shape for setupCi options argument

Type declaration

  • force: boolean

    Force setup, even if not executed by CI

  • Optional provider?: string

    CI provider. If none is set, the provider is detected automatically

  • timeout: any

    Set a custom timeout in seconds for keychain. Set 0 if you want to specify 'no time-out'

SetupCircleCiOptions

SetupCircleCiOptions: { force: boolean }

Shape for setupCircleCi options argument

Type declaration

  • force: boolean

    Force setup, even if not executed by CircleCI

SetupJenkinsOptions

SetupJenkinsOptions: { addKeychainToSearchList: string; codeSigningIdentity?: string; derivedDataPath: string; force: boolean; keychainPassword: string; keychainPath?: string; outputDirectory: string; resultBundle: boolean; setCodeSigningIdentity: boolean; setDefaultKeychain: boolean; unlockKeychain: boolean }

Shape for setupJenkins options argument

Type declaration

  • addKeychainToSearchList: string

    Add to keychain search list, valid values are true, false, :add, and :replace

  • Optional codeSigningIdentity?: string

    Code signing identity

  • derivedDataPath: string

    The directory where built products and other derived data will go

  • force: boolean

    Force setup, even if not executed by Jenkins

  • keychainPassword: string

    Keychain password

  • Optional keychainPath?: string

    Path to keychain

  • outputDirectory: string

    The directory in which the ipa file should be stored in

  • resultBundle: boolean

    Produce the result bundle describing what occurred will be placed

  • setCodeSigningIdentity: boolean

    Set code signing identity from CODE_SIGNING_IDENTITY environment

  • setDefaultKeychain: boolean

    Set keychain as default

  • unlockKeychain: boolean

    Unlocks keychain

SetupTravisOptions

SetupTravisOptions: { force: boolean }

Shape for setupTravis options argument

Type declaration

  • force: boolean

    Force setup, even if not executed by travis

ShOptions

ShOptions: { command: string; errorCallback?: any; log?: boolean }

Shape for sh options argument

Type declaration

  • command: string

    Shell command to be executed

  • Optional errorCallback?: any

    A callback invoked with the command output if there is a non-zero exit status

  • Optional log?: boolean

    Determines whether fastlane should print out the executed command itself and output of the executed command. If command line option --troubleshoot is used, then it overrides this option to true

SighOptions

SighOptions: { adhoc: any; apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string; cachedBundleIds?: any; cachedCertificates?: any; cachedDevices?: any; cachedProfiles?: any; certId?: string; certOwnerName?: string; developerId: any; development: any; failOnNameTaken?: any; filename?: string; force: any; ignoreProfilesWithDifferentName?: any; includeAllCertificates: any; includeMacInProfiles: any; outputPath: string; platform: any; provisioningName?: string; readonly?: any; skipCertificateVerification: any; skipFetchProfiles: any; skipInstall: any; teamId?: string; teamName?: string; templateName?: string; username?: string }

Shape for sigh options argument

Type declaration

  • adhoc: any

    Setting this flag will generate AdHoc profiles instead of App Store Profiles

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string

    The bundle identifier of your app

  • Optional cachedBundleIds?: any

    A list of cached bundle ids

  • Optional cachedCertificates?: any

    A list of cached certificates

  • Optional cachedDevices?: any

    A list of cached devices

  • Optional cachedProfiles?: any

    A list of cached bundle ids

  • Optional certId?: string

    The ID of the code signing certificate to use (e.g. 78ADL6LVAA)

  • Optional certOwnerName?: string

    The certificate name to use for new profiles, or to renew with. (e.g. "Felix Krause")

  • developerId: any

    Setting this flag will generate Developer ID profiles instead of App Store Profiles

  • development: any

    Renew the development certificate instead of the production one

  • Optional failOnNameTaken?: any

    Should the command fail if it was about to create a duplicate of an existing provisioning profile. It can happen due to issues on Apple Developer Portal, when profile to be recreated was not properly deleted first

  • Optional filename?: string

    Filename to use for the generated provisioning profile (must include .mobileprovision)

  • force: any

    Renew provisioning profiles regardless of its state - to automatically add all devices for ad hoc profiles

  • Optional ignoreProfilesWithDifferentName?: any

    Use in combination with :provisioning_name - when true only profiles matching this exact name will be downloaded

  • includeAllCertificates: any

    Include all matching certificates in the provisioning profile. Works only for the 'development' provisioning profile type

  • includeMacInProfiles: any

    Include Apple Silicon Mac devices in provisioning profiles for iOS/iPadOS apps

  • outputPath: string

    Directory in which the profile should be stored

  • platform: any

    Set the provisioning profile's platform (i.e. ios, tvos, macos, catalyst)

  • Optional provisioningName?: string

    The name of the profile that is used on the Apple Developer Portal

  • Optional readonly?: any

    Only fetch existing profile, don't generate new ones

  • skipCertificateVerification: any

    Skips the verification of the certificates for every existing profiles. This will make sure the provisioning profile can be used on the local machine

  • skipFetchProfiles: any

    Skips the verification of existing profiles which is useful if you have thousands of profiles

  • skipInstall: any

    By default, the certificate will be added to your local machine. Setting this flag will skip this action

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional templateName?: string

    The name of provisioning profile template. If the developer account has provisioning profile templates (aka: custom entitlements), the template name can be found by inspecting the Entitlements drop-down while creating/editing a provisioning profile (e.g. "Apple Pay Pass Suppression Development")

  • Optional username?: string

    Your Apple ID Username

SkipDocsOptions

SkipDocsOptions: {}

Shape for skipDocs options argument

Type declaration

SlackOptions

SlackOptions: { attachmentProperties: { string: string }; channel?: string; defaultPayloads: string[]; failOnError?: boolean; iconUrl?: string; linkNames?: boolean; message?: string; payload: { string: string }; pretext?: string; slackUrl: string; success?: boolean; useWebhookConfiguredUsernameAndIcon?: boolean; username?: string }

Shape for slack options argument

Type declaration

  • attachmentProperties: { string: string }

    Merge additional properties in the slack attachment, see https://api.slack.com/docs/attachments

    • string: string
  • Optional channel?: string

    #channel or @username

  • defaultPayloads: string[]

    Specifies default payloads to include. Pass an empty array to suppress all the default payloads

  • Optional failOnError?: boolean

    Should an error sending the slack notification cause a failure? (true/false)

  • Optional iconUrl?: string

    Overrides the webhook's image property if use_webhook_configured_username_and_icon is false

  • Optional linkNames?: boolean

    Find and link channel names and usernames (true/false)

  • Optional message?: string

    The message that should be displayed on Slack. This supports the standard Slack markup language

  • payload: { string: string }

    Add additional information to this post. payload must be a hash containing any key with any value

    • string: string
  • Optional pretext?: string

    This is optional text that appears above the message attachment block. This supports the standard Slack markup language

  • slackUrl: string

    Create an Incoming WebHook for your Slack group

  • Optional success?: boolean

    Was this build successful? (true/false)

  • Optional useWebhookConfiguredUsernameAndIcon?: boolean

    Use webhook's default username and icon settings? (true/false)

  • Optional username?: string

    Overrides the webhook's username property if use_webhook_configured_username_and_icon is false

SlatherOptions

SlatherOptions: { arch?: string; binaryBasename?: string[]; binaryFile?: string[]; buildDirectory?: string; buildkite?: boolean; circleci?: boolean; coberturaXml?: boolean; configuration?: string; coveralls?: boolean; decimals?: string; github?: boolean; gutterJson?: boolean; html?: boolean; ignore?: string[]; inputFormat?: string; jenkins?: boolean; json?: boolean; llvmCov?: boolean; outputDirectory?: string; proj?: string; scheme?: string; show: boolean; simpleOutput?: boolean; sonarqubeXml?: boolean; sourceDirectory?: string; sourceFiles?: string; teamcity?: boolean; travis?: boolean; travisPro?: boolean; useBundleExec: boolean; verbose?: boolean; workspace?: string; ymlfile?: string }

Shape for slather options argument

Type declaration

  • Optional arch?: string

    Specify which architecture the binary file is in. Needed for universal binaries

  • Optional binaryBasename?: string[]

    Basename of the binary file, this should match the name of your bundle excluding its extension (i.e. YourApp [for YourApp.app bundle])

  • Optional binaryFile?: string[]

    Binary file name to be used for code coverage

  • Optional buildDirectory?: string

    The location of the build output

  • Optional buildkite?: boolean

    Tell slather that it is running on Buildkite

  • Optional circleci?: boolean

    Tell slather that it is running on CircleCI

  • Optional coberturaXml?: boolean

    Tell slather that it should output results as Cobertura XML format

  • Optional configuration?: string

    Configuration to use when calling slather (since slather-2.4.1)

  • Optional coveralls?: boolean

    Tell slather that it should post data to Coveralls

  • Optional decimals?: string

    The amount of decimals to use for % coverage reporting

  • Optional github?: boolean

    Tell slather that it is running on GitHub Actions

  • Optional gutterJson?: boolean

    Tell slather that it should output results as Gutter JSON format

  • Optional html?: boolean

    Tell slather that it should output results as static HTML pages

  • Optional ignore?: string[]

    Tell slather to ignore files matching a path or any path from an array of paths

  • Optional inputFormat?: string

    The input format that slather should look for

  • Optional jenkins?: boolean

    Tell slather that it is running on Jenkins

  • Optional json?: boolean

    Tell slather that it should output results as static JSON report

  • Optional llvmCov?: boolean

    Tell slather that it should output results as llvm-cov show format

  • Optional outputDirectory?: string

    Tell slather the location of for your output files

  • Optional proj?: string

    The project file that slather looks at

  • Optional scheme?: string

    Scheme to use when calling slather

  • show: boolean

    Tell slather that it should open static html pages automatically

  • Optional simpleOutput?: boolean

    Tell slather that it should output results to the terminal

  • Optional sonarqubeXml?: boolean

    Tell slather that it should output results as SonarQube Generic XML format

  • Optional sourceDirectory?: string

    Tell slather the location of your source files

  • Optional sourceFiles?: string

    A Dir.glob compatible pattern used to limit the lookup to specific source files. Ignored in gcov mode

  • Optional teamcity?: boolean

    Tell slather that it is running on TeamCity

  • Optional travis?: boolean

    Tell slather that it is running on TravisCI

  • Optional travisPro?: boolean

    Tell slather that it is running on TravisCI Pro

  • useBundleExec: boolean

    Use bundle exec to execute slather. Make sure it is in the Gemfile

  • Optional verbose?: boolean

    Tell slather to enable verbose mode

  • Optional workspace?: string

    The workspace that slather looks at

  • Optional ymlfile?: string

    Relative path to a file used in place of '.slather.yml'

SnapshotOptions

SnapshotOptions: { addPhotos?: string[]; addVideos?: string[]; appIdentifier?: string; buildlogPath: string; clean: any; clearPreviousScreenshots: any; clonedSourcePackagesPath?: string; concurrentSimulators: any; configuration?: string; darkMode?: boolean; derivedDataPath?: string; devices?: string[]; disablePackageAutomaticUpdates: boolean; disableSlideToType?: any; disableXcpretty?: boolean; eraseSimulator: any; headless: boolean; htmlTemplate?: string; iosVersion?: string; languages: string[]; launchArguments: string[]; localizeSimulator: any; namespaceLogFiles?: any; numberOfRetries: any; onlyTesting?: any; outputDirectory: string; outputSimulatorLogs?: boolean; overrideStatusBar: any; overrideStatusBarArguments?: string; project?: string; reinstallApp: any; resultBundle?: any; scheme?: string; sdk?: string; skipHelperVersionCheck: any; skipOpenSummary: any; skipPackageDependenciesResolution: boolean; skipTesting?: any; stopAfterFirstError: any; suppressXcodeOutput?: boolean; testTargetName?: string; testWithoutBuilding?: boolean; testplan?: string; useSystemScm: boolean; workspace?: string; xcargs?: string; xcconfig?: string; xcodebuildFormatter: string; xcprettyArgs?: string }

Shape for snapshot options argument

Type declaration

  • Optional addPhotos?: string[]

    A list of photos that should be added to the simulator before running the application

  • Optional addVideos?: string[]

    A list of videos that should be added to the simulator before running the application

  • Optional appIdentifier?: string

    The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)

  • buildlogPath: string

    The directory where to store the build log

  • clean: any

    Should the project be cleaned before building it?

  • clearPreviousScreenshots: any

    Enabling this option will automatically clear previously generated screenshots before running snapshot

  • Optional clonedSourcePackagesPath?: string

    Sets a custom path for Swift Package Manager dependencies

  • concurrentSimulators: any

    Take snapshots on multiple simulators concurrently. Note: This option is only applicable when running against Xcode 9

  • Optional configuration?: string

    The configuration to use when building the app. Defaults to 'Release'

  • Optional darkMode?: boolean

    Enabling this option will configure the Simulator to be in dark mode (false for light, true for dark)

  • Optional derivedDataPath?: string

    The directory where build products and other derived data will go

  • Optional devices?: string[]

    A list of devices you want to take the screenshots from

  • disablePackageAutomaticUpdates: boolean

    Prevents packages from automatically being resolved to versions other than those recorded in the Package.resolved file

  • Optional disableSlideToType?: any

    Disable the simulator from showing the 'Slide to type' prompt

  • Optional disableXcpretty?: boolean

    Disable xcpretty formatting of build

  • eraseSimulator: any

    Enabling this option will automatically erase the simulator before running the application

  • headless: boolean

    Enabling this option will prevent displaying the simulator window

  • Optional htmlTemplate?: string

    A path to screenshots.html template

  • Optional iosVersion?: string

    By default, the latest version should be used automatically. If you want to change it, do it here

  • languages: string[]

    A list of languages which should be used

  • launchArguments: string[]

    A list of launch arguments which should be used

  • localizeSimulator: any

    Enabling this option will configure the Simulator's system language

  • Optional namespaceLogFiles?: any

    Separate the log files per device and per language

  • numberOfRetries: any

    The number of times a test can fail before snapshot should stop retrying

  • Optional onlyTesting?: any

    Array of strings matching Test Bundle/Test Suite/Test Cases to run

  • outputDirectory: string

    The directory where to store the screenshots

  • Optional outputSimulatorLogs?: boolean

    If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory

  • overrideStatusBar: any

    Enabling this option will automatically override the status bar to show 9:41 AM, full battery, and full reception (Adjust 'SNAPSHOT_SIMULATOR_WAIT_FOR_BOOT_TIMEOUT' environment variable if override status bar is not working. Might be because simulator is not fully booted. Defaults to 10 seconds)

  • Optional overrideStatusBarArguments?: string

    Fully customize the status bar by setting each option here. Requires override_status_bar to be set to true. See xcrun simctl status_bar --help

  • Optional project?: string

    Path to the project file

  • reinstallApp: any

    Enabling this option will automatically uninstall the application before running it

  • Optional resultBundle?: any

    Should an Xcode result bundle be generated in the output directory

  • Optional scheme?: string

    The scheme you want to use, this must be the scheme for the UI Tests

  • Optional sdk?: string

    The SDK that should be used for building the application

  • skipHelperVersionCheck: any

    Do not check for most recent SnapshotHelper code

  • skipOpenSummary: any

    Don't open the HTML summary after running snapshot

  • skipPackageDependenciesResolution: boolean

    Skips resolution of Swift Package Manager dependencies

  • Optional skipTesting?: any

    Array of strings matching Test Bundle/Test Suite/Test Cases to skip

  • stopAfterFirstError: any

    Should snapshot stop immediately after the tests completely failed on one device?

  • Optional suppressXcodeOutput?: boolean

    Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path

  • Optional testTargetName?: string

    The name of the target you want to test (if you desire to override the Target Application from Xcode)

  • Optional testWithoutBuilding?: boolean

    Test without building, requires a derived data path

  • Optional testplan?: string

    The testplan associated with the scheme that should be used for testing

  • useSystemScm: boolean

    Lets xcodebuild use system's scm configuration

  • Optional workspace?: string

    Path to the workspace file

  • Optional xcargs?: string

    Pass additional arguments to xcodebuild for the test phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"

  • Optional xcconfig?: string

    Use an extra XCCONFIG file to build your app

  • xcodebuildFormatter: string

    xcodebuild formatter to use (ex: 'xcbeautify', 'xcbeautify --quieter', 'xcpretty', 'xcpretty -test'). Use empty string (ex: '') to disable any formatter (More information: https://docs.fastlane.tools/best-practices/xcodebuild-formatters/)

  • Optional xcprettyArgs?: string

    DEPRECATED! Use xcodebuild_formatter: '' instead - Additional xcpretty arguments

SonarOptions

SonarOptions: { branchName?: string; exclusions?: string; projectConfigurationPath?: string; projectKey?: string; projectLanguage?: string; projectName?: string; projectVersion?: string; pullRequestBase?: string; pullRequestBranch?: string; pullRequestKey?: string; sonarLogin?: string; sonarOrganization?: string; sonarRunnerArgs?: string; sonarToken?: string; sonarUrl?: string; sourceEncoding?: string; sourcesPath?: string }

Shape for sonar options argument

Type declaration

  • Optional branchName?: string

    Pass the branch name which is getting scanned

  • Optional exclusions?: string

    Comma-separated paths to directories to be excluded from the analysis

  • Optional projectConfigurationPath?: string

    The path to your sonar project configuration file; defaults to sonar-project.properties

  • Optional projectKey?: string

    The key sonar uses to identify the project, e.g. name.gretzki.awesomeApp. Must either be specified here or inside the sonar project configuration file

  • Optional projectLanguage?: string

    Language key, e.g. objc

  • Optional projectName?: string

    The name of the project that gets displayed on the sonar report page. Must either be specified here or inside the sonar project configuration file

  • Optional projectVersion?: string

    The project's version that gets displayed on the sonar report page. Must either be specified here or inside the sonar project configuration file

  • Optional pullRequestBase?: string

    The long-lived branch into which the PR will be merged

  • Optional pullRequestBranch?: string

    The name of the branch that contains the changes to be merged

  • Optional pullRequestKey?: string

    Unique identifier of your PR. Must correspond to the key of the PR in GitHub or TFS

  • Optional sonarLogin?: string

    DEPRECATED! Login and password were deprecated in favor of login token. See https://community.sonarsource.com/t/deprecating-sonar-login-and-sonar-password-in-favor-of-sonar-token/95829 for more details - Pass the Sonar Login Token (e.g: xxxxxxprivate_token_XXXXbXX7e)

  • Optional sonarOrganization?: string

    Key of the organization on SonarCloud

  • Optional sonarRunnerArgs?: string

    Pass additional arguments to sonar-scanner. Be sure to provide the arguments with a leading -D e.g. FL_SONAR_RUNNER_ARGS="-Dsonar.verbose=true"

  • Optional sonarToken?: string

    Pass the Sonar Token (e.g: xxxxxxprivate_token_XXXXbXX7e)

  • Optional sonarUrl?: string

    Pass the url of the Sonar server

  • Optional sourceEncoding?: string

    Used encoding of source files, e.g., UTF-8

  • Optional sourcesPath?: string

    Comma-separated paths to directories containing source files. Must either be specified here or inside the sonar project configuration file

SourcedocsOptions

SourcedocsOptions: { allModules?: boolean; clean?: boolean; collapsible?: boolean; linkBeginning?: string; linkEnding?: string; minAcl?: string; moduleName?: string; moduleNamePath?: boolean; outputFolder: string; reproducible?: boolean; scheme?: string; sdkPlatform?: string; spmModule?: string; tableOfContents?: boolean }

Shape for sourcedocs options argument

Type declaration

  • Optional allModules?: boolean

    Generate documentation for all modules in a Swift package

  • Optional clean?: boolean

    Delete output folder before generating documentation

  • Optional collapsible?: boolean

    Put methods, properties and enum cases inside collapsible blocks

  • Optional linkBeginning?: string

    The text to begin links with

  • Optional linkEnding?: string

    The text to end links with (default: .md)

  • Optional minAcl?: string

    Access level to include in documentation [private, fileprivate, internal, public, open] (default: public)

  • Optional moduleName?: string

    Generate documentation for a Swift module

  • Optional moduleNamePath?: boolean

    Include the module name as part of the output folder path

  • outputFolder: string

    Output directory to clean (default: Documentation/Reference)

  • Optional reproducible?: boolean

    Generate documentation that is reproducible: only depends on the sources

  • Optional scheme?: string

    Create documentation for specific scheme

  • Optional sdkPlatform?: string

    Create documentation for specific sdk platform

  • Optional spmModule?: string

    Generate documentation for Swift Package Manager module

  • Optional tableOfContents?: boolean

    Generate a table of contents with properties and methods for each type

SpaceshipLogsOptions

SpaceshipLogsOptions: { copyToClipboard: boolean; copyToPath?: string; latest: boolean; printContents: boolean; printPaths: boolean }

Shape for spaceshipLogs options argument

Type declaration

  • copyToClipboard: boolean

    Copies the contents of the found Spaceship log file(s) to the clipboard

  • Optional copyToPath?: string

    Copies the found Spaceship log file(s) to a directory

  • latest: boolean

    Finds only the latest Spaceshop log file if set to true, otherwise returns all

  • printContents: boolean

    Prints the contents of the found Spaceship log file(s)

  • printPaths: boolean

    Prints the paths of the found Spaceship log file(s)

SpaceshipStatsOptions

SpaceshipStatsOptions: { printRequestLogs: boolean }

Shape for spaceshipStats options argument

Type declaration

  • printRequestLogs: boolean

    Print all URLs requested

SplunkmintOptions

SplunkmintOptions: { apiKey: string; apiToken: string; dsym?: string; proxyAddress?: string; proxyPassword?: string; proxyPort?: string; proxyUsername?: string; uploadProgress?: boolean; verbose?: boolean }

Shape for splunkmint options argument

Type declaration

  • apiKey: string

    Splunk MINT App API key e.g. f57a57ca

  • apiToken: string

    Splunk MINT API token e.g. e05ba40754c4869fb7e0b61

  • Optional dsym?: string

    dSYM.zip file to upload to Splunk MINT

  • Optional proxyAddress?: string

    Proxy address

  • Optional proxyPassword?: string

    Proxy password

  • Optional proxyPort?: string

    Proxy port

  • Optional proxyUsername?: string

    Proxy username

  • Optional uploadProgress?: boolean

    Show upload progress

  • Optional verbose?: boolean

    Make detailed output

SpmOptions

SpmOptions: { buildPath?: string; command: string; configuration?: string; disableSandbox?: boolean; enableCodeCoverage?: boolean; packagePath?: string; parallel: boolean; scratchPath?: string; simulator?: string; simulatorArch: string; verbose: boolean; xcconfig?: string; xcprettyArgs?: string; xcprettyOutput?: string }

Shape for spm options argument

Type declaration

  • Optional buildPath?: string

    DEPRECATED! build_path option is deprecated, use scratch_path instead - Specify build/cache directory [default: ./.build]

  • command: string

    The swift command (one of: build, test, clean, reset, update, resolve, generate-xcodeproj, init)

  • Optional configuration?: string

    Build with configuration (debug|release) [default: debug]

  • Optional disableSandbox?: boolean

    Disable using the sandbox when executing subprocesses

  • Optional enableCodeCoverage?: boolean

    Enables code coverage for the generated Xcode project when using the 'generate-xcodeproj' and the 'test' command

  • Optional packagePath?: string

    Change working directory before any other operation

  • parallel: boolean

    Enables running tests in parallel when using the 'test' command

  • Optional scratchPath?: string

    Specify build/cache directory [default: ./.build]

  • Optional simulator?: string

    Specifies the simulator to pass for Swift Compiler (one of: iphonesimulator, macosx)

  • simulatorArch: string

    Specifies the architecture of the simulator to pass for Swift Compiler (one of: x86_64, arm64). Requires the simulator option to be specified also, otherwise, it's ignored

  • verbose: boolean

    Increase verbosity of informational output

  • Optional xcconfig?: string

    Use xcconfig file to override swift package generate-xcodeproj defaults

  • Optional xcprettyArgs?: string

    Pass in xcpretty additional command line arguments (e.g. '--test --no-color' or '--tap --no-utf'), requires xcpretty_output to be specified also

  • Optional xcprettyOutput?: string

    Specifies the output type for xcpretty. eg. 'test', or 'simple'

SshOptions

SshOptions: { commands?: string[]; host: string; log?: boolean; password?: string; port?: string; username: string }

Shape for ssh options argument

Type declaration

  • Optional commands?: string[]

    Commands

  • host: string

    Hostname

  • Optional log?: boolean

    Log commands and output

  • Optional password?: string

    Password

  • Optional port?: string

    Port

  • username: string

    Username

SupplyOptions

SupplyOptions: { aab?: string; aabPaths?: string[]; ackBundleInstallationWarning?: boolean; apk?: string; apkPaths?: string[]; changesNotSentForReview: boolean; checkSupersededTracks?: boolean; deactivateOnPromote?: boolean; inAppUpdatePriority?: any; issuer?: string; jsonKey?: string; jsonKeyData?: string; key?: string; mapping?: string; mappingPaths?: string[]; metadataPath?: string; obbMainFileSize?: any; obbMainReferencesVersion?: any; obbPatchFileSize?: any; obbPatchReferencesVersion?: any; packageName: string; releaseStatus?: string; rescueChangesNotSentForReview: boolean; rollout?: string; rootUrl?: string; skipUploadAab?: boolean; skipUploadApk?: boolean; skipUploadChangelogs?: boolean; skipUploadImages?: boolean; skipUploadMetadata?: boolean; skipUploadScreenshots?: boolean; syncImageUpload: boolean; timeout?: any; track: string; trackPromoteReleaseStatus?: string; trackPromoteTo?: string; validateOnly?: boolean; versionCode?: any; versionCodesToRetain?: string[]; versionName?: string }

Shape for supply options argument

Type declaration

  • Optional aab?: string

    Path to the AAB file to upload

  • Optional aabPaths?: string[]

    An array of paths to AAB files to upload

  • Optional ackBundleInstallationWarning?: boolean

    Must be set to true if the bundle installation may trigger a warning on user devices (e.g can only be downloaded over wifi). Typically this is required for bundles over 150MB

  • Optional apk?: string

    Path to the APK file to upload

  • Optional apkPaths?: string[]

    An array of paths to APK files to upload

  • changesNotSentForReview: boolean

    Indicates that the changes in this edit will not be reviewed until they are explicitly sent for review from the Google Play Console UI

  • Optional checkSupersededTracks?: boolean

    DEPRECATED! Google Play does this automatically now - Check the other tracks for superseded versions and disable them

  • Optional deactivateOnPromote?: boolean

    DEPRECATED! Google Play does this automatically now - When promoting to a new track, deactivate the binary in the origin track

  • Optional inAppUpdatePriority?: any

    In-app update priority for all the newly added apks in the release. Can take values between [0,5]

  • Optional issuer?: string

    DEPRECATED! Use --json_key instead - The issuer of the p12 file (email address of the service account)

  • Optional jsonKey?: string

    The path to a file containing service account JSON, used to authenticate with Google

  • Optional jsonKeyData?: string

    The raw service account JSON data used to authenticate with Google

  • Optional key?: string

    DEPRECATED! Use --json_key instead - The p12 File used to authenticate with Google

  • Optional mapping?: string

    Path to the mapping file to upload (mapping.txt or native-debug-symbols.zip alike)

  • Optional mappingPaths?: string[]

    An array of paths to mapping files to upload (mapping.txt or native-debug-symbols.zip alike)

  • Optional metadataPath?: string

    Path to the directory containing the metadata files

  • Optional obbMainFileSize?: any

    Size of 'main' expansion file in bytes

  • Optional obbMainReferencesVersion?: any

    References version of 'main' expansion file

  • Optional obbPatchFileSize?: any

    Size of 'patch' expansion file in bytes

  • Optional obbPatchReferencesVersion?: any

    References version of 'patch' expansion file

  • packageName: string

    The package name of the application to use

  • Optional releaseStatus?: string

    Release status (used when uploading new apks/aabs) - valid values are completed, draft, halted, inProgress

  • rescueChangesNotSentForReview: boolean

    Catches changes_not_sent_for_review errors when an edit is committed and retries with the configuration that the error message recommended

  • Optional rollout?: string

    The percentage of the user fraction when uploading to the rollout track (setting to 1 will complete the rollout)

  • Optional rootUrl?: string

    Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/

  • Optional skipUploadAab?: boolean

    Whether to skip uploading AAB

  • Optional skipUploadApk?: boolean

    Whether to skip uploading APK

  • Optional skipUploadChangelogs?: boolean

    Whether to skip uploading changelogs

  • Optional skipUploadImages?: boolean

    Whether to skip uploading images, screenshots not included

  • Optional skipUploadMetadata?: boolean

    Whether to skip uploading metadata, changelogs not included

  • Optional skipUploadScreenshots?: boolean

    Whether to skip uploading SCREENSHOTS

  • syncImageUpload: boolean

    Whether to use sha256 comparison to skip upload of images and screenshots that are already in Play Store

  • Optional timeout?: any

    Timeout for read, open, and send (in seconds)

  • track: string

    The track of the application to use. The default available tracks are: production, beta, alpha, internal

  • Optional trackPromoteReleaseStatus?: string

    Promoted track release status (used when promoting a track) - valid values are completed, draft, halted, inProgress

  • Optional trackPromoteTo?: string

    The track to promote to. The default available tracks are: production, beta, alpha, internal

  • Optional validateOnly?: boolean

    Only validate changes with Google Play rather than actually publish

  • Optional versionCode?: any

    The versionCode for which to download the generated APK

  • Optional versionCodesToRetain?: string[]

    An array of version codes to retain when publishing a new APK

  • Optional versionName?: string

    Version name (used when uploading new apks/aabs) - defaults to 'versionName' in build.gradle or AndroidManifest.xml

SwiftlintOptions

SwiftlintOptions: { compilerLogPath?: string; configFile?: string; executable?: string; files?: string[]; format?: boolean; ignoreExitStatus?: boolean; mode?: any; noCache?: boolean; outputFile?: string; path?: string; quiet?: boolean; raiseIfSwiftlintError?: boolean; reporter?: string; strict?: boolean }

Shape for swiftlint options argument

Type declaration

  • Optional compilerLogPath?: string

    Compiler log path when mode is :analyze

  • Optional configFile?: string

    Custom configuration file of SwiftLint

  • Optional executable?: string

    Path to the swiftlint executable on your machine

  • Optional files?: string[]

    List of files to process

  • Optional format?: boolean

    Format code when mode is :autocorrect

  • Optional ignoreExitStatus?: boolean

    Ignore the exit status of the SwiftLint command, so that serious violations don't fail the build (true/false)

  • Optional mode?: any

    SwiftLint mode: :lint, :fix, :autocorrect or :analyze

  • Optional noCache?: boolean

    Ignore the cache when mode is :autocorrect or :lint

  • Optional outputFile?: string

    Path to output SwiftLint result

  • Optional path?: string

    Specify path to lint

  • Optional quiet?: boolean

    Don't print status logs like 'Linting ' & 'Done linting'

  • Optional raiseIfSwiftlintError?: boolean

    Raises an error if swiftlint fails, so you can fail CI/CD jobs if necessary (true/false)

  • Optional reporter?: string

    Choose output reporter. Available: xcode, json, csv, checkstyle, codeclimate, junit, html, emoji, sonarqube, markdown, github-actions-logging

  • Optional strict?: boolean

    Fail on warnings? (true/false)

SyncCodeSigningOptions

SyncCodeSigningOptions: { additionalCertTypes?: string[]; apiKey?: { string: string }; apiKeyPath?: string; appIdentifier: string[]; certificateId?: string; cloneBranchDirectly: boolean; deriveCatalystAppIdentifier: boolean; failOnNameTaken?: boolean; force: boolean; forceForNewCertificates: boolean; forceForNewDevices: boolean; generateAppleCerts: boolean; gitBasicAuthorization?: string; gitBearerAuthorization?: string; gitBranch: string; gitFullName?: string; gitPrivateKey?: string; gitUrl: string; gitUserEmail?: string; gitlabHost?: string; gitlabProject?: string; googleCloudBucketName?: string; googleCloudKeysFile?: string; googleCloudProjectId?: string; includeAllCertificates: boolean; includeMacInProfiles: boolean; jobToken?: string; keychainName: string; keychainPassword?: string; outputPath?: string; platform: string; privateToken?: string; profileName?: string; readonly: boolean; s3AccessKey?: string; s3Bucket?: string; s3ObjectPrefix?: string; s3Region?: string; s3SecretAccessKey?: string; s3SkipEncryption: boolean; safeRemoveCerts: boolean; shallowClone: boolean; skipCertificateMatching?: boolean; skipConfirmation: boolean; skipDocs: boolean; skipGoogleCloudAccountConfirmation: boolean; skipProvisioningProfiles: boolean; skipSetPartitionList: boolean; storageMode: string; teamId?: string; teamName?: string; templateName?: string; type: string; username?: string; verbose: boolean }

Shape for syncCodeSigning options argument

Type declaration

  • Optional additionalCertTypes?: string[]

    Create additional cert types needed for macOS installers (valid values: mac_installer_distribution, developer_id_installer)

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • appIdentifier: string[]

    The bundle identifier(s) of your app (comma-separated string or array of strings)

  • Optional certificateId?: string

    Select certificate by id. Useful if multiple certificates are stored in one place

  • cloneBranchDirectly: boolean

    Clone just the branch specified, instead of the whole repo. This requires that the branch already exists. Otherwise the command will fail

  • deriveCatalystAppIdentifier: boolean

    Enable this if you have the Mac Catalyst capability enabled and your project was created with Xcode 11.3 or earlier. Prepends 'maccatalyst.' to the app identifier for the provisioning profile mapping

  • Optional failOnNameTaken?: boolean

    Should the command fail if it was about to create a duplicate of an existing provisioning profile. It can happen due to issues on Apple Developer Portal, when profile to be recreated was not properly deleted first

  • force: boolean

    Renew the provisioning profiles every time you run match

  • forceForNewCertificates: boolean

    Renew the provisioning profiles if the certificate count on the developer portal has changed. Works only for the 'development' provisioning profile type. Requires 'include_all_certificates' option to be 'true'

  • forceForNewDevices: boolean

    Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile types 'appstore' and 'developer_id'

  • generateAppleCerts: boolean

    Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)

  • Optional gitBasicAuthorization?: string

    Use a basic authorization header to access the git repo (e.g.: access via HTTPS, GitHub Actions, etc), usually a string in Base64

  • Optional gitBearerAuthorization?: string

    Use a bearer authorization header to access the git repo (e.g.: access to an Azure DevOps repository), usually a string in Base64

  • gitBranch: string

    Specific git branch to use

  • Optional gitFullName?: string

    git user full name to commit

  • Optional gitPrivateKey?: string

    Use a private key to access the git repo (e.g.: access to GitHub repository via Deploy keys), usually a id_rsa named file or the contents hereof

  • gitUrl: string

    URL to the git repo containing all the certificates

  • Optional gitUserEmail?: string

    git user email to commit

  • Optional gitlabHost?: string

    GitLab Host (i.e. 'https://gitlab.com')

  • Optional gitlabProject?: string

    GitLab Project Path (i.e. 'gitlab-org/gitlab')

  • Optional googleCloudBucketName?: string

    Name of the Google Cloud Storage bucket to use

  • Optional googleCloudKeysFile?: string

    Path to the gc_keys.json file

  • Optional googleCloudProjectId?: string

    ID of the Google Cloud project to use for authentication

  • includeAllCertificates: boolean

    Include all matching certificates in the provisioning profile. Works only for the 'development' provisioning profile type

  • includeMacInProfiles: boolean

    Include Apple Silicon Mac devices in provisioning profiles for iOS/iPadOS apps

  • Optional jobToken?: string

    GitLab CI_JOB_TOKEN

  • keychainName: string

    Keychain the items should be imported to

  • Optional keychainPassword?: string

    This might be required the first time you access certificates on a new mac. For the login/default keychain this is your macOS account password

  • Optional outputPath?: string

    Path in which to export certificates, key and profile

  • platform: string

    Set the provisioning profile's platform to work with (i.e. ios, tvos, macos, catalyst)

  • Optional privateToken?: string

    GitLab Access Token

  • Optional profileName?: string

    A custom name for the provisioning profile. This will replace the default provisioning profile name if specified

  • readonly: boolean

    Only fetch existing certificates and profiles, don't generate new ones

  • Optional s3AccessKey?: string

    S3 access key

  • Optional s3Bucket?: string

    Name of the S3 bucket

  • Optional s3ObjectPrefix?: string

    Prefix to be used on all objects uploaded to S3

  • Optional s3Region?: string

    Name of the S3 region

  • Optional s3SecretAccessKey?: string

    S3 secret access key

  • s3SkipEncryption: boolean

    Skip encryption of all objects uploaded to S3. WARNING: only enable this on S3 buckets with sufficiently restricted permissions and server-side encryption enabled. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingEncryption.html

  • safeRemoveCerts: boolean

    Remove certs from repository during nuke without revoking them on the developer portal

  • shallowClone: boolean

    Make a shallow clone of the repository (truncate the history to 1 revision)

  • Optional skipCertificateMatching?: boolean

    Set to true if there is no access to Apple developer portal but there are certificates, keys and profiles provided. Only works with match import action

  • skipConfirmation: boolean

    Disables confirmation prompts during nuke, answering them with yes

  • skipDocs: boolean

    Skip generation of a README.md for the created git repository

  • skipGoogleCloudAccountConfirmation: boolean

    Skips confirming to use the system google account

  • skipProvisioningProfiles: boolean

    Skip syncing provisioning profiles

  • skipSetPartitionList: boolean

    Skips setting the partition list (which can sometimes take a long time). Setting the partition list is usually needed to prevent Xcode from prompting to allow a cert to be used for signing

  • storageMode: string

    Define where you want to store your certificates

  • Optional teamId?: string

    The ID of your Developer Portal team if you're in multiple teams

  • Optional teamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional templateName?: string

    The name of provisioning profile template. If the developer account has provisioning profile templates (aka: custom entitlements), the template name can be found by inspecting the Entitlements drop-down while creating/editing a provisioning profile (e.g. "Apple Pay Pass Suppression Development")

  • type: string

    Define the profile type, can be appstore, adhoc, development, enterprise, developer_id, mac_installer_distribution, developer_id_installer

  • Optional username?: string

    Your Apple ID Username

  • verbose: boolean

    Print out extra information and all commands

TeamIdOptions

TeamIdOptions: {}

Shape for teamId options argument

Type declaration

TeamNameOptions

TeamNameOptions: {}

Shape for teamName options argument

Type declaration

TestfairyOptions

TestfairyOptions: { apiKey: string; apk?: string; autoUpdate?: string; comment?: string; custom?: string; ipa?: string; metrics?: string[]; notify?: string; options?: string[]; symbolsFile?: string; testersGroups?: string[]; timeout?: any; uploadUrl?: string }

Shape for testfairy options argument

Type declaration

  • apiKey: string

    API Key for TestFairy

  • Optional apk?: string

    Path to your APK file for Android

  • Optional autoUpdate?: string

    Allows an easy upgrade of all users to the current version. To enable set to 'on'

  • Optional comment?: string

    Additional release notes for this upload. This text will be added to email notifications

  • Optional custom?: string

    Array of custom options. Contact support@testfairy.com for more information

  • Optional ipa?: string

    Path to your IPA file for iOS

  • Optional metrics?: string[]

    Array of metrics to record (cpu,memory,network,phone_signal,gps,battery,mic,wifi)

  • Optional notify?: string

    Send email to testers

  • Optional options?: string[]

    Array of options (shake,video_only_wifi,anonymous)

  • Optional symbolsFile?: string

    Symbols mapping file

  • Optional testersGroups?: string[]

    Array of tester groups to be notified

  • Optional timeout?: any

    Request timeout in seconds

  • Optional uploadUrl?: string

    API URL for TestFairy

TestflightOptions

TestflightOptions: { apiKey?: { string: string }; apiKeyPath?: string; appIdentifier?: string; appPlatform?: string; appVersion?: string; appleId?: string; betaAppDescription?: string; betaAppFeedbackEmail?: string; betaAppReviewInfo?: { string: string }; buildNumber?: string; changelog?: string; demoAccountRequired?: boolean; devPortalTeamId?: string; distributeExternal: any; distributeOnly: boolean; email?: string; expirePreviousBuilds: any; firstName?: string; groups?: string[]; ipa?: string; itcProvider?: string; lastName?: string; localizedAppInfo?: { string: string }; localizedBuildInfo?: { string: string }; notifyExternalTesters?: any; pkg?: string; rejectBuildWaitingForReview: any; skipSubmission: any; skipWaitingForBuildProcessing: any; submitBetaReview: boolean; teamId?: any; teamName?: string; testersFilePath?: string; updateBuildInfoOnUpload?: any; username?: string; usesNonExemptEncryption: boolean; waitForUploadedBuild?: any; waitProcessingInterval: any; waitProcessingTimeoutDuration?: any }

Shape for testflight options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • Optional appIdentifier?: string

    The bundle identifier of the app to upload or manage testers (optional)

  • Optional appPlatform?: string

    The platform to use (optional)

  • Optional appVersion?: string

    The version number of the application build to distribute. If the version number is not specified, then the most recent build uploaded to TestFlight will be distributed. If specified, the most recent build for the version number will be distributed

  • Optional appleId?: string

    Apple ID property in the App Information section in App Store Connect

  • Optional betaAppDescription?: string

    Provide the 'Beta App Description' when uploading a new build

  • Optional betaAppFeedbackEmail?: string

    Provide the beta app email when uploading a new build

  • Optional betaAppReviewInfo?: { string: string }

    Beta app review information for contact info and demo account

    • string: string
  • Optional buildNumber?: string

    The build number of the application build to distribute. If the build number is not specified, the most recent build is distributed

  • Optional changelog?: string

    Provide the 'What to Test' text when uploading a new build

  • Optional demoAccountRequired?: boolean

    Do you need a demo account when Apple does review?

  • Optional devPortalTeamId?: string

    The short ID of your team in the developer portal, if you're in multiple teams. Different from your iTC team ID!

  • distributeExternal: any

    Should the build be distributed to external testers? If set to true, use of groups option is required

  • distributeOnly: boolean

    Distribute a previously uploaded build (equivalent to the fastlane pilot distribute command)

  • Optional email?: string

    The tester's email

  • expirePreviousBuilds: any

    Should expire previous builds?

  • Optional firstName?: string

    The tester's first name

  • Optional groups?: string[]

    Associate tester to one group or more by group name / group id. E.g. -g "Team 1","Team 2" This is required when distribute_external option is set to true or when we want to add a tester to one or more external testing groups

  • Optional ipa?: string

    Path to the ipa file to upload

  • Optional itcProvider?: string

    The provider short name to be used with the iTMSTransporter to identify your team. This value will override the automatically detected provider short name. To get provider short name run pathToXcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter -m provider -u 'USERNAME' -p 'PASSWORD' -account_type itunes_connect -v off. The short names of providers should be listed in the second column

  • Optional lastName?: string

    The tester's last name

  • Optional localizedAppInfo?: { string: string }

    Localized beta app test info for description, feedback email, marketing url, and privacy policy

    • string: string
  • Optional localizedBuildInfo?: { string: string }

    Localized beta app test info for what's new

    • string: string
  • Optional notifyExternalTesters?: any

    Should notify external testers? (Not setting a value will use App Store Connect's default which is to notify)

  • Optional pkg?: string

    Path to your pkg file

  • rejectBuildWaitingForReview: any

    Expire previous if it's 'waiting for review'

  • skipSubmission: any

    Skip the distributing action of pilot and only upload the ipa file

  • skipWaitingForBuildProcessing: any

    If set to true, the distribute_external option won't work and no build will be distributed to testers. (You might want to use this option if you are using this action on CI and have to pay for 'minutes used' on your CI plan). If set to true and a changelog is provided, it will partially wait for the build to appear on AppStore Connect so the changelog can be set, and skip the remaining processing steps

  • submitBetaReview: boolean

    Send the build for a beta review

  • Optional teamId?: any

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional testersFilePath?: string

    Path to a CSV file of testers

  • Optional updateBuildInfoOnUpload?: any

    DEPRECATED! Update build info immediately after validation. This is deprecated and will be removed in a future release. App Store Connect no longer supports setting build info until after build processing has completed, which is when build info is updated by default

  • Optional username?: string

    Your Apple ID Username

  • usesNonExemptEncryption: boolean

    Provide the 'Uses Non-Exempt Encryption' for export compliance. This is used if there is 'ITSAppUsesNonExemptEncryption' is not set in the Info.plist

  • Optional waitForUploadedBuild?: any

    DEPRECATED! No longer needed with the transition over to the App Store Connect API - Use version info from uploaded ipa file to determine what build to use for distribution. If set to false, latest processing or any latest build will be used

  • waitProcessingInterval: any

    Interval in seconds to wait for App Store Connect processing

  • Optional waitProcessingTimeoutDuration?: any

    Timeout duration in seconds to wait for App Store Connect processing. If set, after exceeding timeout duration, this will force stop to wait for App Store Connect processing and exit with exception

TrainerOptions

TrainerOptions: { extension: string; failBuild: any; outputDirectory?: string; outputFilename?: string; outputRemoveRetryAttempts: any; path: string; silent: any; xcprettyNaming: any }

Shape for trainer options argument

Type declaration

  • extension: string

    The extension for the newly created file. Usually .xml or .junit

  • failBuild: any

    Should this step stop the build if the tests fail? Set this to false if you're handling this with a test reporter

  • Optional outputDirectory?: string

    Directory in which the xml files should be written to. Same directory as source by default

  • Optional outputFilename?: string

    Filename the xml file should be written to. Defaults to name of input file. (Only works if one input file is used)

  • outputRemoveRetryAttempts: any

    Doesn't include retry attempts in the output

  • path: string

    Path to the directory that should be converted

  • silent: any

    Silences all output

  • xcprettyNaming: any

    Produces class name and test name identical to xcpretty naming in junit file

TryoutsOptions

TryoutsOptions: { apiToken: string; appId: string; buildFile: string; notes?: string; notesPath?: string; notify: any; status: any }

Shape for tryouts options argument

Type declaration

  • apiToken: string

    API Token (api_key:api_secret) for Tryouts Access

  • appId: string

    Tryouts application hash

  • buildFile: string

    Path to your IPA or APK file. Optional if you use the gym or xcodebuild action

  • Optional notes?: string

    Release notes

  • Optional notesPath?: string

    Release notes text file path. Overrides the :notes parameter

  • notify: any

    Notify testers? 0 for no

  • status: any

    2 to make your release public. Release will be distributed to available testers. 1 to make your release private. Release won't be distributed to testers. This also prevents release from showing up for SDK update

TwitterOptions

TwitterOptions: { accessToken: string; accessTokenSecret: string; consumerKey: string; consumerSecret: string; message: string }

Shape for twitter options argument

Type declaration

  • accessToken: string

    Access Token

  • accessTokenSecret: string

    Access Token Secret

  • consumerKey: string

    Consumer Key

  • consumerSecret: string

    Consumer Secret

  • message: string

    The tweet

TypetalkOptions

TypetalkOptions: {}

Shape for typetalk options argument

Type declaration

UnlockKeychainOptions

UnlockKeychainOptions: { addToSearchList: string; password: string; path: string; setDefault: boolean }

Shape for unlockKeychain options argument

Type declaration

  • addToSearchList: string

    Add to keychain search list, valid values are true, false, :add, and :replace

  • password: string

    Keychain password

  • path: string

    Path to the keychain file

  • setDefault: boolean

    Set as default keychain

UpdateAppGroupIdentifiersOptions

UpdateAppGroupIdentifiersOptions: { appGroupIdentifiers: string[]; entitlementsFile: string }

Shape for updateAppGroupIdentifiers options argument

Type declaration

  • appGroupIdentifiers: string[]

    An Array of unique identifiers for the app groups. Eg. ['group.com.test.testapp']

  • entitlementsFile: string

    The path to the entitlement file which contains the app group identifiers

UpdateAppIdentifierOptions

UpdateAppIdentifierOptions: { appIdentifier: string; plistPath: string; xcodeproj: string }

Shape for updateAppIdentifier options argument

Type declaration

  • appIdentifier: string

    The app Identifier you want to set

  • plistPath: string

    Path to info plist, relative to your Xcode project

  • xcodeproj: string

    Path to your Xcode project

UpdateCodeSigningSettingsOptions

UpdateCodeSigningSettingsOptions: { buildConfigurations?: string[]; bundleIdentifier?: string; codeSignIdentity?: string; entitlementsFilePath?: string; path: string; profileName?: string; profileUuid?: string; sdk?: string; targets?: string[]; teamId?: string; useAutomaticSigning: boolean }

Shape for updateCodeSigningSettings options argument

Type declaration

  • Optional buildConfigurations?: string[]

    Specify build_configurations you want to toggle the signing mech. (default to all configurations)

  • Optional bundleIdentifier?: string

    Application Product Bundle Identifier

  • Optional codeSignIdentity?: string

    Code signing identity type (iPhone Developer, iPhone Distribution)

  • Optional entitlementsFilePath?: string

    Path to your entitlements file

  • path: string

    Path to your Xcode project

  • Optional profileName?: string

    Provisioning profile name to use for code signing

  • Optional profileUuid?: string

    Provisioning profile UUID to use for code signing

  • Optional sdk?: string

    Build target SDKs (iphoneos, macosx, iphonesimulator*)

  • Optional targets?: string[]

    Specify targets you want to toggle the signing mech. (default to all targets)

  • Optional teamId?: string

    Team ID, is used when upgrading project

  • useAutomaticSigning: boolean

    Defines if project should use automatic signing

UpdateFastlaneOptions

UpdateFastlaneOptions: { nightly?: boolean; noUpdate: boolean }

Shape for updateFastlane options argument

Type declaration

  • Optional nightly?: boolean

    DEPRECATED! Nightly builds are no longer being made available - Opt-in to install and use nightly fastlane builds

  • noUpdate: boolean

    Don't update during this run. This is used internally

UpdateIcloudContainerIdentifiersOptions

UpdateIcloudContainerIdentifiersOptions: { entitlementsFile: string; icloudContainerIdentifiers: string[] }

Shape for updateIcloudContainerIdentifiers options argument

Type declaration

  • entitlementsFile: string

    The path to the entitlement file which contains the iCloud container identifiers

  • icloudContainerIdentifiers: string[]

    An Array of unique identifiers for the iCloud containers. Eg. ['iCloud.com.test.testapp']

UpdateInfoPlistOptions

UpdateInfoPlistOptions: { appIdentifier?: string; block?: any; displayName?: string; plistPath?: string; scheme?: string; xcodeproj?: string }

Shape for updateInfoPlist options argument

Type declaration

  • Optional appIdentifier?: string

    The App Identifier of your app

  • Optional block?: any

    A block to process plist with custom logic

  • Optional displayName?: string

    The Display Name of your app

  • Optional plistPath?: string

    Path to info plist

  • Optional scheme?: string

    Scheme of info plist

  • Optional xcodeproj?: string

    Path to your Xcode project

UpdateKeychainAccessGroupsOptions

UpdateKeychainAccessGroupsOptions: { entitlementsFile: string; identifiers: string[] }

Shape for updateKeychainAccessGroups options argument

Type declaration

  • entitlementsFile: string

    The path to the entitlement file which contains the keychain access groups

  • identifiers: string[]

    An Array of unique identifiers for the keychain access groups. Eg. ['your.keychain.access.groups.identifiers']

UpdatePlistOptions

UpdatePlistOptions: { block: any; plistPath?: string }

Shape for updatePlist options argument

Type declaration

  • block: any

    A block to process plist with custom logic

  • Optional plistPath?: string

    Path to plist file

UpdateProjectCodeSigningOptions

UpdateProjectCodeSigningOptions: { path: string; udid?: string; uuid: string }

Shape for updateProjectCodeSigning options argument

Type declaration

  • path: string

    Path to your Xcode project

  • Optional udid?: string

    DEPRECATED! Use :uuid instead

  • uuid: string

    The UUID of the provisioning profile you want to use

UpdateProjectProvisioningOptions

UpdateProjectProvisioningOptions: { buildConfiguration?: string; buildConfigurationFilter?: string; certificate: string; codeSigningIdentity?: string; profile: string; targetFilter?: string; xcodeproj?: string }

Shape for updateProjectProvisioning options argument

Type declaration

  • Optional buildConfiguration?: string

    A filter for the build configuration name. Use a standard regex. Applied to all configurations if not specified

  • Optional buildConfigurationFilter?: string

    Legacy option, use 'target_filter' instead

  • certificate: string

    Path to apple root certificate

  • Optional codeSigningIdentity?: string

    Code sign identity for build configuration

  • profile: string

    Path to provisioning profile (.mobileprovision)

  • Optional targetFilter?: string

    A filter for the target name. Use a standard regex

  • Optional xcodeproj?: string

    Path to your Xcode project

UpdateProjectTeamOptions

UpdateProjectTeamOptions: { path: string; targets?: string[]; teamid: string }

Shape for updateProjectTeam options argument

Type declaration

  • path: string

    Path to your Xcode project

  • Optional targets?: string[]

    Name of the targets you want to update

  • teamid: string

    The Team ID you want to use

UpdateUrbanAirshipConfigurationOptions

UpdateUrbanAirshipConfigurationOptions: { detectProvisioningMode?: boolean; developmentAppKey?: string; developmentAppSecret?: string; plistPath: string; productionAppKey?: string; productionAppSecret?: string }

Shape for updateUrbanAirshipConfiguration options argument

Type declaration

  • Optional detectProvisioningMode?: boolean

    Automatically detect provisioning mode

  • Optional developmentAppKey?: string

    The development app key

  • Optional developmentAppSecret?: string

    The development app secret

  • plistPath: string

    Path to Urban Airship configuration Plist

  • Optional productionAppKey?: string

    The production app key

  • Optional productionAppSecret?: string

    The production app secret

UpdateUrlSchemesOptions

UpdateUrlSchemesOptions: { path: string; updateUrlSchemes?: any; urlSchemes?: string[] }

Shape for updateUrlSchemes options argument

Type declaration

  • path: string

    The Plist file's path

  • Optional updateUrlSchemes?: any

    Block that is called to update schemes with current schemes passed in as parameter

  • Optional urlSchemes?: string[]

    The new URL schemes

UploadAppPrivacyDetailsToAppStoreOptions

UploadAppPrivacyDetailsToAppStoreOptions: { appIdentifier: string; jsonPath?: string; outputJsonPath: string; skipJsonFileSaving: boolean; skipPublish: boolean; skipUpload: boolean; teamId?: string; teamName?: string; username: string }

Shape for uploadAppPrivacyDetailsToAppStore options argument

Type declaration

  • appIdentifier: string

    The bundle identifier of your app

  • Optional jsonPath?: string

    Path to the app usage data JSON

  • outputJsonPath: string

    Path to the app usage data JSON file generated by interactive questions

  • skipJsonFileSaving: boolean

    Whether to skip the saving of the JSON file

  • skipPublish: boolean

    Whether to skip the publishing

  • skipUpload: boolean

    Whether to skip the upload and only create the JSON file with interactive questions

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • username: string

    Your Apple ID Username for App Store Connect

UploadSymbolsToCrashlyticsOptions

UploadSymbolsToCrashlyticsOptions: { apiToken?: string; appId?: string; binaryPath?: string; debug: boolean; dsymPath?: string; dsymPaths?: string[]; dsymWorkerThreads?: any; gspPath?: string; platform: string }

Shape for uploadSymbolsToCrashlytics options argument

Type declaration

  • Optional apiToken?: string

    Crashlytics API Key

  • Optional appId?: string

    Firebase Crashlytics APP ID

  • Optional binaryPath?: string

    The path to the upload-symbols file of the Fabric app

  • debug: boolean

    Enable debug mode for upload-symbols

  • Optional dsymPath?: string

    Path to the DSYM file or zip to upload

  • Optional dsymPaths?: string[]

    Paths to the DSYM files or zips to upload

  • Optional dsymWorkerThreads?: any

    The number of threads to use for simultaneous dSYM upload

  • Optional gspPath?: string

    Path to GoogleService-Info.plist

  • platform: string

    The platform of the app (ios, appletvos, mac)

UploadSymbolsToSentryOptions

UploadSymbolsToSentryOptions: { apiHost?: string; apiKey?: string; authToken?: string; dsymPath?: string; dsymPaths?: string[]; orgSlug: string; projectSlug: string }

Shape for uploadSymbolsToSentry options argument

Type declaration

  • Optional apiHost?: string

    API host url for Sentry

  • Optional apiKey?: string

    API key for Sentry

  • Optional authToken?: string

    Authentication token for Sentry

  • Optional dsymPath?: string

    Path to your symbols file. For iOS and Mac provide path to app.dSYM.zip

  • Optional dsymPaths?: string[]

    Path to an array of your symbols file. For iOS and Mac provide path to app.dSYM.zip

  • orgSlug: string

    Organization slug for Sentry project

  • projectSlug: string

    Project slug for Sentry

UploadToAppStoreOptions

UploadToAppStoreOptions: { apiKey?: { string: string }; apiKeyPath?: string; app?: any; appIcon?: string; appIdentifier?: string; appRatingConfigPath?: string; appReviewAttachmentFile?: string; appReviewInformation?: { string: string }; appVersion?: string; appleTvPrivacyPolicy?: { string: string }; appleWatchAppIcon?: string; autoReleaseDate?: any; automaticRelease?: boolean; buildNumber?: string; copyright?: string; description?: { string: string }; devPortalTeamId?: string; devPortalTeamName?: string; editLive?: boolean; force: boolean; ignoreLanguageDirectoryValidation: boolean; individualMetadataItems?: string[]; ipa?: string; itcProvider?: string; keywords?: { string: string }; languages?: string[]; marketingUrl?: { string: string }; metadataPath?: string; name?: { string: string }; overwriteScreenshots: boolean; phasedRelease?: boolean; pkg?: string; platform?: string; precheckDefaultRuleLevel: any; precheckIncludeInAppPurchases?: boolean; priceTier?: any; primaryCategory?: string; primaryFirstSubCategory?: string; primarySecondSubCategory?: string; privacyUrl?: { string: string }; promotionalText?: { string: string }; rejectIfPossible: boolean; releaseNotes?: { string: string }; resetRatings?: boolean; runPrecheckBeforeSubmit: boolean; screenshotProcessingTimeout: any; screenshotsPath?: string; secondaryCategory?: string; secondaryFirstSubCategory?: string; secondarySecondSubCategory?: string; skipAppVersionUpdate: boolean; skipBinaryUpload: boolean; skipMetadata: boolean; skipScreenshots: boolean; submissionInformation?: { string: string }; submitForReview: boolean; subtitle?: { string: string }; supportUrl?: { string: string }; syncScreenshots: boolean; teamId?: string; teamName?: string; tradeRepresentativeContactInformation?: { string: string }; useLiveVersion: boolean; username?: string; verifyOnly: boolean; versionCheckWaitRetryLimit: any }

Shape for uploadToAppStore options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • Optional app?: any

    The (spaceship) app ID of the app you want to use/modify

  • Optional appIcon?: string

    DEPRECATED! Removed after the migration to the new App Store Connect API in June 2020 - Metadata: The path to the app icon

  • Optional appIdentifier?: string

    The bundle identifier of your app

  • Optional appRatingConfigPath?: string

    Path to the app rating's config

  • Optional appReviewAttachmentFile?: string

    Metadata: Path to the app review attachment file

  • Optional appReviewInformation?: { string: string }

    Metadata: A hash containing the review information

    • string: string
  • Optional appVersion?: string

    The version that should be edited or created

  • Optional appleTvPrivacyPolicy?: { string: string }

    Metadata: Localised Apple TV privacy policy text

    • string: string
  • Optional appleWatchAppIcon?: string

    DEPRECATED! Removed after the migration to the new App Store Connect API in June 2020 - Metadata: The path to the Apple Watch app icon

  • Optional autoReleaseDate?: any

    Date in milliseconds for automatically releasing on pending approval (Cannot be used together with automatic_release)

  • Optional automaticRelease?: boolean

    Should the app be automatically released once it's approved? (Cannot be used together with auto_release_date)

  • Optional buildNumber?: string

    If set the given build number (already uploaded to iTC) will be used instead of the current built one

  • Optional copyright?: string

    Metadata: The copyright notice

  • Optional description?: { string: string }

    Metadata: The localised app description

    • string: string
  • Optional devPortalTeamId?: string

    The short ID of your Developer Portal team, if you're in multiple teams. Different from your iTC team ID!

  • Optional devPortalTeamName?: string

    The name of your Developer Portal team if you're in multiple teams

  • Optional editLive?: boolean

    Modify live metadata, this option disables ipa upload and screenshot upload

  • force: boolean

    Skip verification of HTML preview file

  • ignoreLanguageDirectoryValidation: boolean

    Ignore errors when invalid languages are found in metadata and screenshot directories

  • Optional individualMetadataItems?: string[]

    DEPRECATED! Removed after the migration to the new App Store Connect API in June 2020 - An array of localized metadata items to upload individually by language so that errors can be identified. E.g. ['name', 'keywords', 'description']. Note: slow

  • Optional ipa?: string

    Path to your ipa file

  • Optional itcProvider?: string

    The provider short name to be used with the iTMSTransporter to identify your team. This value will override the automatically detected provider short name. To get provider short name run pathToXcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter -m provider -u 'USERNAME' -p 'PASSWORD' -account_type itunes_connect -v off. The short names of providers should be listed in the second column

  • Optional keywords?: { string: string }

    Metadata: An array of localised keywords

    • string: string
  • Optional languages?: string[]

    Metadata: List of languages to activate

  • Optional marketingUrl?: { string: string }

    Metadata: Localised marketing url

    • string: string
  • Optional metadataPath?: string

    Path to the folder containing the metadata files

  • Optional name?: { string: string }

    Metadata: The localised app name

    • string: string
  • overwriteScreenshots: boolean

    Clear all previously uploaded screenshots before uploading the new ones

  • Optional phasedRelease?: boolean

    Enable the phased release feature of iTC

  • Optional pkg?: string

    Path to your pkg file

  • Optional platform?: string

    The platform to use (optional)

  • precheckDefaultRuleLevel: any

    The default precheck rule level unless otherwise configured

  • Optional precheckIncludeInAppPurchases?: boolean

    Should precheck check in-app purchases?

  • Optional priceTier?: any

    The price tier of this application

  • Optional primaryCategory?: string

    Metadata: The english name of the primary category (e.g. Business, Books)

  • Optional primaryFirstSubCategory?: string

    Metadata: The english name of the primary first sub category (e.g. Educational, Puzzle)

  • Optional primarySecondSubCategory?: string

    Metadata: The english name of the primary second sub category (e.g. Educational, Puzzle)

  • Optional privacyUrl?: { string: string }

    Metadata: Localised privacy url

    • string: string
  • Optional promotionalText?: { string: string }

    Metadata: An array of localised promotional texts

    • string: string
  • rejectIfPossible: boolean

    Rejects the previously submitted build if it's in a state where it's possible

  • Optional releaseNotes?: { string: string }

    Metadata: Localised release notes for this version

    • string: string
  • Optional resetRatings?: boolean

    Reset the summary rating when you release a new version of the application

  • runPrecheckBeforeSubmit: boolean

    Run precheck before submitting to app review

  • screenshotProcessingTimeout: any

    Timeout in seconds to wait before considering screenshot processing as failed, used to handle cases where uploads to the App Store are stuck in processing

  • Optional screenshotsPath?: string

    Path to the folder containing the screenshots

  • Optional secondaryCategory?: string

    Metadata: The english name of the secondary category (e.g. Business, Books)

  • Optional secondaryFirstSubCategory?: string

    Metadata: The english name of the secondary first sub category (e.g. Educational, Puzzle)

  • Optional secondarySecondSubCategory?: string

    Metadata: The english name of the secondary second sub category (e.g. Educational, Puzzle)

  • skipAppVersionUpdate: boolean

    Don’t create or update the app version that is being prepared for submission

  • skipBinaryUpload: boolean

    Skip uploading an ipa or pkg to App Store Connect

  • skipMetadata: boolean

    Don't upload the metadata (e.g. title, description). This will still upload screenshots

  • skipScreenshots: boolean

    Don't upload the screenshots

  • Optional submissionInformation?: { string: string }

    Extra information for the submission (e.g. compliance specifications, IDFA settings)

    • string: string
  • submitForReview: boolean

    Submit the new version for Review after uploading everything

  • Optional subtitle?: { string: string }

    Metadata: The localised app subtitle

    • string: string
  • Optional supportUrl?: { string: string }

    Metadata: Localised support url

    • string: string
  • syncScreenshots: boolean

    Sync screenshots with local ones. This is currently beta option so set true to 'FASTLANE_ENABLE_BETA_DELIVER_SYNC_SCREENSHOTS' environment variable as well

  • Optional teamId?: string

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional tradeRepresentativeContactInformation?: { string: string }

    DEPRECATED! This is no longer used by App Store Connect - Metadata: A hash containing the trade representative contact information

    • string: string
  • useLiveVersion: boolean

    Force usage of live version rather than edit version

  • Optional username?: string

    Your Apple ID Username

  • verifyOnly: boolean

    Verifies archive with App Store Connect without uploading

  • versionCheckWaitRetryLimit: any

    After submitting a new version, App Store Connect takes some time to recognize the new version and we must wait until it's available before attempting to upload metadata for it. There is a mechanism that will check if it's available and retry with an exponential backoff if it's not available yet. This option specifies how many times we should retry before giving up. Setting this to a value below 5 is not recommended and will likely cause failures. Increase this parameter when Apple servers seem to be degraded or slow

UploadToPlayStoreInternalAppSharingOptions

UploadToPlayStoreInternalAppSharingOptions: { aab?: string; aabPaths?: string[]; apk?: string; apkPaths?: string[]; jsonKey?: string; jsonKeyData?: string; packageName: string; rootUrl?: string; timeout?: any }

Shape for uploadToPlayStoreInternalAppSharing options argument

Type declaration

  • Optional aab?: string

    Path to the AAB file to upload

  • Optional aabPaths?: string[]

    An array of paths to AAB files to upload

  • Optional apk?: string

    Path to the APK file to upload

  • Optional apkPaths?: string[]

    An array of paths to APK files to upload

  • Optional jsonKey?: string

    The path to a file containing service account JSON, used to authenticate with Google

  • Optional jsonKeyData?: string

    The raw service account JSON data used to authenticate with Google

  • packageName: string

    The package name of the application to use

  • Optional rootUrl?: string

    Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/

  • Optional timeout?: any

    Timeout for read, open, and send (in seconds)

UploadToPlayStoreOptions

UploadToPlayStoreOptions: { aab?: string; aabPaths?: string[]; ackBundleInstallationWarning?: boolean; apk?: string; apkPaths?: string[]; changesNotSentForReview: boolean; checkSupersededTracks?: boolean; deactivateOnPromote?: boolean; inAppUpdatePriority?: any; issuer?: string; jsonKey?: string; jsonKeyData?: string; key?: string; mapping?: string; mappingPaths?: string[]; metadataPath?: string; obbMainFileSize?: any; obbMainReferencesVersion?: any; obbPatchFileSize?: any; obbPatchReferencesVersion?: any; packageName: string; releaseStatus?: string; rescueChangesNotSentForReview: boolean; rollout?: string; rootUrl?: string; skipUploadAab?: boolean; skipUploadApk?: boolean; skipUploadChangelogs?: boolean; skipUploadImages?: boolean; skipUploadMetadata?: boolean; skipUploadScreenshots?: boolean; syncImageUpload: boolean; timeout?: any; track: string; trackPromoteReleaseStatus?: string; trackPromoteTo?: string; validateOnly?: boolean; versionCode?: any; versionCodesToRetain?: string[]; versionName?: string }

Shape for uploadToPlayStore options argument

Type declaration

  • Optional aab?: string

    Path to the AAB file to upload

  • Optional aabPaths?: string[]

    An array of paths to AAB files to upload

  • Optional ackBundleInstallationWarning?: boolean

    Must be set to true if the bundle installation may trigger a warning on user devices (e.g can only be downloaded over wifi). Typically this is required for bundles over 150MB

  • Optional apk?: string

    Path to the APK file to upload

  • Optional apkPaths?: string[]

    An array of paths to APK files to upload

  • changesNotSentForReview: boolean

    Indicates that the changes in this edit will not be reviewed until they are explicitly sent for review from the Google Play Console UI

  • Optional checkSupersededTracks?: boolean

    DEPRECATED! Google Play does this automatically now - Check the other tracks for superseded versions and disable them

  • Optional deactivateOnPromote?: boolean

    DEPRECATED! Google Play does this automatically now - When promoting to a new track, deactivate the binary in the origin track

  • Optional inAppUpdatePriority?: any

    In-app update priority for all the newly added apks in the release. Can take values between [0,5]

  • Optional issuer?: string

    DEPRECATED! Use --json_key instead - The issuer of the p12 file (email address of the service account)

  • Optional jsonKey?: string

    The path to a file containing service account JSON, used to authenticate with Google

  • Optional jsonKeyData?: string

    The raw service account JSON data used to authenticate with Google

  • Optional key?: string

    DEPRECATED! Use --json_key instead - The p12 File used to authenticate with Google

  • Optional mapping?: string

    Path to the mapping file to upload (mapping.txt or native-debug-symbols.zip alike)

  • Optional mappingPaths?: string[]

    An array of paths to mapping files to upload (mapping.txt or native-debug-symbols.zip alike)

  • Optional metadataPath?: string

    Path to the directory containing the metadata files

  • Optional obbMainFileSize?: any

    Size of 'main' expansion file in bytes

  • Optional obbMainReferencesVersion?: any

    References version of 'main' expansion file

  • Optional obbPatchFileSize?: any

    Size of 'patch' expansion file in bytes

  • Optional obbPatchReferencesVersion?: any

    References version of 'patch' expansion file

  • packageName: string

    The package name of the application to use

  • Optional releaseStatus?: string

    Release status (used when uploading new apks/aabs) - valid values are completed, draft, halted, inProgress

  • rescueChangesNotSentForReview: boolean

    Catches changes_not_sent_for_review errors when an edit is committed and retries with the configuration that the error message recommended

  • Optional rollout?: string

    The percentage of the user fraction when uploading to the rollout track (setting to 1 will complete the rollout)

  • Optional rootUrl?: string

    Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/

  • Optional skipUploadAab?: boolean

    Whether to skip uploading AAB

  • Optional skipUploadApk?: boolean

    Whether to skip uploading APK

  • Optional skipUploadChangelogs?: boolean

    Whether to skip uploading changelogs

  • Optional skipUploadImages?: boolean

    Whether to skip uploading images, screenshots not included

  • Optional skipUploadMetadata?: boolean

    Whether to skip uploading metadata, changelogs not included

  • Optional skipUploadScreenshots?: boolean

    Whether to skip uploading SCREENSHOTS

  • syncImageUpload: boolean

    Whether to use sha256 comparison to skip upload of images and screenshots that are already in Play Store

  • Optional timeout?: any

    Timeout for read, open, and send (in seconds)

  • track: string

    The track of the application to use. The default available tracks are: production, beta, alpha, internal

  • Optional trackPromoteReleaseStatus?: string

    Promoted track release status (used when promoting a track) - valid values are completed, draft, halted, inProgress

  • Optional trackPromoteTo?: string

    The track to promote to. The default available tracks are: production, beta, alpha, internal

  • Optional validateOnly?: boolean

    Only validate changes with Google Play rather than actually publish

  • Optional versionCode?: any

    The versionCode for which to download the generated APK

  • Optional versionCodesToRetain?: string[]

    An array of version codes to retain when publishing a new APK

  • Optional versionName?: string

    Version name (used when uploading new apks/aabs) - defaults to 'versionName' in build.gradle or AndroidManifest.xml

UploadToTestflightOptions

UploadToTestflightOptions: { apiKey?: { string: string }; apiKeyPath?: string; appIdentifier?: string; appPlatform?: string; appVersion?: string; appleId?: string; betaAppDescription?: string; betaAppFeedbackEmail?: string; betaAppReviewInfo?: { string: string }; buildNumber?: string; changelog?: string; demoAccountRequired?: boolean; devPortalTeamId?: string; distributeExternal: any; distributeOnly: boolean; email?: string; expirePreviousBuilds: any; firstName?: string; groups?: string[]; ipa?: string; itcProvider?: string; lastName?: string; localizedAppInfo?: { string: string }; localizedBuildInfo?: { string: string }; notifyExternalTesters?: any; pkg?: string; rejectBuildWaitingForReview: any; skipSubmission: any; skipWaitingForBuildProcessing: any; submitBetaReview: boolean; teamId?: any; teamName?: string; testersFilePath?: string; updateBuildInfoOnUpload?: any; username?: string; usesNonExemptEncryption: boolean; waitForUploadedBuild?: any; waitProcessingInterval: any; waitProcessingTimeoutDuration?: any }

Shape for uploadToTestflight options argument

Type declaration

  • Optional apiKey?: { string: string }
    • string: string
  • Optional apiKeyPath?: string
  • Optional appIdentifier?: string

    The bundle identifier of the app to upload or manage testers (optional)

  • Optional appPlatform?: string

    The platform to use (optional)

  • Optional appVersion?: string

    The version number of the application build to distribute. If the version number is not specified, then the most recent build uploaded to TestFlight will be distributed. If specified, the most recent build for the version number will be distributed

  • Optional appleId?: string

    Apple ID property in the App Information section in App Store Connect

  • Optional betaAppDescription?: string

    Provide the 'Beta App Description' when uploading a new build

  • Optional betaAppFeedbackEmail?: string

    Provide the beta app email when uploading a new build

  • Optional betaAppReviewInfo?: { string: string }

    Beta app review information for contact info and demo account

    • string: string
  • Optional buildNumber?: string

    The build number of the application build to distribute. If the build number is not specified, the most recent build is distributed

  • Optional changelog?: string

    Provide the 'What to Test' text when uploading a new build

  • Optional demoAccountRequired?: boolean

    Do you need a demo account when Apple does review?

  • Optional devPortalTeamId?: string

    The short ID of your team in the developer portal, if you're in multiple teams. Different from your iTC team ID!

  • distributeExternal: any

    Should the build be distributed to external testers? If set to true, use of groups option is required

  • distributeOnly: boolean

    Distribute a previously uploaded build (equivalent to the fastlane pilot distribute command)

  • Optional email?: string

    The tester's email

  • expirePreviousBuilds: any

    Should expire previous builds?

  • Optional firstName?: string

    The tester's first name

  • Optional groups?: string[]

    Associate tester to one group or more by group name / group id. E.g. -g "Team 1","Team 2" This is required when distribute_external option is set to true or when we want to add a tester to one or more external testing groups

  • Optional ipa?: string

    Path to the ipa file to upload

  • Optional itcProvider?: string

    The provider short name to be used with the iTMSTransporter to identify your team. This value will override the automatically detected provider short name. To get provider short name run pathToXcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter -m provider -u 'USERNAME' -p 'PASSWORD' -account_type itunes_connect -v off. The short names of providers should be listed in the second column

  • Optional lastName?: string

    The tester's last name

  • Optional localizedAppInfo?: { string: string }

    Localized beta app test info for description, feedback email, marketing url, and privacy policy

    • string: string
  • Optional localizedBuildInfo?: { string: string }

    Localized beta app test info for what's new

    • string: string
  • Optional notifyExternalTesters?: any

    Should notify external testers? (Not setting a value will use App Store Connect's default which is to notify)

  • Optional pkg?: string

    Path to your pkg file

  • rejectBuildWaitingForReview: any

    Expire previous if it's 'waiting for review'

  • skipSubmission: any

    Skip the distributing action of pilot and only upload the ipa file

  • skipWaitingForBuildProcessing: any

    If set to true, the distribute_external option won't work and no build will be distributed to testers. (You might want to use this option if you are using this action on CI and have to pay for 'minutes used' on your CI plan). If set to true and a changelog is provided, it will partially wait for the build to appear on AppStore Connect so the changelog can be set, and skip the remaining processing steps

  • submitBetaReview: boolean

    Send the build for a beta review

  • Optional teamId?: any

    The ID of your App Store Connect team if you're in multiple teams

  • Optional teamName?: string

    The name of your App Store Connect team if you're in multiple teams

  • Optional testersFilePath?: string

    Path to a CSV file of testers

  • Optional updateBuildInfoOnUpload?: any

    DEPRECATED! Update build info immediately after validation. This is deprecated and will be removed in a future release. App Store Connect no longer supports setting build info until after build processing has completed, which is when build info is updated by default

  • Optional username?: string

    Your Apple ID Username

  • usesNonExemptEncryption: boolean

    Provide the 'Uses Non-Exempt Encryption' for export compliance. This is used if there is 'ITSAppUsesNonExemptEncryption' is not set in the Info.plist

  • Optional waitForUploadedBuild?: any

    DEPRECATED! No longer needed with the transition over to the App Store Connect API - Use version info from uploaded ipa file to determine what build to use for distribution. If set to false, latest processing or any latest build will be used

  • waitProcessingInterval: any

    Interval in seconds to wait for App Store Connect processing

  • Optional waitProcessingTimeoutDuration?: any

    Timeout duration in seconds to wait for App Store Connect processing. If set, after exceeding timeout duration, this will force stop to wait for App Store Connect processing and exit with exception

ValidatePlayStoreJsonKeyOptions

ValidatePlayStoreJsonKeyOptions: { jsonKey?: string; jsonKeyData?: string; rootUrl?: string; timeout?: any }

Shape for validatePlayStoreJsonKey options argument

Type declaration

  • Optional jsonKey?: string

    The path to a file containing service account JSON, used to authenticate with Google

  • Optional jsonKeyData?: string

    The raw service account JSON data used to authenticate with Google

  • Optional rootUrl?: string

    Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/

  • Optional timeout?: any

    Timeout for read, open, and send (in seconds)

VerifyBuildOptions

VerifyBuildOptions: { appName?: string; buildPath?: string; bundleIdentifier?: string; ipaPath?: string; provisioningType?: string; provisioningUuid?: string; teamIdentifier?: string; teamName?: string }

Shape for verifyBuild options argument

Type declaration

  • Optional appName?: string

    Required app name

  • Optional buildPath?: string

    Explicitly set the ipa, app or xcarchive path

  • Optional bundleIdentifier?: string

    Required bundle identifier

  • Optional ipaPath?: string

    Explicitly set the ipa path

  • Optional provisioningType?: string

    Required type of provisioning

  • Optional provisioningUuid?: string

    Required UUID of provisioning profile

  • Optional teamIdentifier?: string

    Required team identifier

  • Optional teamName?: string

    Required team name

VerifyPodKeysOptions

VerifyPodKeysOptions: {}

Shape for verifyPodKeys options argument

Type declaration

VerifyXcodeOptions

VerifyXcodeOptions: { xcodePath: string }

Shape for verifyXcode options argument

Type declaration

  • xcodePath: string

    The path to the Xcode installation to test

VersionBumpPodspecOptions

VersionBumpPodspecOptions: { bumpType: string; path: string; requireVariablePrefix: boolean; versionAppendix?: string; versionNumber?: string }

Shape for versionBumpPodspec options argument

Type declaration

  • bumpType: string

    The type of this version bump. Available: patch, minor, major

  • path: string

    You must specify the path to the podspec file to update

  • requireVariablePrefix: boolean

    true by default, this is used for non CocoaPods version bumps only

  • Optional versionAppendix?: string

    Change version appendix to a specific value. For example 1.4.14.4.1 -> 1.4.14.5

  • Optional versionNumber?: string

    Change to a specific version. This will replace the bump type value

VersionGetPodspecOptions

VersionGetPodspecOptions: { path: string; requireVariablePrefix: boolean }

Shape for versionGetPodspec options argument

Type declaration

  • path: string

    You must specify the path to the podspec file

  • requireVariablePrefix: boolean

    true by default, this is used for non CocoaPods version bumps only

XcarchiveOptions

XcarchiveOptions: {}

Shape for xcarchive options argument

Type declaration

XcbuildOptions

XcbuildOptions: {}

Shape for xcbuild options argument

Type declaration

XccleanOptions

XccleanOptions: {}

Shape for xcclean options argument

Type declaration

XcexportOptions

XcexportOptions: {}

Shape for xcexport options argument

Type declaration

XcodeInstallOptions

XcodeInstallOptions: { downloadRetryAttempts: any; teamId?: string; username: string; version: string }

Shape for xcodeInstall options argument

Type declaration

  • downloadRetryAttempts: any

    Number of times the download will be retried in case of failure

  • Optional teamId?: string

    The ID of your team if you're in multiple teams

  • username: string

    Your Apple ID Username

  • version: string

    The version number of the version of Xcode to install

XcodeSelectOptions

XcodeSelectOptions: {}

Shape for xcodeSelect options argument

Type declaration

XcodeServerGetAssetsOptions

XcodeServerGetAssetsOptions: { botName: string; host: string; integrationNumber?: any; keepAllAssets?: boolean; password?: string; targetFolder?: string; trustSelfSignedCerts?: boolean; username?: string }

Shape for xcodeServerGetAssets options argument

Type declaration

  • botName: string

    Name of the Bot to pull assets from

  • host: string

    IP Address/Hostname of Xcode Server

  • Optional integrationNumber?: any

    Optionally you can override which integration's assets should be downloaded. If not provided, the latest integration is used

  • Optional keepAllAssets?: boolean

    Whether to keep all assets or let the script delete everything except for the .xcarchive

  • Optional password?: string

    Password for your Xcode Server

  • Optional targetFolder?: string

    Relative path to a folder into which to download assets

  • Optional trustSelfSignedCerts?: boolean

    Whether to trust self-signed certs on your Xcode Server

  • Optional username?: string

    Username for your Xcode Server

XcodebuildOptions

XcodebuildOptions: {}

Shape for xcodebuild options argument

Type declaration

XcodesOptions

XcodesOptions: { binaryPath: string; selectForCurrentBuildOnly: boolean; updateList: boolean; version: string; xcodesArgs?: string }

Shape for xcodes options argument

Type declaration

  • binaryPath: string

    Where the xcodes binary lives on your system (full path)

  • selectForCurrentBuildOnly: boolean

    When true, it won't attempt to install an Xcode version, just find the installed Xcode version that best matches the passed version argument, and select it for the current build steps. It doesn't change the global Xcode version (e.g. via 'xcrun xcode-select'), which would require sudo permissions — when this option is true, this action doesn't require sudo permissions

  • updateList: boolean

    Whether the list of available Xcode versions should be updated before running the install command

  • version: string

    The version number of the version of Xcode to install. Defaults to the value specified in the .xcode-version file

  • Optional xcodesArgs?: string

    Pass in xcodes command line arguments directly. When present, other parameters are ignored and only this parameter is used to build the command to be executed

XcovOptions

XcovOptions: {}

Shape for xcov options argument

Type declaration

XctestOptions

XctestOptions: {}

Shape for xctest options argument

Type declaration

XctoolOptions

XctoolOptions: {}

Shape for xctool options argument

Type declaration

XcversionOptions

XcversionOptions: { version: string }

Shape for xcversion options argument

Type declaration

  • version: string

    The version of Xcode to select specified as a Gem::Version requirement string (e.g. '~> 7.1.0'). Defaults to the value specified in the .xcode-version file

ZipOptions

ZipOptions: { exclude?: string[]; include?: string[]; outputPath?: string; password?: string; path: string; symlinks?: boolean; verbose?: boolean }

Shape for zip options argument

Type declaration

  • Optional exclude?: string[]

    Array of paths or patterns to exclude

  • Optional include?: string[]

    Array of paths or patterns to include

  • Optional outputPath?: string

    The name of the resulting zip file

  • Optional password?: string

    Encrypt the contents of the zip archive using a password

  • path: string

    Path to the directory or file to be zipped

  • Optional symlinks?: boolean

    Store symbolic links as such in the zip archive

  • Optional verbose?: boolean

    Enable verbose output of zipped file

Functions

Const withFastlane

  • withFastlane(f: (fastlane: Fastlane) => Promise<any>, __namedParameters: { isInteractive: boolean; port: number }): Promise<any>
  • Parameters

    • f: (fastlane: Fastlane) => Promise<any>
        • Parameters

          Returns Promise<any>

    • __namedParameters: { isInteractive: boolean; port: number }
      • isInteractive: boolean
      • port: number

    Returns Promise<any>

Legend

  • Inherited constructor
  • Inherited method
  • Method

Generated using TypeDoc