<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: xenoci.com</title>
    <description>The latest articles on DEV Community by xenoci.com (@xenoci_com).</description>
    <link>https://dev.to/xenoci_com</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4269368%2F71b2d89b-dc31-4bb4-888d-e8ba3c402cf7.png</url>
      <title>DEV Community: xenoci.com</title>
      <link>https://dev.to/xenoci_com</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xenoci_com"/>
    <language>en</language>
    <item>
      <title>What is the most annoying step when shipping an iOS app from Linux?</title>
      <dc:creator>xenoci.com</dc:creator>
      <pubDate>Tue, 01 Dec 2026 20:18:20 +0000</pubDate>
      <link>https://dev.to/xenoci_com/what-is-the-most-annoying-step-when-shipping-an-ios-app-from-linux-2hjf</link>
      <guid>https://dev.to/xenoci_com/what-is-the-most-annoying-step-when-shipping-an-ios-app-from-linux-2hjf</guid>
      <description>&lt;p&gt;I build mobile apps on Linux and reach a different set of hurdles when it is time to ship for iOS. I am trying to understand which parts are hardest to make reliable: signing and provisioning across a team, checking a simulator build before TestFlight, keeping build numbers straight across branches, or preparing App Store screenshots and metadata. Is there another step that tends to cause trouble? What is the most time-consuming part for you, and how do you handle it today?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Claude Code on Windows can build your iOS app now: the loop, step by step</title>
      <dc:creator>xenoci.com</dc:creator>
      <pubDate>Tue, 01 Dec 2026 15:29:52 +0000</pubDate>
      <link>https://dev.to/xenoci_com/claude-code-on-windows-can-build-your-ios-app-now-the-loop-step-by-step-3lem</link>
      <guid>https://dev.to/xenoci_com/claude-code-on-windows-can-build-your-ios-app-now-the-loop-step-by-step-3lem</guid>
      <description>&lt;p&gt;If you write a SwiftUI, Flutter or Expo app on a Windows PC with Claude Code, Codex or Cursor, the agent usually gets stuck in the same place. It writes the screen, then it can't run &lt;code&gt;xcodebuild&lt;/code&gt;, can't open a Simulator, and can't see what it just broke. You end up being the one who carries errors between machines.&lt;/p&gt;

&lt;p&gt;Disclosure first: I'm Hyeonsu Ju and I work on XenoCI Box, the tool this post uses. Here is the loop it gives the agent on Windows, with the commands, so you can judge whether it fits your project.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Install from PowerShell
&lt;/h2&gt;

&lt;p&gt;The quickest route is to paste one line into the agent and let it follow the runbook:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Set up XenoCI Box with https://docs.xenoci.com/setup?ref=devto-win
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you'd rather do it by hand in PowerShell:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;npm&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt; &lt;span class="s2"&gt;"$HOME\.local"&lt;/span&gt; &lt;span class="nd"&gt;@xenoci&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;box&lt;/span&gt;
&lt;span class="nv"&gt;$env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="no"&gt;PATH&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"$HOME\.local;$env:PATH"&lt;/span&gt;
&lt;span class="n"&gt;box&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;version&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One Windows detail that trips agents: npm puts &lt;code&gt;box.cmd&lt;/code&gt; in &lt;code&gt;.local&lt;/code&gt; itself, not in &lt;code&gt;.local\bin&lt;/code&gt;, so the PATH line points there.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Sign in without leaving the terminal
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;box login&lt;/code&gt; prints a link with a code. You press Continue with GitHub once in the browser, and the terminal carries on. The agent never asks you for a token in the chat. &lt;code&gt;box setup&lt;/code&gt; then adds the box skill and MCP tools for Claude Code and Codex, so the agent knows when to call it.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Build: errors come back as your own file:line
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;box&lt;/span&gt; &lt;span class="n"&gt;build&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The project is uploaded (.gitignore respected, .env never sent) and built in Xcode on a real Mac. A failed build prints each error as &lt;code&gt;file:line:col&lt;/code&gt; with your local Windows path and the lines around it, so Claude Code opens the right file and fixes it without you pasting a log. The full log stays in &lt;code&gt;.box/out/&amp;lt;job&amp;gt;/&lt;/code&gt; if you want it.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Test: one line per failure, and why.txt
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;box&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tests run on a fresh simulator. You get a count and one line per failing test with its assertion message. When something fails, &lt;code&gt;box why&lt;/code&gt; names the failing file and line, the cause and a fix direction. Agents do better reading that one line first than scrolling the whole xcodebuild output.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. See the screen and drive the app
&lt;/h2&gt;

&lt;p&gt;This is the part I'd look at first if you're skeptical. A green build doesn't tell the agent the first screen is blank or a sheet never opens.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;box&lt;/span&gt; &lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;detach&lt;/span&gt;          &lt;span class="c1"&gt;# builds, installs, keeps the app open on a simulator&lt;/span&gt;
&lt;span class="n"&gt;box&lt;/span&gt; &lt;span class="n"&gt;ui&lt;/span&gt; &lt;span class="n"&gt;describe&lt;/span&gt;           &lt;span class="c1"&gt;# lists the elements: role, label, value, ref&lt;/span&gt;
&lt;span class="n"&gt;box&lt;/span&gt; &lt;span class="n"&gt;ui&lt;/span&gt; &lt;span class="n"&gt;tap&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="n"&gt;saveButton&lt;/span&gt;
&lt;span class="n"&gt;box&lt;/span&gt; &lt;span class="n"&gt;ui&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt; &lt;span class="s2"&gt;"Alex"&lt;/span&gt;
&lt;span class="n"&gt;box&lt;/span&gt; &lt;span class="n"&gt;ui&lt;/span&gt; &lt;span class="n"&gt;screen&lt;/span&gt; &lt;span class="n"&gt;after&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;png&lt;/span&gt;   &lt;span class="c1"&gt;# a picture the agent can read&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;box run&lt;/code&gt; keeps the app open, so the agent can walk a multi-step flow (open settings, change a field, save, check the next screen) instead of judging one still picture. &lt;code&gt;box stop&lt;/code&gt; closes the session.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Android too
&lt;/h2&gt;

&lt;p&gt;The same commands take &lt;code&gt;--platform android&lt;/code&gt; and run on an emulator, which matters if your Flutter or Expo app ships to both stores.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it doesn't do
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Simulators only, no physical iPhones. &lt;code&gt;box build --device-build&lt;/code&gt; makes an unsigned Release build you sign yourself.&lt;/li&gt;
&lt;li&gt;You can't pick the Xcode or iOS version.&lt;/li&gt;
&lt;li&gt;No team or organization accounts yet; you sign in with your personal GitHub account.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cost
&lt;/h2&gt;

&lt;p&gt;It's prepaid: iOS is $0.05 per started minute, Android $0.02. Your first GitHub sign-in adds a $10 credit, once per account, good for a year, so you can try it on your own project before deciding anything.&lt;/p&gt;

&lt;p&gt;If you try it from Windows and something in the PowerShell path breaks, I'd like to hear exactly where. The setup page your agent reads is &lt;a href="https://docs.xenoci.com/setup?ref=devto-win" rel="noopener noreferrer"&gt;https://docs.xenoci.com/setup?ref=devto-win&lt;/a&gt;&lt;/p&gt;

</description>
      <category>windows</category>
      <category>claudecode</category>
      <category>flutter</category>
      <category>ios</category>
    </item>
    <item>
      <title>Build and test an iOS app from Linux with Claude Code (no Mac on your desk)</title>
      <dc:creator>xenoci.com</dc:creator>
      <pubDate>Mon, 30 Nov 2026 03:09:51 +0000</pubDate>
      <link>https://dev.to/xenoci_com/build-and-test-an-ios-app-from-linux-with-claude-code-no-mac-on-your-desk-12kf</link>
      <guid>https://dev.to/xenoci_com/build-and-test-an-ios-app-from-linux-with-claude-code-no-mac-on-your-desk-12kf</guid>
      <description>&lt;p&gt;Update (Dec 1): the box CLI now runs natively on Windows, Linux, and macOS, so WSL is no longer needed. Set up XenoCI Box with &lt;a href="https://docs.xenoci.com/setup" rel="noopener noreferrer"&gt;https://docs.xenoci.com/setup&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: box is our product (IDEALAB), it is paid. Pricing is at the end, and every terminal block below is output box printed for a real run, copied from our docs.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This is a step-by-step walkthrough: from a Linux shell with Claude Code and no Xcode, to a SwiftUI app that has been built, tested and screenshotted on a real Mac. The app is &lt;strong&gt;Shelf&lt;/strong&gt;, a small reading tracker we use as our example project. It has a Library tab, a Settings tab and a few unit tests.&lt;/p&gt;

&lt;p&gt;By the end, Claude Code can do three things on its own: compile the app, run the tests, and look at the screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Windows, Linux, or macOS&lt;/li&gt;
&lt;li&gt;Claude Code&lt;/li&gt;
&lt;li&gt;A GitHub account, used to sign in&lt;/li&gt;
&lt;li&gt;An iOS project. Shelf is plain SwiftUI with an XcodeGen &lt;code&gt;project.yml&lt;/code&gt;, five Swift files and one test file&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: Install the CLI
&lt;/h2&gt;

&lt;p&gt;With Node:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i -g --prefix ~/.local @xenoci/box
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It prints the version and where it put the binary:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;box 0.1.46 installed at ~/.local/bin/box (API https://xenoci.com/api)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: &lt;code&gt;box login&lt;/code&gt;
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;box login
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A sign-in page opens with the code your terminal shows. Press Continue with GitHub and approve on GitHub's own page. box reads your email address only and gets no access to your repositories. Then the terminal carries on by itself and prints the account it signed in as. &lt;code&gt;box status&lt;/code&gt; shows your balance at any time.&lt;/p&gt;

&lt;p&gt;Your first sign-in with a GitHub account adds $10 of credit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Give Claude Code the box tools
&lt;/h2&gt;

&lt;p&gt;box is also an MCP server. Register it with Claude Code once:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add box -- box mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(&lt;code&gt;box setup&lt;/code&gt; does this for you, and also installs a short skill and a box section in &lt;code&gt;~/.claude/CLAUDE.md&lt;/code&gt; so the agent knows when to use it. Either works.)&lt;/p&gt;

&lt;p&gt;Now Claude Code has tools called &lt;code&gt;build&lt;/code&gt;, &lt;code&gt;test&lt;/code&gt;, &lt;code&gt;screenshot&lt;/code&gt;, &lt;code&gt;run&lt;/code&gt;, &lt;code&gt;debug&lt;/code&gt; and a few more. Each one runs as a job on a real Mac and returns text: the log, the test counts, the path of the picture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Ask Claude to build
&lt;/h2&gt;

&lt;p&gt;Open Claude Code in the project folder (the one with &lt;code&gt;project.yml&lt;/code&gt; or the &lt;code&gt;.xcodeproj&lt;/code&gt;) and say something like:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Build this app with box. If it does not compile, fix it and build again.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Under the hood that is &lt;code&gt;box build&lt;/code&gt;. box uploads only files that changed, respects &lt;code&gt;.gitignore&lt;/code&gt;, never sends &lt;code&gt;.env&lt;/code&gt;, and streams one line per step. Here is a first build of a small public example app, exactly as printed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;box: upload: 40 files checked, 37 new (48 KB), .gitignore respected, .env never sent (snapshot snap_U6yR_XryxDkXiZRz)
box: queue: job bj_7-3bV-glUcpaJYOu (build, ios, $0.05/min) submitted
box: status: running
box: machine: source unpacked
box: cache: first build of this project on its disk, so everything is built once
box: build: xcodebuild build
box: build: done in 9s
box: status: succeeded
box: results: saved to ./.box/out/bj_7-3bV-glUcpaJYOu/ (build.log, list.json)
box: bj_7-3bV-glUcpaJYOu succeeded, 60s billed, $0.05
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the build fails, each compile error comes back as &lt;code&gt;file:line:col&lt;/code&gt; with &lt;em&gt;your local path&lt;/em&gt; and the lines around it, and box exits with 1. That is what makes the loop work for an agent: it opens the file it already has, fixes the line, and runs the build again. The Mac keeps the project's build between jobs, so the next build only compiles what changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Ask Claude to run the tests
&lt;/h2&gt;

&lt;p&gt;Shelf's tests check the reading stats:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight swift"&gt;&lt;code&gt;&lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ReadingStatsTests&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;XCTestCase&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="nf"&gt;testWeeklyTotalCountsLastSevenDays&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;stats&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ReadingStats&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;minutesByDay&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;40&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dailyGoal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="nc"&gt;XCTAssertEqual&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;stats&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;weeklyTotal&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;160&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="nf"&gt;testStreakCountsDaysThatMetTheGoal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;stats&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ReadingStats&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;minutesByDay&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dailyGoal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="nc"&gt;XCTAssertEqual&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;stats&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;streak&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="nf"&gt;testStreakIsZeroWhenTodayMissedTheGoal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;stats&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ReadingStats&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;minutesByDay&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dailyGoal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="nc"&gt;XCTAssertEqual&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;stats&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;streak&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The prompt:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Run the tests with box and take a screenshot after they pass.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That becomes &lt;code&gt;box test --screenshot out.png&lt;/code&gt;. The tests and the picture run in one job, so it is one Mac job instead of two. This is the run for Shelf:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;box: test: running the tests on the simulator
box: status: succeeded
box: results: saved to ./.box/out/bj_HrUdpDTTNUz5Sfy0/ (destinations.txt, screen.png, test-summary.json, test.log, test.xcresult.zip)
box: tests 3 passed, 0 failed
box: bj_HrUdpDTTNUz5Sfy0 succeeded, 60s billed, $0.05
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And this is &lt;code&gt;out.png&lt;/code&gt;, what the iPhone simulator showed right after the three tests passed:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Floiq3miibkrduc1k7pv6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Floiq3miibkrduc1k7pv6.png" alt="Shelf on an iPhone simulator after its 3 tests passed: the Library screen with five books" width="789" height="1454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When a test fails, box prints the count, then each failing test with its assertion message, and exits with 1. Here is a failing run from a small demo app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;box: tests 1 passed, 1 failed
  FAIL BoxDemoTests/testCountStartsAtOne(): XCTAssertEqual failed: ("0") is not equal to ("1") - the counter should start at 1
box: bj_aDxtZUJUe0bpuoFx failed, 180s billed, $0.15
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent reads that line the same way it would read a local test failure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 6: Ask Claude to look at the screen
&lt;/h2&gt;

&lt;p&gt;"Tests pass" and "the screen looks right" are different claims. For the second one:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Take a screenshot of the first screen with box and tell me what you see.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is &lt;code&gt;box screenshot shot.png&lt;/code&gt;. For Shelf it printed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;box: queue: job bj_PIZNBlT6EAHfjB83 (screenshot, ios, $0.05/min) submitted
box: build: done in 3s
box: status: succeeded
box: bj_PIZNBlT6EAHfjB83 succeeded, 120s billed, $0.10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1db9hez2ocpic07yrrwy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1db9hez2ocpic07yrrwy.png" alt="Shelf's Library screen on an iPhone simulator: Good evening, Alex, and five books with reading progress" width="789" height="1454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Claude Code can read the PNG, so it can check the things a unit test will not catch: a progress bar that never fills, a title cut off, a list that is empty. Useful flags: &lt;code&gt;--dark&lt;/code&gt; for dark mode, &lt;code&gt;--locale ja&lt;/code&gt; (or &lt;code&gt;ko_KR&lt;/code&gt;, &lt;code&gt;ar&lt;/code&gt;) for another language, &lt;code&gt;--device "iPhone 17 Pro"&lt;/code&gt; for another simulator, and &lt;code&gt;--record&lt;/code&gt; to also save a video from launch to the picture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Going further
&lt;/h2&gt;

&lt;p&gt;Past the first screen, &lt;code&gt;box run&lt;/code&gt; keeps the app open on a simulator, and &lt;code&gt;box ui&lt;/code&gt; lets the agent tap, type and swipe to reach other screens, such as Shelf's Settings tab:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq7s5nsand4ij76srepnt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq7s5nsand4ij76srepnt.png" alt="Shelf's Settings screen: profile, daily goal stepper and reading reminders toggle" width="789" height="1454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;box debug --break File.swift:42&lt;/code&gt; launches the app under LLDB and prints the stack and variables at the breakpoint, as text the agent can read.&lt;/p&gt;

&lt;h2&gt;
  
  
  Exit codes the agent can trust
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;0&lt;/code&gt; ok&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;1&lt;/code&gt; the build or tests failed: fix the code and run again&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;2&lt;/code&gt; bad usage or a local problem&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;3&lt;/code&gt; box's side or the account: do not retry in a loop, tell the user&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Pricing
&lt;/h2&gt;

&lt;p&gt;$0.05 per started minute of build and test time; $10 credit on first GitHub sign-in, good for a year. Upload, time in the queue and machine start-up are not billed, and a job that fails because of us costs nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does not work yet
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Picking an Xcode or iOS version&lt;/li&gt;
&lt;li&gt;Physical iPhones (simulators only)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Setup and the full docs: &lt;a href="https://docs.xenoci.com/setup" rel="noopener noreferrer"&gt;https://docs.xenoci.com/setup&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you try this on your own app, tell me where Claude still got stuck. That is the list I am working through.&lt;/p&gt;




&lt;p&gt;Apple, Mac, macOS, iPhone, Xcode, Swift and SwiftUI are trademarks of Apple Inc., registered in the U.S. and other countries and regions. box is an independent service and is not affiliated with, sponsored or endorsed by Apple Inc.&lt;/p&gt;

</description>
      <category>ios</category>
      <category>ai</category>
      <category>swift</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Checking an AI-written iOS app from Linux or WSL: test log and Simulator screen in one command</title>
      <dc:creator>xenoci.com</dc:creator>
      <pubDate>Sun, 29 Nov 2026 03:15:56 +0000</pubDate>
      <link>https://dev.to/xenoci_com/checking-an-ai-written-ios-app-from-linux-or-wsl-test-log-and-simulator-screen-in-one-command-122</link>
      <guid>https://dev.to/xenoci_com/checking-an-ai-written-ios-app-from-linux-or-wsl-test-log-and-simulator-screen-in-one-command-122</guid>
      <description>&lt;p&gt;Update (Dec 1): the box CLI now runs natively on Windows, Linux, and macOS, so WSL is no longer needed. Set up XenoCI Box with &lt;a href="https://docs.xenoci.com/setup" rel="noopener noreferrer"&gt;https://docs.xenoci.com/setup&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you build an iPhone app with Claude Code, Codex or Cursor on Windows, Linux, or macOS, the agent can write Swift all day. What it cannot do is run &lt;code&gt;xcodebuild&lt;/code&gt;, so it never sees a compile error, a failing test, or what the screen actually looks like. You end up being the one who copies files to a friend's Mac, or who pushes and waits for CI to tell you the agent guessed wrong.&lt;/p&gt;

&lt;p&gt;Here is the loop I use instead, with the real output of one run.&lt;/p&gt;

&lt;h2&gt;
  
  
  One command, real output
&lt;/h2&gt;

&lt;p&gt;From the project folder, the agent (or you) runs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ box test --screenshot
box: checked 3 files
box: sync: 3 files, 0 new (0 bytes), snapshot snap_bavXbOuveVA3Ph3J
box: job bj_yuYzWnu-XY0_-m7p (test, ios, $0.05/min) submitted
box: status: queued
box: status: running
  ... the Xcode build and test log streams here ...
box: status: succeeded
box: tests 1 passed, 0 failed
box: saved ./.box/out/bj_yuYzWnu-XY0_-m7p/
box: bj_yuYzWnu-XY0_-m7p succeeded, 180s billed, $0.15
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The build and test log stream back into the same terminal, so the agent reads the compiler error the same way it would read a local one and fixes it. The screenshot lands in &lt;code&gt;./.box/out/&amp;lt;job&amp;gt;/screen.png&lt;/code&gt;. This is what one of those runs returned for a small habit tracker an agent wrote:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fesybtd7vyof00wzclaka.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fesybtd7vyof00wzclaka.png" alt="Simulator screen returned by box screenshot: a habit tracker Today view with a 3 of 4 ring and four habits" width="800" height="1739"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That picture is the part that changed how I work. "The tests pass" and "the screen looks right" are different claims, and an agent that can only do the first one will happily ship a ring that never fills.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the agent gets
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;box build&lt;/code&gt; and &lt;code&gt;box test&lt;/code&gt; on a real Mac, started from Windows, Linux, or macOS.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;box screenshot&lt;/code&gt; for the current Simulator screen, and a live view of the Simulator you can watch and tap in yourself while the agent works.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;box debug&lt;/code&gt; to launch the app under LLDB, stop at a breakpoint and print variables.&lt;/li&gt;
&lt;li&gt;It is also an MCP server and a skill, so in Claude Code the agent calls it directly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Setup is one line pasted into your agent. It installs the CLI and gives you a link to sign in with GitHub.&lt;/p&gt;

&lt;h2&gt;
  
  
  The other ways, fairly
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Actions macOS runner.&lt;/strong&gt; Works with any repo and you already have it. Each check is a push and a wait, and the agent usually only sees the log after the run, not a screen. GitHub lists a standard macOS runner at $0.062 per minute.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expo EAS Build.&lt;/strong&gt; The natural choice for Expo and React Native, it handles signing and store builds well. It builds, it does not give your agent a running Simulator to look at, and builds can sit in a queue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;xtool.&lt;/strong&gt; Open source, builds and installs SwiftPM apps from Linux, no Mac in the loop at all. Great if your app fits its model; you still have no Simulator screen to check.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A friend's Mac now and then.&lt;/strong&gt; Fine for a release, slow for the edit, build, look loop an agent runs dozens of times a day.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;box is for that inner loop: the agent changes code, runs one command, reads the log, looks at the screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Price, plainly
&lt;/h2&gt;

&lt;p&gt;$0.05 per started minute of build and test time. Upload, queue and Mac start are not billed, and a job that fails because of us costs nothing. Your first GitHub sign-in adds $10 of credit, about 200 minutes, so you can try it on your real app before paying anything.&lt;/p&gt;

&lt;p&gt;Start here: &lt;a href="https://docs.xenoci.com/setup" rel="noopener noreferrer"&gt;https://docs.xenoci.com/setup&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you try it, I would like to hear where the agent still got stuck. That is the list I am working through.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Apple, Mac and Xcode are trademarks of Apple Inc.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ios</category>
      <category>swift</category>
      <category>ai</category>
      <category>claudecode</category>
    </item>
    <item>
      <title>Letting a coding agent on Linux build, test and debug an iOS app</title>
      <dc:creator>xenoci.com</dc:creator>
      <pubDate>Fri, 27 Nov 2026 16:37:57 +0000</pubDate>
      <link>https://dev.to/xenoci_com/letting-a-coding-agent-on-linux-build-test-and-debug-an-ios-app-1c09</link>
      <guid>https://dev.to/xenoci_com/letting-a-coding-agent-on-linux-build-test-and-debug-an-ios-app-1c09</guid>
      <description>&lt;p&gt;Update (Dec 1): the box CLI now runs natively on Windows, Linux, and macOS, so WSL is no longer needed. Set up XenoCI Box with &lt;a href="https://docs.xenoci.com/setup" rel="noopener noreferrer"&gt;https://docs.xenoci.com/setup&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I run Claude Code and Codex on a Linux machine. For web and backend work that's fine. For iOS it breaks down fast: there's no Xcode on Linux, no simulator, so the agent writes Swift it can never compile, and I end up being the compiler, copying errors back and forth.&lt;/p&gt;

&lt;p&gt;I built a small tool for that, called box. This post is about what I learned making a remote Mac useful to an &lt;em&gt;agent&lt;/em&gt;, not to a human. (Disclosure: box is my product, it's paid, and the link is at the end.)&lt;/p&gt;

&lt;h2&gt;
  
  
  The loop the agent needs
&lt;/h2&gt;

&lt;p&gt;A human can scroll through a 2,000-line &lt;code&gt;xcodebuild&lt;/code&gt; log and find the one red line. An agent burns context doing that and often fixes the wrong thing. What worked better was making each build return something short and structured:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ box build
box: 1 compile error(s):
App/Module0.swift:2:19: cannot convert value of type 'String' to specified type 'Int'
      1 | import Foundation
&amp;gt;     2 | let broken: Int = "x"
      3 | struct Module0 {
box: bj_5WO8cgwGaPXkXTit failed, 60s billed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tests come back the same way, as a count plus files the agent can open:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ box test
box: tests 3 passed, 0 failed
box: saved ./.box/out/bj_f-P-JW-6hWjR-OnA/test-summary.json
box: saved ./.box/out/bj_f-P-JW-6hWjR-OnA/test.xcresult.zip
box: bj_f-P-JW-6hWjR-OnA succeeded, 180s billed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three things matter here:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The error points at the local path.&lt;/strong&gt; The build runs on a Mac, but the path in the error is the one in the agent's own checkout, so it can open the file directly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A few lines of context, not the whole log.&lt;/strong&gt; Enough to fix the line without another round trip.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The exit code means something.&lt;/strong&gt; Exit code 1 means "fix the code". The agent doesn't have to guess whether the failure was the infrastructure or its own Swift.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Only send what changed
&lt;/h2&gt;

&lt;p&gt;Each build sends only the files that changed (&lt;code&gt;sync: 65 files, 1 new (3240 bytes)&lt;/code&gt; after a one-line edit). The workspace and build cache stay on the Mac between jobs, so there's no cache step to write. On a 70-file SwiftUI app, the first build took 15.9s and the build after a one-line change took 10.8s, with compiling on the Mac going from 7s to 2s and 70 Swift files compiled down to 3.&lt;/p&gt;

&lt;h2&gt;
  
  
  Letting the agent see the app
&lt;/h2&gt;

&lt;p&gt;Compiling isn't the whole job. The agent also needs to look at what it built:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;box screenshot&lt;/code&gt; returns a PNG; &lt;code&gt;--dark --locale ar&lt;/code&gt; gives dark mode or another language, and &lt;code&gt;--record&lt;/code&gt; saves the run as &lt;code&gt;screen.mp4&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;box run &amp;amp;&amp;amp; box ui tap --label Add&lt;/code&gt; keeps the app open and taps, types, swipes or grabs the screen.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;box run&lt;/code&gt; also gives a live view of the simulator in the browser that only your GitHub account can open.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Breakpoints the agent can read
&lt;/h2&gt;

&lt;p&gt;The part I use most now is &lt;code&gt;box debug&lt;/code&gt;. It launches the app under LLDB on the Mac, taps through to the code if it needs to, and prints the stack and variables at every stop:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;$ box debug -b ContentView.swift:42
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent gets the stack and the variables as text and reads them itself, instead of guessing from print statements. You can print the variables you name, or every local. You can break on &lt;code&gt;File.swift:42&lt;/code&gt; or a function name, up to 10 of them. It's also exposed as an MCP tool, so the agent can call it without going through the shell.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;

&lt;p&gt;You paste one line into Claude Code, Codex or Cursor:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Set up box with https://xenoci.com/setup
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent installs the CLI and gives you a link to sign in with GitHub.&lt;/p&gt;

&lt;p&gt;Pricing: $0.05 per Mac minute (every started minute), prepaid in US dollars with $10 of credit to start, no subscription. Upload, queue and Mac start aren't billed, and a job that fails because of us costs nothing.&lt;/p&gt;

&lt;p&gt;Site: &lt;a href="https://xenoci.com" rel="noopener noreferrer"&gt;https://xenoci.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you do iOS work with agents, I'm curious what you'd want the agent to get back from the Mac that it can't today.&lt;/p&gt;

</description>
      <category>ios</category>
      <category>ai</category>
      <category>swift</category>
      <category>devtools</category>
    </item>
  </channel>
</rss>
