Skip to content

Commit 2aeabe7

Browse files
authored
chore(Swift): update visionOS support callout (#8045)
* chore(Swift): update visionOS support callout * worked on review comments * fix build error
1 parent c0f4ea3 commit 2aeabe7

File tree

8 files changed

+20
-36
lines changed

8 files changed

+20
-36
lines changed

src/fragments/lib/ios-prereq-category.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@ An application with Amplify libraries integrated and a minimum target of any of
33
- **macOS 10.15**, using **Xcode 14.1** or later.
44
- **tvOS 13.0**, using **Xcode 14.3** or later.
55
- **watchOS 9.0**, using **Xcode 14.3** or later.
6-
- **visionOS 1.0**, using **Xcode 15 beta 2** or later. (Preview support - see below for more details.)
6+
- **visionOS 1.0**, using **Xcode 15** or later. (Preview support - see below for more details.)
77

88
For a full example, please follow the [project setup walkthrough](/gen1/[platform]/start/project-setup/prerequisites/).
99

1010
<Callout>
1111

12-
visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch.
13-
As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis.
14-
15-
For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support).
12+
visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases).
13+
As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis.
1614

1715
</Callout>

src/pages/[platform]/build-a-backend/add-aws-services/analytics/set-up-analytics/index.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,12 @@ An application with Amplify libraries integrated and a minimum target of any of
3939
- **macOS 10.15**, using **Xcode 14.1** or later.
4040
- **tvOS 13.0**, using **Xcode 14.3** or later.
4141
- **watchOS 9.0**, using **Xcode 14.3** or later.
42-
- **visionOS 1.0**, using **Xcode 15 beta 2** or later. (Preview support - see below for more details.)
42+
- **visionOS 1.0**, using **Xcode 15** or later. (Preview support - see below for more details.)
4343

4444
<Callout>
4545

46-
visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch.
47-
As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis.
48-
49-
For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support).
46+
visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases).
47+
As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis.
5048

5149
</Callout>
5250
</InlineFilter>

src/pages/[platform]/build-a-backend/add-aws-services/geo/set-up-geo/index.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,8 @@ For a full example, please follow the [project setup walkthrough](/[platform]/st
164164

165165
<Callout>
166166

167-
visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch.
168-
As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis.
169-
170-
For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support).
167+
visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases).
168+
As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis.
171169

172170
</Callout>
173171

src/pages/[platform]/build-a-backend/add-aws-services/logging/set-up-logging/index.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,8 @@ For a full example, please follow the [mobile support walkthrough](/swift/start/
8282

8383
<Callout>
8484

85-
visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch.
86-
As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis.
87-
88-
For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support).
85+
visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases).
86+
As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis.
8987

9088
</Callout>
9189

src/pages/[platform]/build-a-backend/auth/customize-auth-lifecycle/custom-auth-flows/index.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@ An application with Amplify libraries integrated and a minimum target of any of
3333
- **macOS 10.15**, using **Xcode 14.1** or later.
3434
- **tvOS 13.0**, using **Xcode 14.3** or later.
3535
- **watchOS 9.0**, using **Xcode 14.3** or later.
36-
- **visionOS 1.0**, using **Xcode 15 beta 2** or later. (Preview support - see below for more details.)
36+
- **visionOS 1.0**, using **Xcode 15** or later. (Preview support - see below for more details.)
3737

3838
For a full example, please follow the [project setup walkthrough](/[platform]/start/quickstart/).
3939

4040
<Callout>
4141

42-
visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch.
43-
As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis.
44-
45-
For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support).
42+
visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases).
43+
As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis.
4644

4745
</Callout>
4846

src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -571,14 +571,12 @@ An application with Amplify libraries integrated and a minimum target of any of
571571
- **macOS 10.15**, using **Xcode 14.1** or later.
572572
- **tvOS 13.0**, using **Xcode 14.3** or later.
573573
- **watchOS 9.0**, using **Xcode 14.3** or later.
574-
- **visionOS 1.0**, using **Xcode 15 beta 2** or later. (Preview support - see below for more details.)
574+
- **visionOS 1.0**, using **Xcode 15** or later. (Preview support - see below for more details.)
575575

576-
<Callout info>
577-
578-
visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch.
579-
As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis.
576+
<Callout>
580577

581-
For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support).
578+
visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases).
579+
As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis.
582580

583581
</Callout>
584582
<Callout>

src/pages/[platform]/build-a-backend/auth/sign-in-with-web-ui/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,12 @@ RxAmplify.Auth.signInWithWebUI(this)
130130

131131
<Callout warning>
132132

133-
**Note:** Social sign-in (OAuth) functionality is only available in **iOS** and **macOS**.
133+
**Note:** Social sign-in (OAuth) functionality is only available in **iOS**, **macOS** and **visionOS**.
134134

135135
When configuring social sign-in, it's important to exercise caution when designating attributes as "required." Different social identity providers have varied scopes in terms of the information they respond back to Cognito with. User pool attributes that are initially set up as "required" cannot be changed later, and may require you to migrate the users or create a new user pool.
136136

137137
</Callout>
138138

139-
An application with a minimum target of **iOS 13.0** and/or **macOS 10.15** with Amplify libraries integrated, using **Xcode 14.1** or later.
140-
141139
For a full example, please follow the [project setup walkthrough](/[platform]/start/quickstart/).
142140

143141
<Callout>

src/pages/[platform]/build-a-backend/storage/set-up-storage/index.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,11 +404,9 @@ An application with Amplify libraries integrated and a minimum target of any of
404404
For a full example, please follow the [project setup walkthrough](/[platform]/start/quickstart/).
405405

406406
<Callout>
407-
{/* is the visionOS support callout relevant here? */}
408-
visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch.
409-
As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis.
410407

411-
For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support).
408+
visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases).
409+
As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis.
412410

413411
</Callout>
414412

0 commit comments

Comments
 (0)