Skip to content

Commit 4e3f552

Browse files
authored
Update Apple binaries pin and docs. (#8019)
* Update Apple binaries pin. * Update Aple binaries version in docs.
1 parent 81abdd2 commit 4e3f552

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed
1.27 KB
Loading

docs/source/apple-runtime.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The prebuilt ExecuTorch runtime, backend, and kernels are available as a [Swift
2525

2626
#### Xcode
2727

28-
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 in format "swiftpm-<version>", (e.g. "swiftpm-0.4.0"), or a branch name in format "swiftpm-<version>.<year_month_date>" (e.g. "swiftpm-0.4.0-20241201") for a nightly build on a specific date.
28+
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 in format "swiftpm-<version>", (e.g. "swiftpm-0.5.0"), or a branch name in format "swiftpm-<version>.<year_month_date>" (e.g. "swiftpm-0.5.0-20250130") for a nightly build on a specific date.
2929

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

@@ -58,7 +58,7 @@ let package = Package(
5858
],
5959
dependencies: [
6060
// Use "swiftpm-<version>.<year_month_day>" branch name for a nightly build.
61-
.package(url: "https://github.com/pytorch/executorch.git", branch: "swiftpm-0.4.0")
61+
.package(url: "https://github.com/pytorch/executorch.git", branch: "swiftpm-0.5.0")
6262
],
6363
targets: [
6464
.target(

examples/demo-apps/apple_ios/ExecuTorchDemo/ExecuTorchDemo.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@
806806
isa = XCRemoteSwiftPackageReference;
807807
repositoryURL = "https://github.com/pytorch/executorch";
808808
requirement = {
809-
branch = "swiftpm-0.4.0.20241120";
809+
branch = "swiftpm-0.5.0";
810810
kind = branch;
811811
};
812812
};

examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@
808808
isa = XCRemoteSwiftPackageReference;
809809
repositoryURL = "https://github.com/pytorch/executorch";
810810
requirement = {
811-
branch = "swiftpm-0.4.0.20241120";
811+
branch = "swiftpm-0.5.0";
812812
kind = branch;
813813
};
814814
};

examples/demo-apps/apple_ios/LLaMA/docs/delegates/mps_README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ sudo /Applications/CMake.app/Contents/bin/cmake-gui --install
7676
The prebuilt ExecuTorch runtime, backend, and kernels are available as a Swift PM package.
7777

7878
### Xcode
79-
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.
79+
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., “swiftpm-0.5.0”, or a branch name in format "swiftpm-<version>.<year_month_date>" (e.g. "swiftpm-0.5.0-20250130") for a nightly build on a specific date.
8080

8181
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.
8282

examples/demo-apps/apple_ios/LLaMA/docs/delegates/xnnpack_README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ While we recommended using the latest prebuilt package pre-configured with the X
127127

128128
Go to Project Navigator, click on LLaMA. `Project --> LLaMA --> Package Dependencies`, and update the package dependencies to any of the available options below:
129129

130-
- Branch --> swiftpm-0.4.0.20241120 (amend to match the latest nightly build)
131-
- Branch --> 0.4.0
132-
- Branch --> 0.3.0
130+
- Branch --> swiftpm-0.5.0.20250130 (amend to match the latest nightly build)
131+
- Branch --> swiftpm-0.5.0
132+
- Branch --> swiftpm-0.4.0
133133

134134
### 2.2 Manually build the package locally and link them
135135

examples/demo-apps/react-native/rnllama/ios/rnllama.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@
947947
isa = XCRemoteSwiftPackageReference;
948948
repositoryURL = "https://github.com/pytorch/executorch.git";
949949
requirement = {
950-
branch = "swiftpm-0.4.0.20241120";
950+
branch = "swiftpm-0.5.0";
951951
kind = branch;
952952
};
953953
};

extension/benchmark/apple/Benchmark/Frameworks/download_frameworks.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
VERSION="0.4.0.20241120"
8+
VERSION="0.5.0"
99
FRAMEWORKS=(
1010
"backend_coreml"
1111
"backend_mps"

0 commit comments

Comments
 (0)