Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

447 B
Raw Blame
import { spawnSync } from "node:child_process";

/**
 * Whether Xcode's ibtool can compile Interface Builder sources on this host.
 * Command Line Tools install the /usr/bin/ibtool and xcrun shims without the
 * tool itself, so probe resolution instead of checking the shim path.
 */
export const xcodeIbtoolAvailable =
  process.platform === "darwin" &&
  spawnSync("/usr/bin/xcrun", ["--find", "ibtool"], { stdio: "ignore" })
    .status === 0;