Skip to content

Commit

Permalink
Bump branch version in docs. (#6306)
Browse files Browse the repository at this point in the history
Bump branch version in docs. (#6305)

Summary:
Pull Request resolved: #6305

.

Reviewed By: kirklandsign

Differential Revision: D64498415

fbshipit-source-id: c025681f95e7abd908881f24020d3d985e5e8e27
(cherry picked from commit e86cb3a)

Co-authored-by: Anthony Shoumikhin <shoumikhin@meta.com>
  • Loading branch information
pytorchbot and shoumikhin authored Oct 17, 2024
1 parent 7fedb2f commit a060791
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/apple-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The prebuilt ExecuTorch runtime, backend, and kernels are available as a [Swift

#### Xcode

In Xcode, go to `File > Add Package Dependencies`. Paste the URL of the [ExecuTorch repo](https://github.com/pytorch/executorch) into the search bar and select it. Make sure to change the branch name to the desired ExecuTorch version, e.g., "0.3.0", or just use the "latest" branch name for the latest stable build.
In Xcode, go to `File > Add Package Dependencies`. Paste the URL of the [ExecuTorch repo](https://github.com/pytorch/executorch) into the search bar and select it. Make sure to change the branch name to the desired ExecuTorch version, e.g., "0.4.0", or just use the "latest" branch name for the latest stable build.

![](_static/img/swiftpm_xcode1.png)

Expand Down Expand Up @@ -67,7 +67,7 @@ let package = Package(
],
dependencies: [
// Use "latest" branch name for the latest stable build.
.package(url: "https://github.com/pytorch/executorch.git", .branch("0.3.0"))
.package(url: "https://github.com/pytorch/executorch.git", .branch("0.4.0"))
],
targets: [
.target(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sudo /Applications/CMake.app/Contents/bin/cmake-gui --install
The prebuilt ExecuTorch runtime, backend, and kernels are available as a Swift PM package.

### Xcode
Open the project in Xcode.In Xcode, go to `File > Add Package Dependencies`. Paste the URL of the ExecuTorch repo into the search bar and select it. Make sure to change the branch name to the desired ExecuTorch version, e.g., “0.3.0”, or just use the “latest” branch name for the latest stable build.
Open the project in Xcode.In Xcode, go to `File > Add Package Dependencies`. Paste the URL of the ExecuTorch repo into the search bar and select it. Make sure to change the branch name to the desired ExecuTorch version, e.g., “0.4.0”, or just use the “latest” branch name for the latest stable build.

Note: If you're running into any issues related to package dependencies, quit Xcode entirely, delete the whole executorch repo, clean the caches by running the command below in terminal and clone the repo again.

Expand Down

0 comments on commit a060791

Please sign in to comment.