79 comments

  • codazoda15 hours ago
    One down-side to this is that it does require you to run the agent on your Mac instead of in a Sandbox. I do this too and there are lots of problems I can&#x27;t solve in a sandbox. I know a lot of you are throwing your hands up at the years of security practices we&#x27;re throwing out the window when we do that.<p>The fact that xAI uploaded someone&#x27;s home directory, including their SSH keys, is giving me serious pause at my choices here.<p>Generally, I don&#x27;t worry about my machine being &quot;blown up&quot;. I don&#x27;t have a TON of unreproducible stuff on my machine. Everything is backed up, committed to git, and the like. I can restore most of it in a couple hours.<p>That said, I really, really don&#x27;t want my .SSH directory sent to an AI agent and it&#x27;s silly to prompt your way around that. You need to block it at the system level. I&#x27;m considering a separate user and then 700 permissions on my home directory.<p>I feel like we&#x27;re back to 1990&#x27;s security here. The double-edged sword is that it&#x27;s helping us get things done at a pace like never before.<p>I&#x27;m not throwing shade here, I&#x27;m among the guilty.
    • 999_cirno14 hours ago
      &gt; require you to run the agent on your Mac instead of in a Sandbox<p>You don&#x27;t have to! All recent Macs come with nearly zero perf cost virtualization. You can easily run Mac or Linux VMs assuming same architecture. Use it all the time for development and whatever.<p>Use Tart [1] or VirtualBuddy [2], both open-source, for a packaged solution. Or in the spirit of this post, vibe code your own wrapper around the OS API [3]<p>More recently, there are also Apple containers [4]<p>[1] <a href="https:&#x2F;&#x2F;tart.run&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tart.run&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;insidegui&#x2F;VirtualBuddy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;insidegui&#x2F;VirtualBuddy</a><p>[3] <a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;virtualization" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;virtualization</a><p>[4] <a href="https:&#x2F;&#x2F;github.com&#x2F;apple&#x2F;container" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;apple&#x2F;container</a>
      • DrewADesign11 hours ago
        &gt;&gt; I feel like we&#x27;re back to 1990&#x27;s security here.<p>&gt; vibe code your own wrapper around the OS API<p>Maybe stick with one of the existing projects? Throwing out all of the edge cases and hardening that went into a security-related project just to burn a bunch of resources to generate a worse one you have to maintain yourself is 90s-level security with 2026-level inefficiency, IMO.
        • 999_cirno11 hours ago
          Of course, if you&#x27;re not comfortable with reading or designing code, or don&#x27;t feel like tinkering, you can use an existing project and they work great<p>But it is to note that the OS APIs do the heavy lifting, the projects are just wrappers
          • DrewADesign11 hours ago
            Generally, assuming an RYO solution is a reasonable first approach is is a trap beginners fall into.
            • pmontra7 hours ago
              RYO is the best way to learn, if you have the time to learn. After building one own solution one is able to assess the strengths and weaknesses of what other more experienced people built. Without the learning phase those other solutions are incomprehensible black boxes. The trick is not to skip the phase in which one researches available solutions.
              • Someone7 hours ago
                &gt; RYO is the best way to learn, if you have the time to learn<p>The problem is that nowadays, people roll their own solution, don’t take the time to learn (somewhat understandably, given the complexity of today’s stuff. You simply cannot learn all details about your hardware, OS, and third-party libraries anymore) but immediately deploy things in production.<p>Eating your own dog food can be good, but for security related stuff, it can easily be disastrous.
                • brookst9 minutes ago
                  Honest question: is there anyone truly good at security who never made a potentially-disastrous dogfooding mistake while learning?<p>Not to decent mistakes or amateur brain surgery, but there has to be some level of risk tolerance among tinkerers.
            • 999_cirno10 hours ago
              Strong StackOverflow &quot;don&#x27;t do anything new, god forbid you may actually learn something&quot; vibes<p>On &quot;Hacker&quot; News of all places :)
              • ben_w10 hours ago
                &gt; don&#x27;t do anything new, god forbid you may actually learn something<p>vs<p>&gt; vibe code your own wrapper around the OS API
                • 999_cirno10 hours ago
                  In fact, I suggest reviewing the documentation to assess your own level:<p><a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;virtualization&#x2F;running-macos-in-a-virtual-machine-on-apple-silicon" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;virtualization&#x2F;run...</a><p>If the below sounds too complex to work with, can review more basics first. Can start with a Swift tutorial<p><pre><code> virtualMachine.start(completionHandler: { (result) in if case let .failure(error) = result { fatalError(&quot;Virtual machine failed to start with \(error)&quot;) } })</code></pre>
        • iririririr10 hours ago
          all community projects (specially the ones maintained or opensourced by model owners) will certainly have the security-convenience trade offs set all the way to convenience while advertising all the (off by default) security features
      • user439284 hours ago
        Does anyone actually use one of those for iOS development?<p>Linux VMs are not relevant here. For downloading Xcode and building apps, I believe one needs to sign in with their Apple account.<p>Does this work well with a macOS VM?
        • 999_cirno3 hours ago
          Yes! That is arguably the killer feature. You can virtualize macOS in macOS with (nearly) native speed and this is officially supported. Heck, even can run multiple of them at the same time.<p>See docs here: <a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;virtualization&#x2F;virtualize-macos-on-a-mac" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;virtualization&#x2F;vir...</a><p>And projects like Tart, VirtualBuddy, etc. provide convenient wrappers for these APIs.
          • fragmede3 hours ago
            The limit is two. You are not allowed to run more than two macOS VMs. Also Tart VMs have problems with signing into icloud and other things that need a real secureID enclave.
      • NamlchakKhandro7 hours ago
        &quot;Apple Containers&quot;<p>I love how people say this like Apple finally created a native solution...<p>They didn&#x27;t. It&#x27;s just a linux vm running normal docker engine.
        • 999_cirno6 hours ago
          &gt; It&#x27;s just a linux vm running normal docker engine<p>OCI compatible, but not docker<p><a href="https:&#x2F;&#x2F;github.com&#x2F;apple&#x2F;container&#x2F;blob&#x2F;main&#x2F;docs&#x2F;technical-overview.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;apple&#x2F;container&#x2F;blob&#x2F;main&#x2F;docs&#x2F;technical-...</a><p>Actually makes use of Virtualization.framework mentioned above.
        • sunnybeetroot7 hours ago
          How else do you want people to refer to Apple’s tool called container?
    • miki1232112 hours ago
      There&#x27;s a spectrum between a restrictive sandbox and full YOLO mode, may 2025 style.<p>You can have something like Claude&#x27;s auto approvals. You can poke specific holes in the sandbox (E.G. my Codex one can write to ~&#x2F;go, ~&#x2F;.cache and ~&#x2F;.cargo). You can have explicit deny rules that hard-deny and bypass the sandbox and auto-approval. You can allow certain commands to bypass sandbox execution entirely.<p>While those aren&#x27;t secure in theory (if you let a third party type prompts into the agent, they will likely be able to exfiltrate your data), they&#x27;re secure against agent carelessness and AI stupidity in practice.
    • justincormack4 hours ago
      Use Secretive so your ssh keys are stored in the secure enclave. Keeping private keys in files is the 1990s security…
      • MetaWhirledPeas7 minutes ago
        Genuine question: if the LLM possesses the ability to use Secretive to retrieve secrets are you not back to square 1? I&#x27;m not familiar with Secretive but if it&#x27;s just another way to store secrets that&#x27;s not enough. For proper security the LLM needs a black box intermediary to do anything privileged. I don&#x27;t know what that looks like in terms of software.<p>Or better yet it needs dead-end privileges with a system and data that doesn&#x27;t matter.
    • gwking14 hours ago
      I&#x27;ve been working on a wrapper harness that runs claude as a separate user named `agent`. I tried this about a year ago and couldn&#x27;t get it to work because of OAuth and the keychain, but took another pass recently and claude had enough self-knowledge about recent changes to say we could do it with CLAUDE_CODE_OAUTH_TOKEN. It has required building a some tooling around permissions setup with ACLs but it works on macOS today.<p>In terms of risk, I see it as halfway between stock claude with the sandbox and full-blown container or machine isolation.<p>I was recently thinking that as Claude&#x27;s own sandbox gets better I&#x27;m doubting the ROI on my belt-and-suspenders project, but your comment reminds me why I&#x27;m doing it.<p>It is not currently published open source but I&#x27;m happy to talk about it with strangers.
    • aetch8 hours ago
      They should’ve expected that using xAI
    • theredleft13 hours ago
      I run my AI headless in a docker container and give it access to git – it can only contribute code - when it needs a secret I put it in a docker container in vault. when it needs infra, it makes me a jira ticket. that&#x27;s my workflow.
      • saagarjha12 hours ago
        This is more challenging for macOS.
        • danielheath11 hours ago
          I&#x27;ve been doing it just fine on macOS for awhile now. What&#x27;s challenging about it?
          • mikodin10 hours ago
            I think particularly for iOS development. I was all in on sandboxed approaches...until I went to build an app, and now unfortunately convenience won
    • ghjnut14 hours ago
      I&#x27;ve been running my agents in a docker sandbox that automatically mounts the current directory. It&#x27;s been a bit of a pain to figure out and maintain the set of tools I provision into the sandbox- but it&#x27;s fun to watch codex go to the ends of the earth trying to figure out solutions using nodejs (the only runtime).
      • arianvanp13 hours ago
        okay but that doesn&#x27;t help a single bit with the OPs point. Your xcode tools do not run inside a docker container
    • pianopatrick14 hours ago
      You could move your SSH keys onto a password encrypted usb drive that you physically remove from the computer.
      • wrxd14 hours ago
        An alternative is to use ssh keys stored in the Secure Enclave with tools like <a href="https:&#x2F;&#x2F;secretive.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;secretive.dev&#x2F;</a>
        • pianopatrick14 hours ago
          Seems to me a tool like that would stop the agent from sending those specific keys elsewhere. But a tool like that would not stop the agent who is acting as you from using the SSH keys via the CLI. You would want to combine that with other tactics like having the agent run as some other user.
          • samhclark14 hours ago
            Secretive (and the similar built-in functionality [1]) both allow you to require TouchID too. I found an okay balance using two SSH keys: one for commit signing (w&#x2F;o TouchID) and one for everything else (requires TouchID, or PIN on Linux)<p>So, the actions that I really don&#x27;t want the agent to take (establishing an SSH connection, pushing to a git remote) always require my manual intervention.<p>[1] <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;arianvp&#x2F;5f59f1783e3eaf1a2d4cd8e952bb4acf" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;arianvp&#x2F;5f59f1783e3eaf1a2d4cd8e952bb...</a>
            • danielheath11 hours ago
              ... you&#x27;re getting the agent to sign commits for you without manual intervention?
    • 0xcrypto10 hours ago
      A question, how are you or anyone else doing this is registering bundle identifiers without opening xcode?
    • colechristensen14 hours ago
      Your sandbox can be a separate Mac user account.<p>You can also use native Mac VMs.<p>Many people have created Mac VM projects to do exactly this, I was working on one but was stalled too often because before I started using claude I bought a new laptop with what I KNEW was enough disk space.<p>The 100 GB or so I need to comfortably do the VM stuff just isn&#x27;t available on my mac.
    • fragmede14 hours ago
      On <i>a</i> Mac. Just get a Mac mini. It doesn&#x27;t have to be a crazy big beefy one, and if you&#x27;re selling apps, it&#x27;s a justifiable business expense.
    • LuD11615 hours ago
      [flagged]
  • kxxx16 hours ago
    I&#x27;ve been building and testing my iOS app just for fun via Linux only.<p>Surprisingly, it&#x27;s very easy. This works like a charm: <a href="https:&#x2F;&#x2F;github.com&#x2F;xtool-org&#x2F;xtool" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;xtool-org&#x2F;xtool</a><p>You do not need to upload to TestFlight or the App Store; you can just install the app locally to your iPhone via usb -- even from Linux!<p>When in doubt, just ask your coding agent of choice to help you create and upload a Hello World iOS app. It&#x27;s really easy.
    • sdicker16 hours ago
      I’ve been doing the same except that my linux installation is via WSL on Windows. I’ve been using sideloadly to move my IPA over to my phone. Works great.
    • timcobb13 hours ago
      Woah thanks for sharing will have to check this out.
    • mlrtime2 hours ago
      I&#x27;m not an ios developer so forgive me...<p>So you can develop ios apps, run it on a real iphone that is activated without going through app store as a native app? But, you have to reinstall it every week?
      • sdicker1 hour ago
        Yes, but you have to reinstall every week unless you have a paid developer account.
    • GaryBluto16 hours ago
      Does the iPhone need to remain tethered if it is transferred via USB?
      • drakythe15 hours ago
        Dev apps need to be re-loaded every week (or two?) last time I did sideloading. The idea behind a dev app, in Apple&#x27;s mind, is that it is for limited testing, so they have an expiration when not signed&#x2F;installed through the App store.
        • judge202011 hours ago
          That is specifically for apps installed with a personal signing certificate, when you haven&#x27;t paid for a developer account. If you pay the $99 program fee, you get 365 days of validity.
    • amelius14 hours ago
      Do the coding agents know about this tool?
      • Yiin13 hours ago
        just link it?
        • thephyber12 hours ago
          “Just link it” is like telling an intern to “use this program”. It will take a while (and each LLM user will burn tokens while learning).<p>This is the perfect use case for a skill: one person takes the hit to create the skill and then anyone else who wants the tool can use the skill.
  • CharlesW18 hours ago
    If it&#x27;s okay to mention my own complementary open source project, Axiom¹ does a good job of helping coding harnesses know how to do this effectively for Apple OS development.<p>In addition to a deep roster of skills and agencts, Axiom includes several for-LLM tools². <i>xclog</i>, <i>xcprof</i>, <i>xcsym</i>, and <i>xcui</i> are designed to be used by LLMs, and expose capabilities in a token-efficient way. These tools are equally helpful for non-Axiom skills&#x2F;agents.<p>¹ Axiom: <a href="https:&#x2F;&#x2F;charleswiltgen.github.io&#x2F;Axiom&#x2F;" rel="nofollow">https:&#x2F;&#x2F;charleswiltgen.github.io&#x2F;Axiom&#x2F;</a> ² Axiom CLI tools: <a href="https:&#x2F;&#x2F;charleswiltgen.github.io&#x2F;Axiom&#x2F;tools&#x2F;" rel="nofollow">https:&#x2F;&#x2F;charleswiltgen.github.io&#x2F;Axiom&#x2F;tools&#x2F;</a>
    • lprd14 hours ago
      Silly question, but do you reckon it&#x27;ll function decently in a Kotlin multiplatform codebase? There&#x27;s swift native code, but I&#x27;m not sure how it would perform with some logic being shared.
      • CharlesW14 hours ago
        Not silly at all. For Compose Multiplatform, Axiom won&#x27;t do much for code review or generation. It might be useful for operations on the built app: console capture, crash symbolication, simulator UI&#x2F;accessibility driving, CPU profiling, plus the whole shipping layer (signing, privacy manifests, submission).
    • semiquaver17 hours ago
      Axiom is excellent, thanks for making it!
      • CharlesW14 hours ago
        I&#x27;m glad that it&#x27;s been valuable for you!
    • smashah14 hours ago
      Use axiom all the time thanks for your work. The next frontier in iOS app tooling is self-hostable Linux based build server. Thoughts?
      • CharlesW14 hours ago
        Sounds very intriguing! Please reach out (see my profile) when you&#x27;re ready to share more.
    • zuzululu17 hours ago
      will it work with flutter ?
      • CharlesW16 hours ago
        Axiom covers only native APIs and tools, but the Flutter team maintains what looks like a nice set of skills at <a href="https:&#x2F;&#x2F;github.com&#x2F;flutter&#x2F;agent-plugins" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;flutter&#x2F;agent-plugins</a>, and the Dart team at <a href="https:&#x2F;&#x2F;github.com&#x2F;dart-lang&#x2F;skills" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dart-lang&#x2F;skills</a>.
  • Tiberium18 hours ago
    It&#x27;s kind of funny to be reading this:<p>&gt; I had Claude Code create mine: I told Claude, more or less: I want to archive, Developer ID-sign, notarize, staple, and install this app to &#x2F;Applications without ever opening Xcode. Write me a script that does the whole chain and fails loudly if any step breaks.<p>Even though the text we&#x27;re reading is Claude talking to us as well :)<p>Also it was weird to see the mention of &quot;ask your LLM&quot; at almost every stage in the blog post:<p>&gt; point Claude Code or your LLM coding tool of choice to this blog post, and let it figure it out<p>&gt; When in doubt, ask your LLM of choice about them and have it help you get set up. It’s the one that’s going to be using Xcode for you anyway.<p>&gt; The whole point of using the LLM in the first place is to avoid doing things manually that you don’t want to do.<p>&gt; Again, if in doubt, ask Claude Code or your LLM of choice to create this for you.<p>&gt; Again, this is why you talk to your LLM, tell it what you want, and have it help build your workflow.
    • ryandrake17 hours ago
      Claude telling us to point Claude to a web site written by Claude so that we can use Claude to create a build environment...
      • saw667 hours ago
        I wrote the post myself. But thanks for assuming. :)
      • ericol17 hours ago
        yo dawg
        • natpalmer177616 hours ago
          I heard you liked Claude, so I put extra Claude in your Claude so you can do more Claude.
          • lossyalgo14 hours ago
            I suppose it&#x27;s easier to turn everyone into unwitting tokenmaxxers than it is to raise prices again.
        • frollogaston10 hours ago
          Claudius Claudianus (aka Claudian)
      • theParadox4216 hours ago
        … that Claude can use, because Claude can’t use the XCode gui very efficiently.
      • carimura15 hours ago
        &quot;Claude was the only LLM to survive the LLM Wars.&quot;
      • throwaway61374615 hours ago
        [dead]
    • resonious7 hours ago
      &quot;This is the part where you think&#x2F;learn&quot; and &quot;this is the part where you just let the LLM figure it out&quot; is a fine format for advice nowadays I think.<p>I am getting a little tired of every single HN comment being about how the linked article is written by an LLM.
    • saw667 hours ago
      Claude didn&#x27;t write this post. I did.
    • hansvm7 hours ago
      &gt; Even though the text we&#x27;re reading is Claude talking to us as well :)<p>I&#x27;m not getting that vibe from this one; I&#x27;d bet money on it at least being substantially human edited. What are the tells you&#x27;re seeing?
    • quasarj14 hours ago
      The mistakes in the text made me doubt it was AI, but who knows, maybe it&#x27;s doing that on purpose now
      • ImaCake14 hours ago
        It seems too concise to be AI. My (conscious) heuristic for AI writing is how much context is squeezed into a sentence. LLMs seem to be pretty bad at the kind of elegant compression of meaning humans can do when they have done a lot of writing practice.<p>If I had to guess, I would say this is the <i>human summarised</i> conversation(s) with a bot.
        • saw667 hours ago
          It wasn&#x27;t Ai. It was me. I wrote it.
      • saw667 hours ago
        1) tell me what they were then, 2) It wasn&#x27;t AI. It was me
  • zm252921 minutes ago
    I mainly run the app from Xcode because it’s the easiest way to view the logs. If I build and install the app this way instead, what’s the best way to view the logs?
  • ChrisMarshallNY15 hours ago
    Technically, you are using Xcode.<p>Xcode is a [buggy as hell] GUI wrapper for a lot of system-level UNIX utilities and apps [which are generally, not so buggy].<p>Using CLI to release apps is a pretty old practice; at least as long as I&#x27;ve been doing it (I released my first Xcode app in 2012).
    • eschaton5 hours ago
      Xcode’s a lot more than a wrapper for UNIX utilities. For example, it has an entire build system. It doesn’t just invoke xcodebuild under the hood—and even if it did, xcodebuild uses the exact same code to build your projects as the IDE.<p>Most of the problems that I saw people have with Xcode over the two decades that I worked on it were the result of one fundamental problem: They wanted to work a different way than Xcode is designed to work, and jumped through a ton of hoops to do so, and then blamed Xcode for not accommodating their intentional working at cross-purposes.<p>A good example: An app that considered itself “large” because it had a thousand tiny static library targets each with only one to three or so ObjC classes. Far smaller than Xcode itself, but because they insisted on working that way—for no real articulable benefit besides “that’s how we want to work”—their project took hours to build from scratch instead of minutes like much larger projects that have many fewer targets.
      • ChrisMarshallNY4 hours ago
        Thanks for your service on Xcode.<p>In my experience, it’s quite “crashy.” It often locks up so bad, that I need to force-quit (or force-restart the Mac). I end up doing that once a day, or so. I suspect that many of the performance and stability issues, have to do with resource usage. It’s a damn big app.<p>It can also end up in strange states, where portions of the UI fall “out of sync,” and the app needs to be restarted. Some operations (like opening a storyboard, or stopping at a breakpoint) introduce <i>massive</i> delays.<p>It’s not a denigration, calling something a UI shell. I’m working on one, right now. The engine and backend were done in April (started in February), and all the work since, was on the UI shell. I probably could have shipped something that “ticked all the boxes,” in May. It’s almost done, but there’s still a couple of months of testing, ahead.
    • quasarj14 hours ago
      That&#x27;s good to hear. I never even tried to make anything for macOS because I opened Xcode and.. well, you know.
      • throwaway2194505 hours ago
        If you write Qt applications, Qt Creator is perfectly usable and as it&#x27;s cross-platform you only need to be familiar with one IDE. It ships with its own deploy command which packages the app. You still need to run code signing&#x2F;notarization last time I checked, but if the complaint is the XCode GUI then no problem there.
      • ChrisMarshallNY12 hours ago
        Nah. I usually use Xcode GUI, but there&#x27;s been a <i>lot</i> of discussion about using a CLI workflow, for many years. Should be easy to find.<p>Hope you like long argument lists. xcodebuild has a crazy long parameter list.<p><a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;xcode&#x2F;xcode-command-line-tool-reference" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;xcode&#x2F;xcode-comman...</a>
        • jamesfinlayson6 hours ago
          From my experience the CLI works but is not well documented.
          • ChrisMarshallNY3 hours ago
            They rely on manpages, but using CLI tools is old enough, that there’s been plenty of online discussion on the practice.<p>LLMs will often use CLI tools. In my experience, they loves their CLI.
    • saw667 hours ago
      Yes, I know that. But I am not using Xcode. Claude is. That&#x27;s the point.
  • pmarreck41 minutes ago
    The first Mac app I ever built, which was at least 6 months ago using only AI, was purely LLM without XCode at all.
  • octavore13 hours ago
    Shameless plug: I&#x27;ve been working on strudel [0], a CLI that uses a lot of the same ideas in this post and allows you to build&#x2F;sign&#x2F;notarize Mac (and iOS) apps without touching Xcode. It has a dry run mode so you can see the actual commands being run, which was important to me to have so there&#x27;s no mystery about what&#x27;s happening.<p>I should blog about more this, but I also went to some effort to add support free iOS provisioning with just an Apple ID (using internal APIs); and creating a nice DMGs for macOS app distribution (reverse engineered .DS_store files for this). And there&#x27;s also a built-in command to install skills for coding agents, which was fun.<p>This [1] is an example app I built with it, a simple utility to manage macOS file extension handling.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;octavore&#x2F;strudel" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;octavore&#x2F;strudel</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;octavore&#x2F;tots.app" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;octavore&#x2F;tots.app</a>
  • searls9 hours ago
    I&#x27;ve been using agents to develop Mac and iOS apps for over a year now and I would say this post is bad advice, particularly because the excellent Xcode MCP requires Xcode to be running. The MCP tool gives you faster, better access to a number of functions for which xcodebuild is much slower and much chattier and a number of others (like the #Preview generation and rendering) that aren&#x27;t possible at all while Xcode is closed. Also, in Xcode 27, the MCP &amp; built-in agents are able to drive simulators with DeviceHub extremely well. (If you haven&#x27;t been following, DeviceHub replaces Simulator.app and as far as I can tell, it&#x27;s actually scrutable by agents without relying on hacking at the accessibility APIs with tools like axe.)<p>Xcode MCP is not perfect, by any stretch (stupidly, it issues a permission prompt on every single agent launch—something I defeated with a Keyboard Maestro hack to auto-accept it), but Xcode 27 is such a huge leap forward in the ergonomics of vibe coding with Xcode that I&#x27;ve actually stopped dealing with the MCP and (after an afternoon of futzing) have started using the app&#x27;s own agent UI for driving Codex because that harness better steers the model to take advantage of the tools available.<p>All of this redounds to two things: faster feedback and more robust verification. The two things that matter most.
    • dostick8 hours ago
      There’s Xcode-mcp-proxy that proxies Xcode’s mcp and adds clicking dialog and reconnects. How do you deal with macOS app testing? Do you use Peekaboo or plain screenshotting automation?
      • sunnybeetroot7 hours ago
        Can you link it? Quick google search didn’t reveal it
        • dostick5 hours ago
          Gave the wrong name, this is it- <a href="https:&#x2F;&#x2F;github.com&#x2F;lynnswap&#x2F;XcodeMCPKit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lynnswap&#x2F;XcodeMCPKit</a>
    • leo1508 hours ago
      I would suggest trying out xcode mcp by Sentry, it’s much more comprehensive and doesn’t need running Xcode
  • WhitneyLand13 hours ago
    Everyone will still need to use Xcode for at least some debugging, no way around that.<p>As for the builds, your agent probably already knows how to do a lot of this from the command line, although explicit suggestions can help it build faster for different situations.<p>As for XcodeGen, you may find it unnecessary overhead if you&#x27;re already using Xcode file system synced groups.<p>For iOS my biggest suggestion would be to enable App Store Connect skills for your agent (<a href="https:&#x2F;&#x2F;github.com&#x2F;rorkai&#x2F;App-Store-Connect-CLI" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rorkai&#x2F;App-Store-Connect-CLI</a>).<p>With this not only do you not need Xcode all the time, you also don&#x27;t even need to be near a MacBook.<p>Just make changes via Codex on your iPhone, the tell asc to build and upload to TestFlight, download and run the new version, iterate.
    • bobthebob10 hours ago
      I’m chiming in here to say I did pretty much build an entire iOS app with agents, and it launched it on the App Store for me, along with a social push.<p>I only used Xcode to preview the builds on my device and then guide the prompts more
      • saw667 hours ago
        Thank you. I don&#x27;t understand why this is so controversial (and why everything thinks Claude wrote my post).
    • dostick5 hours ago
      There’s complete lldb debugging for Swift as plugin for VSCode.
  • mvkel16 hours ago
    In my experience, the better long-term choice if you&#x27;re going to vibe code an app is to use Expo.<p>Its basis is React, so the code output quality is much higher than Swift because there is much more React code in LLM training data.<p>Everything is in the command line, and debugging is a breeze because it&#x27;s a web view. But once it&#x27;s compiled to native iOS, it feels like any other native app.<p>Expo + Fastlane = fully automated iOS submission and deployment. I issue one command and see a new version in the App Store.
    • hetspookjee16 hours ago
      Some parts when creating a new app cannot be automated right? Eg registering the app itself for example.
      • fragmede14 hours ago
        You can have your AI agent use computer-use to click around on in a browser open on developer.apple.com if that&#x27;s counts as automated to you.
    • esafak14 hours ago
      This one?? <a href="https:&#x2F;&#x2F;expo.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;expo.dev&#x2F;</a><p><pre><code> Our code broke It looks like there was an error we need to look at. Sorry about the inconvenience.</code></pre>
      • cobbzilla13 hours ago
        HN hug of death? seems to be back now.<p>fwiw, expo seems solid; the uptime of expo.dev won&#x27;t affect an app built with it.
  • gen2brain5 hours ago
    I have a nice setup on my Linux for iOS apps. I compiled the OSXCross toolchain, and also copied iPhoneOS.sdk and iPhoneSimulator.sdk from the macOS VM. With some wrappers, I can compile iOS apps (Obj-C) on my Linux machine, sign them with zsign, and use go-ios to install them on the device.<p>At first, I just used simulator builds to test (and debug) on the macOS VM, in the simulator, but that was slow and painful. Finally, I bought a used iPhone, all bruised, just so I could test it on a real device. The main issue for me was signing, one cannot register a macOS VM (maybe with some kext hacks?), I managed to enable developer mode on the phone (crazy process, but it worked with Xcode in a VM), I registered the phone on the website, and paid those damn 99$.<p>I used that for my cross-platform UI library with native controls, based on IUP. Now, future users of the UI toolkit do not need to care about Mac, iOS, or tooling; it just works. You can check the toolkit (WIP) here <a href="https:&#x2F;&#x2F;github.com&#x2F;gen2brain&#x2F;iup-go" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gen2brain&#x2F;iup-go</a> .
  • dvduval12 hours ago
    What continues to bother me is just that developers who don’t have the budget are pretty much pushed out of iOS development because they can’t afford a Mac. And every time that Apple increases the price of their products, more people are blocked from being able to develop on them.
    • eschaton5 hours ago
      It’s not really that onerous for a platform to require that, to develop for it, you need to actually take part in it. For Apple platforms that means becoming a Mac user. For IBM i and z that also means getting substantial hardware or paying for accounts and licenses (once you want to go beyond learning).<p>You can develop for Linux and BSD and Haiku and all sorts of other platforms for free. If the cost is what matters to you, then just do that. If you’re doing it as a business, though, consider that you’re extremely lucky to be able to just buy a low-end device and a low-end system and that’s all the capital investment needed (plus the US$100&#x2F;year membership as recurring opex).
    • geraneum8 hours ago
      People not having access to tech is bothersome, but nowadays Apple offers affordable machines compared to the same&#x2F;worse specs from competitors. For example a MacBook Air with Apple Silicon and a moderate amount of memory.
      • MindSpunk6 hours ago
        Why should you need a Mac to build for iOS at all? What makes Apple so special here? Cross-compilation toolchains aren&#x27;t forbidden alien technology.<p>Forcing people onto Macs is such a pathetic way of extracting rent from developers and makes workflows worse. No you can&#x27;t just build and debug your app from your Windows or Linux workstation because we want you to buy hardware you don&#x27;t need. Sorry we only support Xcode on the latest version of MacOS, how else will your build machine roll out of the OS support window and make you replace a functioning machine?<p>It&#x27;s especially nice when you work on projects that aren&#x27;t iOS&#x2F;Apple native and you don&#x27;t get Mac workstations. You end up with this wonderful mess of shared machines and half assed tools because you just need the bare minimum to push a build to a phone.
        • eschaton5 hours ago
          Because it would cost Apple a substantial amount of money to make it possible to build your code for iOS on other platforms in any sort of supported fashion. So all the stuff they invest very substantial amounts of money into creating and maintaining are only going to be licensed for use on the hardware they sell under the latest operating system it runs. Asking for more is asking them to spend more money without any evidence of a commensurate return.<p>If you can produce a properly structured submission to the App Store ingestion pipeline without using a Mac, then I doubt Apple will care. But that doesn’t mean they’re obligated to help you, and especially not to spend millions of dollars to do so.
          • MindSpunk5 hours ago
            The Apple developer terms of service require all app submissions to come from a Mac.<p>Apple could&#x27;ve chosen to offer no tools and leave it to the community to build their own. I think that&#x27;s reasonable. I don&#x27;t expect Microsoft to bring MSVC to Linux.<p>But Apple take the explicit position that you <i>must</i> purchase a Mac in order to ship apps for iOS.
            • eschaton5 hours ago
              Oh no. The horror. How terrible.
        • geraneum5 hours ago
          I don&#x27;t disagree with you, but we&#x27;re talking about affordability which is a different topic.<p>&gt; It&#x27;s especially nice when you work on projects that aren&#x27;t iOS&#x2F;Apple native and you don&#x27;t get Mac workstations.<p>If you develop natively for macOS, then you probably need the OS for it. It&#x27;s the same for Linux and Windows. But building is not the biggest hurdle because you can build in your usage-based-billed&#x2F;free CI as well the same way you do for other platforms.<p>For complete native development (system APIs, OS interactions, native UI) against macOS&#x2F;iOS on PC, Apple needs to open those OSes for PCs&#x2F;Pixels&#x2F;Samsungs&#x2F;etc. This is a software issue, not hardware. Otherwise Apple silicon Macs are less restrictive than PC hardware in general!
          • MindSpunk5 hours ago
            I&#x27;m not really sure how any machine is more affordable than the $0 it should cost because you shouldn&#x27;t need a Mac. It&#x27;s absolutely true that you can get by with a base spec Mac Mini, but often you can&#x27;t with bigger projects and the cost skyrockets because Apple prices memory like kidneys (current market conditions aside, they&#x27;ve always done it).<p>I have nothing against the hardware. I despise how artificial the problem is. It&#x27;s not even like Apple just refuse to provide tools and leave it up to the community. They force you to use a Mac in the terms of service.<p>For context I work on the mobile team for a large AAA game engine. This is going to colour my opinion because we&#x27;re very Windows centric, but my experience wouldn&#x27;t exist if it weren&#x27;t for Apple. I need to sync code on two different machines and build half the project on Windows and the other half on the Mac. If we could just build and debug the iPhone on Windows none of this mess would be needed.<p>We don&#x27;t develop for MacOS, we develop for iOS. Just debugging the app requires several hoops across multiple machines because of Apple&#x27;s policy here. Just because a base spec Mac Mini is cheap doesn&#x27;t make this whole problem any less stupid. I don&#x27;t need a vendor&#x27;s special-sauce computer to build for consoles. Cross compilation and remote debugging has existed for decades, this problem should not exist.<p>Calling it more affordable because Mac Minis aren&#x27;t junk anymore is really just accepting Apple&#x27;s ridiculous requirement because &quot;I guess it could be worse right?&quot;.
            • geraneum3 hours ago
              &gt; I don&#x27;t need a vendor&#x27;s special-sauce computer to build for consoles.<p>This is ironic. Of course you do. You&#x27;re already using it. You just happen to like the Microsoft&#x27;s walled garden and not Apples. That&#x27;s fine, but let&#x27;s not pretend that &quot;Windows centric&quot; is anything but another monopolistic and exclusionary ecosystem. If you want to use Nvidia drivers, or develop against DirectX, can you do it on a macOS? I get the criticism of Apple&#x27;s walled garden and I&#x27;m against it too, but not from your position.
  • mrbombastic18 hours ago
    This is cool but also makes me worried about the tendency with llms for all of us to make bespoke solutions rather than building a better community tool or extending an existing tool to solve the problem. fastlane exists to solve exactly this problem in the mobile space.
    • ryandrake17 hours ago
      Also, shell scripts as part of a build are usually a little worrying. I&#x27;d at least want the build steps to be all integrated into my Makefile or CMakeLists.txt
    • doug_durham17 hours ago
      The llm is the better community tool. The important change is that you don&#x27;t have to settle with someone developing a monolithic tool that happens to do what you need it to do. That was the way things used to need to be done because of the cost.
    • vl17 hours ago
      Bespoke solutions are better in many cases. They do exact things required for the project without taking extra dependency. Reducing dependencies is beneficial, because dependencies require management. So with llms economy of taking dependency shifted.
      • mrbombastic50 minutes ago
        everything has tradeoffs, on the one hand you are right you have one less dependency, on the other hand the maintenance of said dependency is now on you. many times app store connect has changed some api and fixing our release process was a matter of updating fastlane because the community had already dealt with it, that&#x27;s on you if you have a bespoke delivery solution.
      • SoftTalker16 hours ago
        ... avoiding this problem: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;974" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;974</a>
  • 21-DOT-DEV11 hours ago
    The comments here clearly point out that building and shipping have been the automatable parts (and for some time now).<p>To anyone who&#x27;s chased a crash that only reproduces on a physical device knows the fix was never more log statements added by ai but rather a breakpoint, the debugger, and thirty unglamorous minutes of stepping through code line-by-line (terminal lldb technically counts, but barely).
  • gwking14 hours ago
    I have one weird trick for people who are exploring this vein. I last opened an Xcode project about five years ago so I could be way behind the times.<p>Having spent many years fighting with Xcode professionally, I was thrilled when swift build came out, and then appalled at how badly Xcode adopted it. Eventually I realized that you can set up your entire app as a swift package, and then the Xcode project with a single main source file that calls some `app_main()` (or whatever you want to call it) function in your package.<p>I cannot remember exactly but there was something annoying about setting up a new project; I think by default Xcode assumes that you want a swift package to be treated as a dependency that is checked out from git, but there was a way to drag and drop a local dependency in the same project directory and then it worked.<p>What this buys you is that files are no longer tracked by Xcode, so renames&#x2F;merges no longer trigger project.pbxproj surgery. Instead you specify the swift package directories and are done.<p>I used this for some large personal projects and was very happy with it.<p>At one point I also wrote my own build tool that imitated all of the steps that Xcode took so that I could truly be Xcode-free. That also worked (and was not even that hard) but I went back to Xcode because the debugger UI was better than what I could get out of VS Code at the time, and especially because I was playing around with the Metal debugger.
  • qpe01 hour ago
    I do it exactly like described here. Nice to see an article about it.
  • chrisvenum8 hours ago
    React Native + Expo is also a good option if you want to touch the iOS&#x2F;Android IDEs as little as possible. You use Xcode and Android studio to install the device sims and then expos tool chain handles the rest, even for deploying to stores. If you are on a windows computer and can’t install Xcode, you can even run your iOS app directly on an iPhone with their managed app.<p>Ignite is a great starter using RN and Expo. Some great people maintaining it. <a href="https:&#x2F;&#x2F;github.com&#x2F;infinitered&#x2F;ignite" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;infinitered&#x2F;ignite</a>
    • alana3147 hours ago
      +1 for Expo, their Expo Application Services are great and have a free tier.<p>npx expo run:ios --device #runs a build on my iphone and shows logs in the terminal<p>eas build --platform ios --profile preview #builds in the cloud and gives me a QR code to install a build on my device with a custom certificate<p>eas build --platform ios --profile production --auto-submit #auto increments and submits a production build to the app store.
  • canthonytucci12 hours ago
    If you’re paying the $100&#x2F;year to publish to the store you also get access to Xcode cloud, which you can point at a repo and it will build snd archive for you to distribute to testflight. I opened xcode to test locally in simulator the first time but haven’t had to since.<p>Using godot iOS export.<p>For regular old native ios dev replacing Xcode i don’t think i would do it.
  • hyzyla16 hours ago
    Check also Sweetpad CLI. It’s basically wrapper around xcodebuild, but humans and agents. It’s my next project after Sweetpad VSCode extension for developing iOS&#x2F;Swift applications in VSCode. Cli is still in beta, but I see on my own project that it’s already quite pleasant to use<p>1. <a href="https:&#x2F;&#x2F;sweetpad.hyzyla.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sweetpad.hyzyla.dev&#x2F;</a><p>2. <a href="https:&#x2F;&#x2F;github.com&#x2F;sweetpad-dev&#x2F;sweetpad" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sweetpad-dev&#x2F;sweetpad</a>
  • resonious7 hours ago
    This seems like a lot. I told my oh-my-pi agent to build my ios app for me and send it to me remotely. After some chugging, it gave me a tailscale funnel link. And it worked. I didn&#x27;t have to dig into any of this stuff. I didn&#x27;t use the words &quot;Developer ID-sign&quot;, &quot;notarize&quot;, or &quot;staple&quot; in my prompt.
  • Schiendelman18 hours ago
    I&#x27;ve been using essentially this process (with Claude Code) for about six months. There are a couple of places where I&#x27;ve opened xcode; mostly to update the simulators for new betas of xcode 27, and once to add a target for Apple Watch (and I think something for HealthKit).<p>Interestingly, since about Opus 4.6, Claude has been able to reason its way into this process on its own. It was clunky until 4.7, and in 4.8 it&#x27;s managed to find its way around every reason I had to open xcode myself.
  • coverband16 hours ago
    Regardless of the vibe coding aspect, there&#x27;s good information here for anyone new to the mac&#x2F;ios build&#x2F;distribution workflows.
  • schainks17 hours ago
    I just set up my pipeline to do this exact thing for both the Apple and Android ecosystems, dispatching loads to my mac studio or Linux box accordingly. I moved the runners off GitHub because uptime for GitHub actions has been trash lately, and the Apple Silicon runners are pricey.<p>Claude was great at figuring out what was broken when and either fixing it, or clicking as far as it could until it needed me.<p>You could say I&#x27;m mostly just IRL hands for the AI now.
  • theraven15 hours ago
    Interesting this is coming across as novel. This is how CI build machines for Apple’s platforms have been setup in perpetuity.
    • matwood3 hours ago
      Not just build machines. Years ago I scripted the entire build process to create hundreds of apps based on parameters and submit them. It was an attempt to work around the horrible App Store search. The original app had packages of content that could be purchased, but it was hard to convey from the single app listing. Eventually Apple said don&#x27;t do that and we reverted back, but at that point we had moved on to something completely different.
    • frollogaston12 hours ago
      True, but it&#x27;d take me a while &#x2F; forever to figure out how. Reminds me of when I yelled at Gemini until it&#x27;d make me a Minecraft Bukkit plugin without installing anything besides the JDK, way easier task but it was still insisting on Gradle for a while.
  • mulmboy16 hours ago
    I went to build an open source app from GitHub and was pretty surprised that it requires Xcode and that Xcode can&#x27;t really be installed without an apple id. I do not want to make one and I certainly will not sign my computer into one.<p>I did end up somehow installing Xcode via some shady download and was on my way. But the whole ordeal left a very sour taste.
    • everfrustrated15 hours ago
      Heck you can&#x27;t even compile against many of the Mac APIs without a cert unlocked by a paid developer account.
    • swiftcoder15 hours ago
      Running a Mac without an Apple ID feels like an exercise in masochism. I wasn’t aware one could even still it through first run without
      • xyzzy_plugh15 hours ago
        Why do you need one?
        • balder199111 hours ago
          I think because the only places you can download it from are either from the App Store or logging into Apple’s developer’s website.
    • sneak16 hours ago
      Though the primary way of installing Xcode is via MAS (requiring Apple ID login), Xcode can be downloaded from the Apple Developer website without an ADP membership, though you do have to log in to the website with an Apple ID. You don’t have to log into the Mac with an Apple ID though, you can then install and use it on a Mac without an Apple ID (though you will need one inside Xcode to sign apps to get them to run on an iOS device).
  • dools15 hours ago
    Shout out to fastlane! I would have loved to have found it sooner in my app shipping journey.
  • pjmlp6 hours ago
    The pain people go through not to use XCode, for me it does the job.
    • eschaton5 hours ago
      It’s incredible to me the lengths these people will go to just to avoid using the standard tools.
  • saagarjha17 hours ago
    Making your app buildable from the CLI is not something I do personally to use on my Mac but it is very useful when you&#x27;re automating your CI. If you have GitHub Actions set up to build your app, so can Claude, assuming you have the right signing setup on your machine.
  • recsv-heredoc18 hours ago
    Having to have Xcode installed is more than half the problem. It makes Visual Studio look lightweight.
    • ryandrake17 hours ago
      Xcode does have (or had, haven&#x27;t checked for a while) a lightweight &quot;command line tools only&quot; installer. Unfortunately, that installer omits a lot of the actual useful command line tools, like the notary and stapler tools. I also recall that the command line tool only installer leaves out things like the metal compiler, too. Not sure what the point of it is.
      • dylan60417 hours ago
        &gt; Not sure what the point of it is.<p>My only familiarity with it is because it&#x27;s needed by brew. I honestly never looked into exactly what is in the package, but I assumed things like what is installed with -devel packages of yum&#x2F;apt-get&#x2F;dnf&#x2F;etc. Lots of repos have common list of things to install like gcc&#x2F;make&#x2F;etc. Again, just guessing, but it&#x27;s one of the first things I&#x27;ve always run on a new Mac to get it usable for CLI usage.
      • saagarjha17 hours ago
        It lets you build basic UNIX-like tools.
    • gumby17 hours ago
      It’s mostly all the emulators and platform APIs.<p>I’m not defending Xcode (I hate it), just clarifying.
  • stephenhuey17 hours ago
    Thought this was going to be about the new Ruby Native!<p><a href="https:&#x2F;&#x2F;rubynative.com" rel="nofollow">https:&#x2F;&#x2F;rubynative.com</a><p>“From bundle install to your phone in minutes. To the App Store and Google Play without a line of native code.“
    • zuzululu17 hours ago
      holy hell $299&#x2F;app is wild
      • incanus7717 hours ago
        One time?! That&#x27;s amazing.
        • stephenhuey16 hours ago
          Per year, but still amazing. I&#x27;d like to think of myself who knows what he is doing, but I just launched a Rails-based platform for a client on web, iOS and Android, and had to spend an annoying amount of time in Google Play and App Store Connect. $299 would be a tiny fraction of the billable hours I&#x27;d have to spend messing around in there, and that&#x27;s not counting mobile app dev time at all, so I&#x27;m on the lookout for a good candidate project to try Ruby Native on!
        • chrisweekly16 hours ago
          per app per year
  • mctwo8 hours ago
    I don&#x27;t see the point of this, if you use Claude or whatever frontier LLM you like, you need Xcode only to start emulators &#x2F; install app on phones or to upload a binary.
  • pzo16 hours ago
    You can as well make it simpler and use those skills:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;software-mansion&#x2F;argent" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;software-mansion&#x2F;argent</a><p>or<p><a href="https:&#x2F;&#x2F;github.com&#x2F;callstack&#x2F;agent-device" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;callstack&#x2F;agent-device</a><p>both callstack and swmansion are mostly react native shops but those should work even in native ios&#x2F;android as well
  • isodev15 hours ago
    In addition to the challenged Xcode, just using Swift seems to require a lot more tokens for both coding and dealing with build&#x2F;platform quirks. Probably not super significant on indie scale but for anything more robust, it builds up quickly.<p>React Native and Flutter seem to be much more predictable for the bots (and more fun for humans, since they have actual hot reload).
  • zitterbewegung12 hours ago
    Xcode 27 which is in beta ships a much better codex integration. There are problems in Xcode that are frustrating . Also, git integrations are a nice touch that allow you to force push too. Would be interesting to find out how well this works in a team based setting.
  • pupppet17 hours ago
    Doesn&#x27;t that mean you need to distribute the app (TestFlight) before you can preview your app? How do you test locally without the simulators?
    • simonw17 hours ago
      For a macOS app you don&#x27;t need a simulator. For an iPhone app I&#x27;ve seen Claude Code launch the simulator without me needing to open Xcode.
      • nwienert16 hours ago
        I built an iOS simulator simulator, though only for RN. Runs in browser but covers 100% of the API of RN, iOS UI, and the top 1k native libraries basically now. Been an ongoing agentic experiment of mine that&#x27;s about ready to release.<p>Kind of fun, you can develop iOS and Android both without a build step and without a Mac even.
    • turtlebits16 hours ago
      Testing != Distribution. You can run directly on a connected iOS device, without setting up anything related to the app store.
  • myHNAccount12312 hours ago
    Xcode 27 beta 3 has been the most stable release I&#x27;ve ever used. The type checking improvements were understated so I gotta laugh at this xcode avoidance.<p>Areas they could improve - what ever the heck is going on in their diffing ui for source control.
  • qpx202212 hours ago
    I use this script to build and notarize macOS apps, you might find it useful as well: <a href="https:&#x2F;&#x2F;github.com&#x2F;muquit&#x2F;NotarizeMacApp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;muquit&#x2F;NotarizeMacApp</a>
  • waynecochran14 hours ago
    The main iPhone app I maintain for work is 100% claude edited now ... I don&#x27;t touch the code anymore ... I do occasionally look at it. It does a way better job than I could. I do have Xcode open as claude does its thing ... and I occasionally sign and deploy with Xcode. No coding though.
  • gnachman9 hours ago
    Not using Xcode is the greatest improvement in quality of life I have known aside from recovering from a debilitating back injury. So good.
  • tomaskafka14 hours ago
    I find it hard to believe xcodegen is in a state where it would reliably generate xcodeproj for all edge states (widgets, watchos app, notification extensions …) - it certainly wasn’t when I last tried it for Weathergraph few years ago.<p>That said, it might be well enough for simpler apps.
    • tptacek14 hours ago
      What&#x27;s a not-simple app? I&#x27;ve had Claude generate:<p>* A Markdown viewer (obviously pretty simple)<p>* A menu bar Apple TV remote (surprisingly complicated)<p>* A menu bar and desktop temperature tracker for the silly Tapo temperature trackers I have all over my house (a little complicated because multiple user interfaces, a backing database, scheduling, and multiple local&#x2F;remote protocol interfaces)<p>* A graphical CAS calculator frontend to Sage Math with LaTeX math rendering<p>* An LLMwiki implementation that uses macOS filesystem extensions to reflect a SQLite database into a local filesystem for agents to traverse (basically the new macOS way to do FUSE, fussy enough that the app has to run out of &#x2F;Applications to work)<p>* An agent-driven Music.app replacement with AirPlay streaming support managing Apple Music catalogs and tracks<p>All of these have worked without me ever once touching the xcode UI, except one time to generate Apple Developer certificates, which I then drove exclusively from CLI tools.<p>These are all pretty modern SwiftUI applications.
  • datadrivenangel16 hours ago
    I&#x27;ve built a few small MacOS dock widgets now by just telling Claude&#x2F;OpenCode to build them. Works well enough if you&#x27;re very explicit.<p>The most useful one is a little weather sparkline to show local temperature forecasts. Useful every day.
    • esafak14 hours ago
      What framework was it written in, and does it trigger a scary warning from the OS when you try to install it?
  • josefrichter16 hours ago
    Wait, I am not aware that I&#x27;ve done ANY of those setup steps, yet I&#x27;m building iOS and macOS apps without XCode. Both Claude and Codex handle it just fine and didn&#x27;t ask me for any setup steps.
  • franze14 hours ago
    built cable detective like this <a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;at&#x2F;app&#x2F;cable-detective&#x2F;id6765963737?l=en-GB&amp;mt=12">https:&#x2F;&#x2F;apps.apple.com&#x2F;at&#x2F;app&#x2F;cable-detective&#x2F;id6765963737?l...</a> and the soon to come <a href="https:&#x2F;&#x2F;aifcc.franzai.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aifcc.franzai.com&#x2F;</a> which is more ambitious<p>honestly would not even know what to do &#x2F; click in xcode
  • matthewmueller12 hours ago
    Very cool! Does this assume you&#x27;re never editing code by hand or can you use editors like VSCode or Cursor as well?
  • maxehmookau2 hours ago
    I don&#x27;t know why XCode gets the hate it does. It&#x27;s a solid IDE which I&#x27;ve used for years with only minimal issues. It&#x27;s certainly no more or less buggy than anything JetBrains releases.
  • hyperhello17 hours ago
    Being outside of the approved development loop has rough edges. How do you keep the app from putting up that permission to access documents folder all the time while you rebuild it?
    • saagarjha17 hours ago
      They&#x27;re a paid developer, so they are probably signing the app with a stable identity that avoids this.
  • philocalyst14 hours ago
    Or use <a href="https:&#x2F;&#x2F;swiftbundler.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;swiftbundler.dev&#x2F;</a> ?
  • sgt18 hours ago
    Although this has been well known for years and documented.
    • dylan60417 hours ago
      Yeah, but not only was this &quot;on a computer&quot; but &quot;with an AI&quot; so it&#x27;s not the same at all. &#x2F;s
  • scosman8 hours ago
    small issue: xcodebuild will just randomly fail sometimes. And the solution is to... open and close Xcode. I wish this wasn&#x27;t true, but it is.
    • notimetorelax8 hours ago
      Can LLM do this too? If yes, then it’s annoying but is not a blocker.
  • awaseem14 hours ago
    I’ve done this forever on Foqos. Have a makefile, never even open Xcode and the instructions are in the agents md
  • landseer1008 hours ago
    we are building revyl.com for exactly this. You should check out our CLI: <a href="https:&#x2F;&#x2F;github.com&#x2F;RevylAI&#x2F;revyl-cli" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;RevylAI&#x2F;revyl-cli</a>, it lets your agents xcode build and spin up multiple simulators in parallel (all in the cloud). Would love your feedback!
  • tdhz7716 hours ago
    I do something similar in GitHub actions. Every new app is setup in a few minutes to star getting rejected by iOS and Android.
  • grahar6415 hours ago
    I thought this would be a flutter post. Love flutter, ... , well I like flutter compared to Kotlin and Swift
    • busymom014 hours ago
      Last I used flutter, editable text views was where it wasn&#x27;t acceptable for me. On iOS, the default text view comes with a lot of built in stuff automatically such as cut copy paste, lookup definition, translate etc. Flutter&#x27;s didn&#x27;t have these.
  • stevenhubertron12 hours ago
    This is how i am developing keptrecipes.com. Been a pleasure this way TBH.
  • overgard17 hours ago
    Oh god, the app store does not need more slop. If you can&#x27;t be bothered to open XCode (which I agree is a dumpster fire, but), you shouldn&#x27;t be bothered to submit an app that a person has to review and another person has to filter out of their search results.
    • pclowes14 hours ago
      Counterpoint: XCode is such slop that an app made by a developer with the taste to avoid it has a higher probability of being less &quot;sloppy&quot; than average.
      • saagarjha12 hours ago
        This is generally not true
      • ulfw13 hours ago
        The &#x27;developer&#x27; isn&#x27;t even developing much of anything tho
  • js212 hours ago
    &gt; notarytool authenticates using a stored keychain profile that you create once, interactively — it prompts for an app-specific password, and there’s no way around the prompt.<p>You can use `--password &lt;password&gt;` (yeah, yeah, passwords on the command line are bad; I&#x27;m just challenging &quot;there&#x27;s no way around the prompt.&quot;)<p>Later (contradicting itself):<p>&gt; The one step that stays interactive is notarytool store-credentials, and that’s a choice rather than a limitation: you could pass --password and script it, but that means putting an app-specific password in your shell history.<p>You can configure your shell to ignore history when needed.<p><a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;6475524&#x2F;how-do-i-prevent-commands-from-showing-up-in-bash-history" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;6475524&#x2F;how-do-i-prevent...</a><p><a href="https:&#x2F;&#x2F;superuser.com&#x2F;questions&#x2F;352788&#x2F;how-to-prevent-a-command-in-the-zshell-from-being-saved-into-history" rel="nofollow">https:&#x2F;&#x2F;superuser.com&#x2F;questions&#x2F;352788&#x2F;how-to-prevent-a-comm...</a><p>(And if it&#x27;s in a script, it won&#x27;t be in your history anyway.)<p>&gt; These passwords go stale silently whenever you change your Apple ID password<p>You can use an ASC API key instead. This can be either a team key (&quot;developer&quot; access level) or an individual key.<p><a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;appstoreconnectapi&#x2F;creating-api-keys-for-app-store-connect-api" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;appstoreconnectapi...</a>
  • exographicskip16 hours ago
    Skimmed the article. Pretty close to my workflow using fastlane with tauri.<p>Useful sanity check!
  • eptcyka7 hours ago
    What about debugging?
  • LatencyKills18 hours ago
    I spent seven years as a dev on the Xcode team and this is pretty much my exact workflow these days.
    • sunnybeetroot6 hours ago
      Thank you for your service. Xcode gets a bad rap from developers but for beginners, it doesn’t overwhelm them, giving them a great entry experience into app development.
      • LatencyKills1 hour ago
        Thank you for your comment. Prior to Apple, I worked on the Visual Studio team for 10 years. Now <i>that</i> is a complex app now matter how experienced you are. ;-)
  • supermatt14 hours ago
    &gt; Without Ever Opening Xcode<p>&quot;Next, open Xcode&quot;
  • zerr14 hours ago
    The thing is, in a perspective, who would need any apps at all? Users will get what they want from AI directly.
  • myko13 hours ago
    I prefer Tuist (writing Project.swift) to XcodeGen but otherwise, yeah, this tracks
  • murlax16 hours ago
    Tangentially, I despise Xcode and love the Expo ecosystem and all the lovely tooling that they have built. It is React Native but Expo honestly makes it so trivial to build stuff from the CLI without ever needing to open that abomination of an app. And with AI, I have built a lot of side project apps onto my iPhone, like a homelab app for monitoring my cameras with push notifications whenever someone is at the door, starting my irrigation and a whole lot more. Plus Tailscale of course. Kind of a crazy world that we live in now.
    • sefrost16 hours ago
      Yes, I remember React Native being quite painful before Expo!<p>Upgrading from one version to the next especially so.<p>Expo seems to shield you from a lot of issues, without really taking any power away from you either.
  • inopinatus11 hours ago
    If you prefer your builds composed of declarative and incremental targets, see<p><a href="https:&#x2F;&#x2F;github.com&#x2F;inopinatus&#x2F;sublime_url&#x2F;blob&#x2F;main&#x2F;Makefile" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;inopinatus&#x2F;sublime_url&#x2F;blob&#x2F;main&#x2F;Makefile</a><p>Same shit with a bit of structure.
  • NamlchakKhandro7 hours ago
    Or use Gondolin, or SmolVMs
  • aabajian11 hours ago
    I shipped my iOS app without opening Xcode (well, I had to open it to get some provisioning stuff to work). I still use Visual Studio Code to kick off the simulator, but other than that, I use no IDE at all. Claude writes all the code in Flutter.<p>IDEs are dead, prove me wrong.
  • sneak16 hours ago
    You still have to open Xcode (to get the certs), and you still have to accept the Xcode EULA. Title is quite misleading if not outright false.
    • embedding-shape14 hours ago
      As someone who tried my very best to not open Xcode for building and shipping Mac and iOS apps, I agree, there are things there are literally no way around opening the GUI, not even terminal utilities for. You cannot do this 100% headless, which is what I attempted at first.
  • rvz17 hours ago
    By using &quot;Claude Code&quot;*<p>* and giving Anthropic all your secrets, env vars, certificates and your source code to them.
    • datadrivenangel16 hours ago
      I&#x27;ve used opencode on a plane with local models to make small updates to local MacOS apps. It&#x27;s not fast or amazing, but it does work well enough to do trivial changes.<p>But also yes this is a real concern.
    • simonw17 hours ago
      What bad things to you anticipate Anthropic doing with your secrets, env vars, and certificates?
      • owebmaster50 minutes ago
        Is this a joke?<p>Anthropic isn&#x27;t great at keeping stuff private as we saw with the Claude Code leak. The more information they get access to the bigger the risk.
    • kstenerud17 hours ago
      Not if you&#x27;ve got a good sandbox.
      • saagarjha17 hours ago
        Do you have one?
        • kstenerud17 hours ago
          Yup, I built one! <a href="https:&#x2F;&#x2F;github.com&#x2F;kstenerud&#x2F;yoloai" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kstenerud&#x2F;yoloai</a><p>You can even run simulators in it if you choose the Tart backend.
          • thoughtl3ss16 hours ago
            And how is your vibe coded sandbox better than 1000 other sandboxes?
            • kstenerud13 hours ago
              You&#x27;ll never know. And that&#x27;s fine.
    • Danox16 hours ago
      What could go wrong? Might Apple change something across five ecosystems and leave you in the lurch, and now you have to go through all the slop to try to fix it?
  • bilekas10 hours ago
    Honestly I thought this was the standard because god help me Xcode is terrible.
  • onesandofgrain16 hours ago
    Don&#x27;t make apps for iOS. The apple ecosystem is horrendous
  • mailship1 hour ago
    [flagged]
  • qiaobax5 hours ago
    [flagged]
  • jkwang5 hours ago
    [flagged]
  • samso2611 hours ago
    [flagged]
  • VaporJournalAPP15 hours ago
    [flagged]
  • martinbfine15 hours ago
    [dead]
  • prakashrj15 hours ago
    [dead]