Skip to content

Commit

Permalink
chore: Update amplify-xcode release documentation (#3541)
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 committed Feb 26, 2024
1 parent 7ae55d1 commit 358699c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion AmplifyTools/AmplifyXcode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ While debugging within Xcode, you might also find useful to invoke the executabl
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
in the *Arguments* tab.

Running `swift build -c release --disable-sandbox` will generate a release executable located at `.build/release/amplify-xcode`.
### Release
Running `swift build -c release --arch x86_64 --disable-sandbox` will generate a release executable located at `.build/release/amplify-xcode`.
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.

**Note: The executable architecture is set to x86_64 to ensure compatibility with the Amplify CLI.**

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

0 comments on commit 358699c

Please sign in to comment.