DEDUPED Hot AI repos, turned into use cases Get 5 a day

How to build an Xcode app in the simulator and check the result with DSH iOS

Have the agent build your project, launch it on a simulator, and report what the screen shows.

Authorization notice. DSH iOS is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forAn iOS developer who wants an agent to verify a code change in the running app without switching to Xcode.

The problemChecking each change means building, launching, and looking at the simulator by hand, which breaks focus during a coding session.

The outcomeThe agent builds the project, installs and launches it, and returns a screenshot and the visible UI tree for review.

What you need first

  • A Mac, since the README says the tools fail with an explanatory error on non-macOS hosts
  • DeepSeek Harness (DSH) installed, tested by the README with DSH 0.1.5-rc.1
  • The npm package @zseven-w/dsh-ios, current plugin release 0.1.0-rc.10
  • Xcode tooling for xcodebuild and simctl, which the build and simulator tools use
  • For a real iPhone: a USB connection, the device unlocked, and Apple Development signing for device builds

Steps

  1. Install the npm package @zseven-w/dsh-ios into DeepSeek Harness. (inferred, check the README)
  2. Call ios_sim_devices to list simulators and find the udid of the device you want.
  3. Call ios_sim_boot with the udid to boot the device and start the live panel.
  4. Call ios_sim_build_run with the projectPath of your .xcodeproj, .xcworkspace, or Swift package, and the scheme if needed.
  5. Call ios_sim_screenshot and ios_sim_ui_tree to confirm the expected screen is showing.

Prompt for your agent

Use the dsh-ios plugin from the ZSeven-W/dsh-ios repo to boot the simulator <udid>, build and run the project at <projectPath> with ios_sim_build_run, then call ios_sim_screenshot. Report the build result and the screenshot path. Verify that the build returned success before you report the screen.

Caveat. A full build takes minutes, and the README says the tools only work on a macOS host with serve-sim resolvable.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page