From 490583445be38cf822b188123247eaf6f31d3ff2 Mon Sep 17 00:00:00 2001 From: Hansong Zhang Date: Tue, 23 Jul 2024 16:23:11 -0700 Subject: [PATCH] Update apple artifact branch version --- docs/source/apple-runtime.md | 4 ++-- .../ExecuTorchDemo/ExecuTorchDemo.xcodeproj/project.pbxproj | 2 +- .../demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj/project.pbxproj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/apple-runtime.md b/docs/source/apple-runtime.md index 17585639026..2378ddc2bd2 100644 --- a/docs/source/apple-runtime.md +++ b/docs/source/apple-runtime.md @@ -25,7 +25,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.2.1", 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.3.0", or just use the "latest" branch name for the latest stable build. ![](_static/img/swiftpm_xcode1.png) @@ -54,7 +54,7 @@ let package = Package( ], dependencies: [ // Use "latest" branch name for the latest stable build. - .package(url: "https://github.com/pytorch/executorch.git", .branch("0.2.1")) + .package(url: "https://github.com/pytorch/executorch.git", .branch("0.3.0")) ], targets: [ .target( diff --git a/examples/demo-apps/apple_ios/ExecuTorchDemo/ExecuTorchDemo.xcodeproj/project.pbxproj b/examples/demo-apps/apple_ios/ExecuTorchDemo/ExecuTorchDemo.xcodeproj/project.pbxproj index cbcb03a3b72..da75a09711b 100644 --- a/examples/demo-apps/apple_ios/ExecuTorchDemo/ExecuTorchDemo.xcodeproj/project.pbxproj +++ b/examples/demo-apps/apple_ios/ExecuTorchDemo/ExecuTorchDemo.xcodeproj/project.pbxproj @@ -791,7 +791,7 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/pytorch/executorch"; requirement = { - branch = latest; + branch = 0.3.0; kind = branch; }; }; diff --git a/examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj/project.pbxproj b/examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj/project.pbxproj index a0d031582f8..60597bc5605 100644 --- a/examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj/project.pbxproj +++ b/examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj/project.pbxproj @@ -1115,7 +1115,7 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/pytorch/executorch"; requirement = { - branch = latest; + branch = 0.3.0; kind = branch; }; };