View a markdown version of this page

iOS CI/CD Build and Test Pipeline - iOS CI/CD Build and Test Pipeline

iOS CI/CD Build and Test Pipeline

Publication date: November 17, 2021 (Diagram history)

This architecture shows how to automate building and testing iOS apps by using Amazon API Gateway, Amazon Elastic Compute Cloud Mac instances, and AWS Device Farm.

iOS CI/CD Build and Test Pipeline

Architecture diagram showing an iOS CI/CD build and test pipeline by using Amazon API Gateway, Amazon Elastic Compute Cloud Mac instances, and AWS Device Farm.
  1. A developer initiates a build or test activity in Amazon API Gateway by pushing a code change to AWS CodeCommit.

  2. Amazon API Gateway detects the change in AWS CodeCommit and invokes AWS Step Functions to start the build process.

  3. An AWS Lambda function loads required build scripts from an Amazon Simple Storage Service bucket and triggers an AWS Systems Manager Run command.

  4. Build scripts initiate an iOS build on the Amazon Elastic Compute Cloud Mac instance and put the build artifacts in an Amazon S3 bucket.

  5. The AWS Systems Manager Run command runs the build scripts on an Amazon EC2 Mac instance and sends run logs to Amazon CloudWatch.

  6. Amazon API Gateway detects the built artifacts in Amazon S3 and starts AWS Device Farm to test the app on multiple real devices.

  7. AWS Device Farm generates test results, logs, and recordings. You can review them through the AWS Device Farm console or through Amazon S3 pre-signed URLs.

Further reading

For additional information, refer to

Diagram history

To be notified about updates to this reference architecture diagram, subscribe to the RSS feed.

ChangeDescriptionDate

Initial publication

Reference architecture diagram first published.

November 17, 2021

Note

To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.