Before we begin coding, there are a few things we need to install, update, and configure on your laptop.
In order to develop native applications for iOS, you need to have Xcode installed on your laptop. You can download and install Xcode from Apple’s App Store. The download is ~7Gb, so it might take up to one hour depending on your network connection.
You need different command line tools to be installed :
jq. To install and configure these, open a Terminal on your laptop and type the following commands:
Follow these instructions to install the prerequisites using HomeBrew package manager.
# install brew itself
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# install the AWS CLI
brew install awscli
# install the AWS Amplify CLI
curl -sL https://aws-amplify.github.io/amplify-cli/install | bash && $SHELL
# install jq
# required to import some data into our API and
# to automate local tasks, such as cleanup
brew install jq
If you already have one or several of these dependencies installed, just verify you have the latest version. Here are the versions we tested the workshop instructions with. Any more recent version should work as well.
# aws-cli/2.8.3 Python/3.10.8 Darwin/21.6.0 source/arm64 prompt/off
These commands will take a few minutes to finish.
To learn more about the tools we are instaling, you can follow the following links: