macOS
brew install objc-runlocal Homebrew formula metadata
安装
brew install objc-runlocal Homebrew formula metadata
概览
Use Objective-C files for shell script-like tasks
历史
objc-run is a shell script that compiles and executes Objective-C source files so they can be used for small macOS scripting-style tasks without creating an Xcode project. Its README describes it as suitable for jobs such as manipulating plist files and as similar to CodeRunner without a user interface.
The GitHub repository was created on 2014-01-03, with a short burst of activity through early 2014 and tags from 1.0 to 1.4. The repository metadata recorded the last push on 2014-02-10, making it a compact, stable script rather than a long-running framework.
The project wrapped the native Objective-C compiler flow behind a single executable and added two conveniences: shebang-style execution with `#!/usr/bin/env objc-run`, and CocoaPods integration by embedding a Podfile section inside a C comment in the Objective-C source file.
The GitHub repository metadata recorded 424 stars and 13 forks, which is meaningful for a single shell script in the Objective-C tooling niche. Homebrew core packaged version 1.4 as a macOS-only formula with one executable and recorded 31 installs over 365 days in the 2026-07-01 formula JSON.
A user runs `objc-run myfile.m arg1 arg2`; the script compiles `myfile.m` into a temporary application named after the source file, launches it with the remaining arguments, and removes the compiled output after execution. With a shebang line and executable bit, the `.m` file can be invoked directly from the terminal.
The CocoaPods feature made the script more useful for small Objective-C programs that wanted third-party libraries without a full project setup: the source file could include pod declarations between `podfile-start` and `podfile-end` markers.
objc-run is a small but telling package: it treats Objective-C as a shell-scripting language for Mac automation. For av.db, it belongs with developer conveniences that expose a platform compiler in one command rather than building a new language runtime or project template.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
objc-run | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/iljaiwas/objc-run
安装元数据
| 软件包键 | brew:objc-run |
|---|---|
| 版本 | 1.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/objc-run |
| 主页 | https://github.com/iljaiwas/objc-run |
| 仓库 | https://github.com/iljaiwas/objc-run |
| 上游文档 | https://github.com/iljaiwas/objc-run#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/iljaiwas/objc-run/archive/refs/tags/1.4.tar.gz |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | objc-run |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.