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: AmplifyTools/AmplifyXcode/README.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,11 @@ While debugging within Xcode, you might also find useful to invoke the executabl
54
54
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
55
55
in the *Arguments* tab.
56
56
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.**
58
62
59
63
### Dependencies
60
64
-[Apple Swift Argument Parser](https://github.com/apple/swift-argument-parser)
0 commit comments