You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/[platform]/start/platform-setup/index.mdx
+18-7Lines changed: 18 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,18 @@ export function getStaticProps(context) {
24
24
25
25
## iOS
26
26
27
-
Amplify requires a minimum deployment target of 13.0 and Xcode 15.0 or higher when targeting iOS.
27
+
Amplify requires a minimum deployment target of 13.0 and Xcode 15.0 or higher when targeting iOS. Follow the steps below to update the minimum deployment target.
28
28
29
-
From your project root, navigate to the `ios/` directory and open the `Podfile`in a text editor of your choice. At the top of the file, update the target iOS platform to 13.0 or higher.
29
+
Open `ios/Podfile`and update the target iOS platform to 13.0 or higher.
30
30
31
-
```bash
32
-
platform :ios, '13.0'
31
+
<Calloutinfo>
32
+
If there is no file located at `ios/Podfile`, add `amplify_flutter` to your `pubspec.yaml` and run `pub get`. This will automatically create the file.
33
+
</Callout>
34
+
35
+
```diff title="ios/Podfile"
36
+
- # Uncomment this line to define a global platform for your project
37
+
- # platform :ios, '12.0'
38
+
+ platform :ios, '13.0'
33
39
```
34
40
35
41
Open your project in Xcode and select Runner, Targets -> Runner and then the "General" tab. Under the "Minimum Deployments" section, update the iOS version to 13.0 or higher.
@@ -137,10 +143,15 @@ Amplify requires a minimum deployment target of 10.15 and Xcode 15.0 or higher w
137
143
138
144
### Update Minimum Version
139
145
140
-
From your project root, navigate to the `macos/` directory and open the `Podfile` in a text editor of your choice. Update the target macOS platform to 10.15 or higher.
146
+
Open `macos/Podfile` and update the target macOS platform to 10.15 or higher.
147
+
148
+
<Calloutinfo>
149
+
If there is no file located at `macos/Podfile`, add `amplify_flutter` to your `pubspec.yaml` and run `pub get`. This will automatically create the file.
150
+
</Callout>
141
151
142
-
```bash
143
-
platform :osx, '10.15'
152
+
```diff title="ios/Podfile"
153
+
- platform :osx, '10.14'
154
+
+ platform :osx, '10.15'
144
155
```
145
156
146
157
Open your project in Xcode and select Runner, Targets -> Runner and then the "General" tab. Under the "Minimum Deployments" section, update the macOS version to 10.15 or higher.
0 commit comments