Code sign and export an iOS app

POST Parameters

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Must be set to NATIVE_BUILD_MAC_SIGN.
archive_location
Required
StringThe filesystem path of the signed archive file.
export_locationStringDefines the filesystem path to which the signed file is exported.
property_list_sourceStringDefines the source of the property_list used by the action. Available options: ACTION, GENERATED,PIPELINE_VOLUME.
property_listStringFilesystem path of the properties file or the list of properties separated by the newline character \n.
distribution_methodStringDefines the distribution method from one of the available: APP_STORE, ENTERPRISE, AD_HOC, DEVELOPMENT.
certificatesString[]The list of variables added to the iOS keychain.
provision_profilesString[]The list of variables added as iOS Provisioning Profiles.

Sample Request

POST https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/2/actions

JSON

{
  "name": "Sign and export",
  "type": "NATIVE_BUILD_MAC_SIGN",
  "trigger_time": "ON_EVERY_EXECUTION",
  "export_location": "myArchiveFile",
  "export_location": "/",
  "distribution_method": "APP_STORE",
  "property_list_source": "ACTION",
  "property_list": "list",
  "certificates": [
    "myCert"
  ],
  "provision_profiles": [
    "myProvisionProfile"
  ]
}

Sample Response

HTTP

Status: 201 Created
X-Rate-Limit-Limit: 1
X-Rate-Limit-Remaining: 999

JSON

{
  "url": "https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/2/actions/2",
  "html_url": "https://app.buddy.works/buddy/company-website/pipelines/action/2/edit",
  "id": 2,
  "name": "Sign and export",
  "type": "NATIVE_BUILD_MAC_SIGN",
  "trigger_time": "ON_EVERY_EXECUTION",
  "last_execution_status": "INITIAL",
  "export_location": "myArchiveFile",
  "export_location": "/",
  "distribution_method": "APP_STORE",
  "property_list_source": "ACTION",
  "property_list": "list",
  "certificates": [
    "myCert"
  ],
  "provision_profiles": [
    "myProvisionProfile"
  ],
  "pipeline": {
    "url": "https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/2",
    "html_url": "https://app.buddy.works/buddy/company-website/pipelines/pipeline/2",
    "id": 2,
    "name": "Live mirror",
    "on": "CLICK",
    "refs": [
      "refs/heads/master"
    ],
    "last_execution_status": "SUCCESSFUL",
    "last_execution_revision": "506a3963507943d6908154f4bc9646e829128a08"
  }
}

Last modified on November 16, 2022

Questions?

Not sure how to configure a pipeline for your process? Reach out on the live-chat or contact support

Get Started

Sign up for free and deploy your project in less than 10 minutes.