# 使用 Homebrew 安装 watch-sim

查看 watch-sim 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:watch-sim
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install watch-sim
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:watch-sim
- **软件包管理器:** Homebrew
- **版本:** 1.0.0
- **来源摘要:** Command-line WatchKit application launcher
- **主页:** <https://github.com/alloy/watch-sim>
- **仓库:** <https://github.com/alloy/watch-sim>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- watch-sim (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.0
## 项目历史与用法

watch-sim is a small command-line launcher for WatchKit applications in the iOS Simulator. It belongs to the early Apple Watch development era, when running a WatchKit app from scripts or outside Xcode required knowing how the paired iPhone and watch simulator pieces fit together.

### 项目历史

The upstream README describes watch-sim as a command-line WatchKit application launcher for the iOS Simulator and says it required an Xcode version with WatchKit support. At the time it was written, the tool had been used successfully with Xcode 6.2 beta 5 and Xcode 6.3 beta 1.

That places watch-sim in the 2015 WatchKit beta window. Apple released WatchKit with the iOS 8.2 and Xcode 6.2 betas in November 2014, and developers were still working through simulator and launch workflow issues during the Xcode 6.2 beta cycle.

### 采用历史

Public adoption evidence is thin, so watch-sim should be understood as a niche utility rather than a broad ecosystem tool. Its value was practical: early WatchKit developers wanted a command-line way to launch watch apps, especially for scripting, CI experiments, or avoiding repetitive Xcode simulator steps.

As Xcode and watchOS tooling matured, the need for a standalone WatchKit launcher narrowed. Apple's later watchOS transition documentation describes Xcode automatically creating schemes and launching separate Apple Watch and iOS simulators for watch app debugging, which reduced the space for one-off launcher helpers.

### 使用方式

The tool is used from the command line to launch a WatchKit app in the simulator after building it with an appropriate Xcode version. It is most relevant to old WatchKit projects and historical automation around Xcode 6-era simulator behavior.

For modern watchOS projects, developers normally use Xcode schemes, xcodebuild, and simctl-era workflows rather than watch-sim.

### 为什么软件包爱好者会关心

watch-sim is package-nerd significant mostly as a fossil from early Apple Watch tooling. It shows how package managers often preserve tiny developer workflow tools long after platform vendors fold the same workflow into official IDE or simulator commands.

### 时间线

- 2014-11: Apple released WatchKit with iOS 8.2 and Xcode 6.2 beta tooling for developers.
- 2015: watch-sim documented successful use with Xcode 6.2 beta 5 and Xcode 6.3 beta 1.
- Later watchOS tooling: Xcode gained more integrated watch app build, run, and debug behavior, making watch-sim a legacy niche utility.

### Related projects

- ios-sim is a related command-line launcher for iOS Simulator applications.
- xcrun simctl and Xcode schemes are the modern Apple-provided tooling around simulator installation and launch workflows.
- WatchKit and watchOS app targets are the Apple platform context for the tool.

### 来源

- <https://developer.apple.com/library/archive/documentation/General/Conceptual/AppleWatch2TransitionGuide/ConfiguretheXcodeProject.html>
- <https://formulae.brew.sh/formula/ios-sim>
- <https://github.com/alloy/watch-sim>
- <https://stackoverflow.com/questions/28597316/installing-a-watchkit-app-via-simctl>
- <https://www.macrumors.com/2014/11/18/apple-watchkit-ios-8-2/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/watch-sim.yml](https://github.com/mxcl/pkgdb/blob/main/combined/watch-sim.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
