import ios0 from "/src/fragments/lib-v1/ios-spm.mdx";
3. Lastly, choose **AWSAPIPlugin** and **Amplify** and click **Add Package**.
To install the Amplify API to your application, **add `AmplifyPlugins/AWSAPIPlugin` to your `Podfile`**. Your `Podfile` should look similar to:
```ruby
target 'MyAmplifyApp' do
use_frameworks!
pod 'Amplify'
pod 'AmplifyPlugins/AWSAPIPlugin'
end
```
To install, download and resolve these pods, **execute the command**:
```ruby
pod install --repo-update
```
Now you can **open your project** by opening the `.xcworkspace` file using the following command:
```ruby
xed .
```