1.7 KiB
1.7 KiB
⚠️ Deprecation notice
The build phase script provided by the Amplify/Tools
pod is no longer recommended. It's currently deprecated and it will be completely removed in a future release.
As of Amplify CLI release 4.40.0, the functionality provided by the amplify-tools.sh
is currently integrated with the Amplify CLI. iOS projects can leverage it without adding any extra dependencies or build phases. Here is a description on how this dependency was replaced with the Amplify CLI:
- When running
amplify init --quickstart --frontend ios
as described in the Getting Started guide, the relevant files are automatically added to the Xcode project. - When running
amplify codegen models
, the*.swift
files generated underamplify/generated/models/
are auto-added to the Xcode project in the group calledAmplifyModels
. Notes: - Xcode integration was added to the Amplify CLI on version
4.40.0
, so make sure you update your CLI to the latest version. - The "Run Amplify Tools" custom build phase script can be safely removed from existing projects.
Amplify Tools
The "Amplify Tools" aims to provide a seamless integration between Xcode and Amplify CLI. It installs the CLI and executes Amplify-related commands to make sure the iOS project has everything in place so developer can start using it right away.
See the iOS Getting Started for more details.