Code sign and export an iOS app
POST Parameters
Name | Type | Description |
---|---|---|
action Required | String | The ID of the action. |
type Required | String | The type of the action. Must be set to NATIVE_BUILD_MAC_SIGN . |
archive_location Required | String | The filesystem path of the signed archive file. |
export_location | String | Defines the filesystem path to which the signed file is exported. |
property_list_source | String | Defines the source of the property_list used by the action. Available options: ACTION , GENERATED ,PIPELINE_VOLUME . |
property_list | String | Filesystem path of the properties file or the list of properties separated by the newline character \n . |
distribution_method | String | Defines the distribution method from one of the available: APP_STORE , ENTERPRISE , AD_HOC , DEVELOPMENT . |
certificates | String[] | The list of variables added to the iOS keychain. |
provision_profiles | String[] | 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