A developer initiates a build or test activity in AWS CodePipelineby pushing a code change to AWS CodeCommit. 1 iOS CI/CD Build and Test Pipeline AWS Cloud AWS CodePipeline Step Functions SSM Run Command AWS Lambda AWS CodeCommit EC2 Mac Amazon S3 AWS Device Farm 2 3 4 Developer Git Push Build Script (build.sh) Build Artifact (*.ipa, *.zip) Amazon S3 Get Build Artifact AWS CodePipelinedetects the change in AWS CodeCommit and invokes AWS Step Functions tostart the build process. AnAWS Lambda function loads required build scripts from an Amazon Simple Storage Service (Amazon S3) bucket and triggers an AWS Systems Manager Run command. Build scripts initiate an iOS build on the Amazon EC2 Macinstance and put the build artifacts in an Amazon S3 bucket. The AWS Systems Manager Run command runs the build scripts on an Amazon EC2 Macinstance and sends run logs to Amazon CloudWatch. 5 AWS CodePipelinedetects the built artifacts in Amazon S3 and initiates AWS Device Farm for testing the app on multiple real devices. AWS Device Farm generates test results, logs, and recording for all tests for review through th