Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit a95f24d

Browse files
authored
Update README.md (#959)
* Update README.md Add more info on how to install Cmake on macOS and how to resolve potential packages issue in Xcode. * Update README.md
1 parent 8dd61c8 commit a95f24d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ The following assumes you've completed the steps for [Setting up ExecuTorch](#se
367367
#### Requirements
368368
- [Xcode](https://apps.apple.com/us/app/xcode/id497799835?mt=12/) 15.0 or later
369369
- [Cmake](https://cmake.org/download/) 3.19 or later
370+
- Download and open the macOS `.dmg` installer and move the Cmake app to `/Applications` folder.
371+
- Install Cmake command line tools: `sudo /Applications/CMake.app/Contents/bin/cmake-gui --install`
370372
- A development provisioning profile with the [`increased-memory-limit`](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_kernel_increased-memory-limit) entitlement.
371373

372374

@@ -376,6 +378,15 @@ The following assumes you've completed the steps for [Setting up ExecuTorch](#se
376378
```bash
377379
open et-build/src/executorch/examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj
378380
```
381+
382+
> Note: If you're running into any issues related to package dependencies, close Xcode, clean some of the caches and/or the build products, and open the Xcode project again:
383+
> ```bash
384+
> rm -rf \
385+
> ~/Library/org.swift.swiftpm \
386+
> ~/Library/Caches/org.swift.swiftpm \
387+
> ~/Library/Caches/com.apple.dt.Xcode \
388+
> ~/Library/Developer/Xcode/DerivedData
389+
> ```
379390
2. Click the Play button to launch the app in the Simulator.
380391
381392
3. To run on a device, ensure you have it set up for development and a provisioning profile with the `increased-memory-limit` entitlement. Update the app's bundle identifier to match your provisioning profile with the required capability.

0 commit comments

Comments
 (0)