Skip to content

Commit 358699c

Browse files
authored
chore: Update amplify-xcode release documentation (#3541)
1 parent 7ae55d1 commit 358699c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

AmplifyTools/AmplifyXcode/README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ While debugging within Xcode, you might also find useful to invoke the executabl
5454
In order to do so you can create a copy of the *amplify-xcode* scheme in the Xcode scheme editor (**Product > Scheme > edit Scheme**) and change the arguments passed to the executable on launch
5555
in the *Arguments* tab.
5656

57-
Running `swift build -c release --disable-sandbox` will generate a release executable located at `.build/release/amplify-xcode`.
57+
### Release
58+
Running `swift build -c release --arch x86_64 --disable-sandbox` will generate a release executable located at `.build/release/amplify-xcode`.
59+
This executable generated would need to be updated in the [amplify-cli](https://github.com/aws-amplify/amplify-cli/tree/dev/packages/amplify-frontend-ios/resources) repository. This would allow the Amplify CLI to use the latest version of the AmplifyXcode executable.
60+
61+
**Note: The executable architecture is set to x86_64 to ensure compatibility with the Amplify CLI.**
5862

5963
### Dependencies
6064
- [Apple Swift Argument Parser](https://github.com/apple/swift-argument-parser)

0 commit comments

Comments
 (0)