<?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: Anna Skokova</title>
    <description>The latest articles on DEV Community by Anna Skokova (@anna_skokova_9ca00a251bad).</description>
    <link>https://dev.to/anna_skokova_9ca00a251bad</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%2F4234757%2F2d84399d-ee9d-48ca-9139-34c63b836183.png</url>
      <title>DEV Community: Anna Skokova</title>
      <link>https://dev.to/anna_skokova_9ca00a251bad</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anna_skokova_9ca00a251bad"/>
    <language>en</language>
    <item>
      <title>How to build a Unity game for iOS without a Mac</title>
      <dc:creator>Anna Skokova</dc:creator>
      <pubDate>Thu, 26 Nov 2026 07:26:44 +0000</pubDate>
      <link>https://dev.to/anna_skokova_9ca00a251bad/how-to-build-a-unity-game-for-ios-without-a-mac-4cdh</link>
      <guid>https://dev.to/anna_skokova_9ca00a251bad/how-to-build-a-unity-game-for-ios-without-a-mac-4cdh</guid>
      <description>&lt;p&gt;Your game already runs on Android. The iOS build is the last thing left, and you're on Windows. Unity's own documentation sums up the problem in one line: building for iOS is a two-step process, and the second step needs Xcode, which only runs on macOS.&lt;/p&gt;

&lt;p&gt;We went through the whole thing ourselves. We took a sample project from Unity Hub, opened one of our MacBook Air M1 machines with 8 GB of memory in a browser tab on an ordinary Windows laptop, and got the game running in the iPhone Simulator. Below are the steps, how long each one took, and where we got stuck.&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%2Fwecoghrfb66lsnpag1ja.jpg" 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%2Fwecoghrfb66lsnpag1ja.jpg" alt="A Unity game running in the iPhone 18 Pro Simulator next to Xcode, on a Mac opened in a browser tab on Windows" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; my husband and I build &lt;a href="https://justmac.app/en/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=unity-ios" rel="noopener noreferrer"&gt;JustMac.app&lt;/a&gt;, one of the options mentioned below. I've tried to describe every option fairly.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The short answer
&lt;/h2&gt;

&lt;p&gt;You can't finish an iOS build on Windows. Unity can export the Xcode project there, but compiling, signing and uploading to the App Store happen in Xcode. You need a Mac: your own, a cloud build service, or a Mac you rent for a day.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can do on Windows, and what needs a Mac
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;On Windows:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;build the whole game in the Unity Editor;&lt;/li&gt;
&lt;li&gt;install the iOS Build Support module and export the Xcode project;&lt;/li&gt;
&lt;li&gt;test the gameplay in the Editor or on Android.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Needs a Mac:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;building the exported project in Xcode;&lt;/li&gt;
&lt;li&gt;running &lt;code&gt;pod install&lt;/code&gt; if the project uses CocoaPods plugins, such as Firebase or ad SDKs;&lt;/li&gt;
&lt;li&gt;signing the app with your Apple Developer certificate;&lt;/li&gt;
&lt;li&gt;running the game in the iPhone Simulator;&lt;/li&gt;
&lt;li&gt;archiving the build and uploading it to TestFlight and the App Store.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Your options
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Unity Build Automation.&lt;/strong&gt; Unity's own cloud builds. Since March 2026 the free tier includes 100 minutes a month on a Mac machine, then you pay per minute. It's convenient once your project builds cleanly. It's hard when it doesn't: you only see logs, and every retry costs minutes. For scale: in our test, the Unity export alone took 30 minutes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub Actions with GameCI.&lt;/strong&gt; Flexible, but before the first build works you'll spend time on the workflow file, the Unity licence and the signing secrets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Buy a Mac mini.&lt;/strong&gt; Worth it if you ship iOS updates every week.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rent a Mac for a day.&lt;/strong&gt; For the first build, when you need to see Xcode's errors with your own eyes, sort out signing and check the game in the Simulator. Once the project has built once, setting up a cloud build is much easier.&lt;/p&gt;

&lt;h2&gt;
  
  
  How we did it, step by step
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Start the Xcode download
&lt;/h3&gt;

&lt;p&gt;Start with Xcode, because it takes the longest to download. Open the App Store, sign in with your Apple Account and install Xcode. Ours was version 27.2, and it's &lt;strong&gt;10.35 GB&lt;/strong&gt;.&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%2Fjhcxiltcdrwtzyhzyvxr.jpg" 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%2Fjhcxiltcdrwtzyhzyvxr.jpg" alt="Xcode installing from the App Store on the rented Mac" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On first launch, Xcode offers to download the iOS Simulator, another &lt;strong&gt;8.3 GB&lt;/strong&gt;. Say yes: without it, there's nothing to run the game on.&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%2Fk4ib6atytdhip0t72try.jpg" 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%2Fk4ib6atytdhip0t72try.jpg" alt="Xcode's welcome window with the iOS 27.2 Simulator downloading" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Install Unity with the iOS module
&lt;/h3&gt;

&lt;p&gt;While Xcode downloads, install Unity Hub and, through it, the Unity Editor. We used the recommended version, Unity 6.6.&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%2F2ubuz2qle5xzbrv9rrws.jpg" 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%2F2ubuz2qle5xzbrv9rrws.jpg" alt="Unity Hub installing the Unity 6.6 editor" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The part that matters is the &lt;strong&gt;iOS Build Support&lt;/strong&gt; module. Without it, iOS simply doesn't appear in the build settings. If you skipped it, add it later: Installs → the gear next to your version → Add modules.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Switch the project to iOS
&lt;/h3&gt;

&lt;p&gt;For the test we used a ready-made sample from Unity Hub, the Universal 3D sample: a scene with several rooms. You open your own game the same way.&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%2Fz9ksh06wz045dffy9wt6.jpg" 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%2Fz9ksh06wz045dffy9wt6.jpg" alt="The Universal 3D sample project open in the Unity Editor" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In Unity 6 this happens in &lt;strong&gt;File → Build Profiles&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Press &lt;strong&gt;Add Build Profile&lt;/strong&gt; and choose &lt;strong&gt;iOS&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select the iOS profile in the list and press &lt;strong&gt;Switch Profile&lt;/strong&gt;. Unity reimports the assets for iOS; for us that took a few minutes.&lt;/li&gt;
&lt;/ol&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%2Fqz9p68a52blbwtjhrghh.jpg" 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%2Fqz9p68a52blbwtjhrghh.jpg" alt="Unity's Build Profiles window with the iOS profile selected and assets reimporting" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Check Player Settings
&lt;/h3&gt;

&lt;p&gt;In the same window, open &lt;strong&gt;Player Settings&lt;/strong&gt;, and under Other Settings:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;enter a &lt;strong&gt;Bundle Identifier&lt;/strong&gt;, for example &lt;code&gt;com.yourname.yourgame&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;set &lt;strong&gt;Target SDK&lt;/strong&gt; to &lt;strong&gt;Simulator SDK&lt;/strong&gt; to test in the Simulator, or &lt;strong&gt;Device SDK&lt;/strong&gt; for a real iPhone and TestFlight.&lt;/li&gt;
&lt;/ul&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%2Fyj7h8ube6a58cpfcaf8v.jpg" 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%2Fyj7h8ube6a58cpfcaf8v.jpg" alt="Unity Player Settings for iOS with Target SDK set to Simulator SDK" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Target SDK is easy to miss. If you export with Device SDK, the project won't run in the Simulator, and you'll have to export again.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Export the Xcode project
&lt;/h3&gt;

&lt;p&gt;Press &lt;strong&gt;Build&lt;/strong&gt; and choose an empty folder. Unity creates an Xcode project there: &lt;strong&gt;Unity-iPhone.xcodeproj&lt;/strong&gt; and folders such as Classes, Data and Libraries.&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%2Fxkpfjqgfbv3d3qwhduoo.jpg" 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%2Fxkpfjqgfbv3d3qwhduoo.jpg" alt="Finder showing the exported Unity iOS project with Unity-iPhone.xcodeproj" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On a MacBook Air M1 with 8 GB of memory this took &lt;strong&gt;30 minutes 43 seconds&lt;/strong&gt;. Unity converts all of the game's code to C++ (on iOS it always uses IL2CPP), and that's the heavy part. A Mac with 16 GB will be faster.&lt;/p&gt;

&lt;p&gt;If you export on Windows, zip the folder and move it to the Mac. With JustMac.app you can drag the zip straight onto the Mac's screen in the browser tab, up to 8 GB at a time.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Check for a Podfile
&lt;/h3&gt;

&lt;p&gt;If the folder has a &lt;strong&gt;Podfile&lt;/strong&gt;, the project uses CocoaPods plugins. Run &lt;code&gt;pod install&lt;/code&gt; in that folder in Terminal, and from then on open the &lt;code&gt;.xcworkspace&lt;/code&gt; file, not the &lt;code&gt;.xcodeproj&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The clean sample had no Podfile, so we skipped this step.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Open the project in Xcode and run it
&lt;/h3&gt;

&lt;p&gt;Double-click &lt;strong&gt;Unity-iPhone.xcodeproj&lt;/strong&gt;. At the top, choose a Simulator (we picked &lt;strong&gt;iPhone 18 Pro&lt;/strong&gt;) and press &lt;strong&gt;▶ Run&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The Xcode build took about &lt;strong&gt;10 minutes&lt;/strong&gt;. Then the Simulator opened and the game started: that's the picture at the top of this article.&lt;/p&gt;

&lt;p&gt;Our sample scene is landscape, so at first it showed up sideways. You can rotate the Simulator with &lt;strong&gt;Device → Rotate Left&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where we got stuck
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The Signing &amp;amp; Capabilities tab kept loading forever.&lt;/strong&gt; Xcode takes a long time to index a large Unity project, especially with 8 GB of memory, and the signing screen just spun. You don't need signing for the Simulator: we pressed ▶ Run without waiting, and the game built. You'll need signing for a real iPhone and TestFlight: add your account in Xcode → Settings → Accounts, then pick your team in Signing &amp;amp; Capabilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;iOS wasn't in the list of platforms.&lt;/strong&gt; The iOS Build Support module wasn't installed. Add it in Unity Hub, then restart Unity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Other common errors:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Missing Pods or "No such module".&lt;/em&gt; You opened &lt;code&gt;.xcodeproj&lt;/code&gt; instead of &lt;code&gt;.xcworkspace&lt;/code&gt;, or didn't run &lt;code&gt;pod install&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Signing errors.&lt;/em&gt; No team selected, or the Bundle Identifier in Unity doesn't match the one in your Apple Developer account.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;App Store Connect rejects the upload.&lt;/em&gt; Apple requires builds made with a recent Xcode. Update Xcode from the App Store.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How long it took
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Downloading Xcode (10.35 GB) and the Simulator (8.3 GB)&lt;/td&gt;
&lt;td&gt;In parallel with everything else&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Unity export, MacBook Air M1 8 GB&lt;/td&gt;
&lt;td&gt;30 min 43 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;First build in Xcode&lt;/td&gt;
&lt;td&gt;About 10 minutes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;From the first install to the game in the Simulator took about two and a half hours, and most of that was waiting for downloads.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which Mac to use
&lt;/h2&gt;

&lt;p&gt;Unity projects are heavy. A MacBook Air M1 with 8 GB works, but slowly, and Xcode lagged noticeably while indexing. For a Unity game, a Mac mini with 16 GB of memory is the better choice.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Need a Mac for one iOS build? &lt;a href="https://justmac.app/en/rent-mac-mini?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=unity-ios" rel="noopener noreferrer"&gt;JustMac.app&lt;/a&gt; rents dedicated Mac minis and MacBooks by the day, and the desktop opens in a browser tab. Questions about any of the steps above? &lt;a href="mailto:hello@justmac.app"&gt;Email us&lt;/a&gt; and we'll help.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://justmac.app/en/blog/unity-ios-build-without-mac?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=unity-ios" rel="noopener noreferrer"&gt;justmac.app&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>unity3d</category>
      <category>ios</category>
      <category>gamedev</category>
      <category>xcode</category>
    </item>
    <item>
      <title>iOS development from Windows with a real iPhone and a remote Mac</title>
      <dc:creator>Anna Skokova</dc:creator>
      <pubDate>Fri, 20 Nov 2026 04:20:06 +0000</pubDate>
      <link>https://dev.to/anna_skokova_9ca00a251bad/ios-development-from-windows-with-a-real-iphone-and-a-remote-mac-486a</link>
      <guid>https://dev.to/anna_skokova_9ca00a251bad/ios-development-from-windows-with-a-real-iphone-and-a-remote-mac-486a</guid>
      <description>&lt;p&gt;You can build and run an iOS app on a real iPhone plugged into a Windows PC, using a Mac that sits somewhere else. We tested it end to end: the iPhone stayed on a Windows laptop, Xcode ran on a remote Mac opened in the browser, and an app with the HomeKit capability was signed, installed and launched on the phone.&lt;/p&gt;

&lt;p&gt;The question came from a developer without a Mac. His iPhone is connected to his Windows PC by USB, and he needs Xcode to build an app that uses HomeKit. Simulators were not enough: he has real accessories paired with the app. So we tried his exact workflow on one of our Macs before answering.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we used
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Part&lt;/th&gt;
&lt;th&gt;What it was&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;PC&lt;/td&gt;
&lt;td&gt;Windows 10 (22H2) laptop&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Phone&lt;/td&gt;
&lt;td&gt;iPhone 16 Pro Max, connected to the PC by USB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mac&lt;/td&gt;
&lt;td&gt;MacBook Air M1 8 GB, opened in the browser through a JustMac session&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;IDE&lt;/td&gt;
&lt;td&gt;Xcode with the iOS platform installed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;USB over network, option A&lt;/td&gt;
&lt;td&gt;FlexiHub (paid, cloud relay, 5 free demo sessions)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;USB over network, option B&lt;/td&gt;
&lt;td&gt;USB Network Gate free version + Tailscale&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Apple Account&lt;/td&gt;
&lt;td&gt;A developer account signed in to Xcode only&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;We opened the Mac in a browser tab with &lt;a href="https://justmac.app/en/xcode-on-windows?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=iphone-usb" rel="noopener noreferrer"&gt;JustMac.app&lt;/a&gt;. The browser session gives you the Mac's screen, keyboard and mouse. It does not pass USB devices from your PC, so the iPhone needs its own path: a USB-over-network tool running on both machines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step by step
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Windows: let the PC see the iPhone
&lt;/h3&gt;

&lt;p&gt;Install Apple Devices from the Microsoft Store. Plug in the iPhone, unlock it and tap Trust. When Windows asks what to do with the device, choose to open it as a device with files.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Windows: share the iPhone
&lt;/h3&gt;

&lt;p&gt;Install FlexiHub (or USB Network Gate) and sign in. The iPhone appears in the device list as available for connection. Close Apple Devices, iTunes and Photos first.&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%2Fxgk9l7dwhvahgzamsegc.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%2Fxgk9l7dwhvahgzamsegc.png" alt="FlexiHub on Windows with the iPhone available for connection" width="800" height="815"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Mac: install the same tool
&lt;/h3&gt;

&lt;p&gt;Open the Mac in the browser, install the client and sign in to the same account. Approve its system extension in System Settings &amp;gt; Privacy &amp;amp; Security if macOS asks. The Windows PC and its iPhone show up in the list.&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%2F77cx2d5q0hxgosaxr76f.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%2F77cx2d5q0hxgosaxr76f.png" alt="FlexiHub on the remote Mac, seeing the Windows PC and its iPhone" width="620" height="660"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Mac: connect the iPhone
&lt;/h3&gt;

&lt;p&gt;Click Connect next to the iPhone. Unlock the phone and tap Trust when it asks. The iPhone shows up in Finder under Locations.&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%2F9m64nn4dsddo7ta70yyo.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%2F9m64nn4dsddo7ta70yyo.png" alt="The iPhone in Finder on the remote Mac" width="800" height="497"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Xcode: sign in
&lt;/h3&gt;

&lt;p&gt;Xcode &amp;gt; Settings &amp;gt; Accounts &amp;gt; + &amp;gt; Apple Account. Sign in here only, not to iCloud in System Settings.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Xcode: set up signing
&lt;/h3&gt;

&lt;p&gt;Pick the team, set your own bundle identifier and let Xcode register the iPhone. If it reports a missing private key, create a new certificate (see below).&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%2Fpyp0u6543ym4gcybd3pq.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%2Fpyp0u6543ym4gcybd3pq.png" alt="Xcode registering the iPhone for development" width="720" height="560"&gt;&lt;/a&gt;&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%2F9z616hupumd38iltn8au.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%2F9z616hupumd38iltn8au.png" alt="Signing set up with an Xcode managed profile" width="800" height="576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Xcode: add HomeKit
&lt;/h3&gt;

&lt;p&gt;Select the app target, click + Capability, add HomeKit and fill in its Usage Description.&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%2F0mfskfdrpp7zkgbuz1b7.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%2F0mfskfdrpp7zkgbuz1b7.png" alt="HomeKit capability in Signing &amp;amp; Capabilities" width="800" height="606"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Run
&lt;/h3&gt;

&lt;p&gt;Choose the iPhone as the run destination and press Run. The first run copies the phone's system libraries.&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%2F20x6sl6vv6omdwpw5son.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%2F20x6sl6vv6omdwpw5son.png" alt="First run: Xcode copying OS library symbols from the iPhone" width="800" height="304"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Run&lt;/th&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;First run (device preparation + install)&lt;/td&gt;
&lt;td&gt;29 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Second run (update over the installed app)&lt;/td&gt;
&lt;td&gt;about 1 min&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&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%2Ftuzh76yuobzk854wtp6d.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%2Ftuzh76yuobzk854wtp6d.png" alt="The app running on the iPhone from the remote Mac" width="800" height="304"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Gotchas we hit
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;"Failed to connect to device".&lt;/strong&gt; Another app was holding the iPhone on Windows. Closing Apple Devices, iTunes and Photos, unlocking the phone and replugging the cable fixed it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windows AutoPlay matters.&lt;/strong&gt; Choose to open the iPhone as a device with files when Windows asks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep the iPhone unlocked.&lt;/strong&gt; A lock makes it reconnect over USB, and the remote link can drop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Missing private key.&lt;/strong&gt; Xcode said the account already had a development certificate for this machine, but its private key was not in the keychain. Don't revoke it if other Macs use it. Create another one instead: Xcode &amp;gt; Settings &amp;gt; Accounts &amp;gt; Manage Certificates &amp;gt; + &amp;gt; Apple Development. A new certificate keeps the same Team ID.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Greyed-out + Capability.&lt;/strong&gt; It only works with the app target selected under TARGETS, not the project.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multiplatform template.&lt;/strong&gt; The new project also targeted macOS and visionOS. Ignore their warnings and don't register the remote Mac as a device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HomeKit usage text.&lt;/strong&gt; Fill in the Usage Description, or the app will crash when it asks for HomeKit access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free demo limits.&lt;/strong&gt; FlexiHub's demo allows 5 sessions, and failed attempts count.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't share the remote Mac's own devices.&lt;/strong&gt; On the Mac, FlexiHub and USB Network Gate also list the Mac's own USB devices, such as the JustMac KVM keyboard and the USB LAN adapter. Leave them locked. If you take the KVM, the Mac stops getting your keyboard and mouse. If that happens, open Actions &amp;gt; Restart on the session page to reboot the Mac.&lt;/li&gt;
&lt;/ul&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%2Frt5jor99iuw2h7w9hsia.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%2Frt5jor99iuw2h7w9hsia.png" alt="Xcode reporting a certificate whose private key is missing on this Mac" width="800" height="496"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  FlexiHub or USB Network Gate
&lt;/h2&gt;

&lt;p&gt;Both worked with the iPhone. The difference is how the two machines find each other.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;FlexiHub&lt;/th&gt;
&lt;th&gt;USB Network Gate (free) + Tailscale&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;How it connects&lt;/td&gt;
&lt;td&gt;Through the vendor's cloud relay&lt;/td&gt;
&lt;td&gt;Directly by IP, over a Tailscale network&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Network setup&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;Install Tailscale on both machines, same account&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost&lt;/td&gt;
&lt;td&gt;Paid subscription after 5 demo sessions&lt;/td&gt;
&lt;td&gt;Free; the free version shares 1 device, non-commercial use only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Best for&lt;/td&gt;
&lt;td&gt;The quickest setup&lt;/td&gt;
&lt;td&gt;Personal projects on a budget&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Without Tailscale, USB Network Gate only works when the PC and the Mac are on the same network, or with port forwarding on your router. Our Mac and laptop sat on different subnets, so a direct connection failed until both joined Tailscale.&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%2Fkqjicjrg27ywjyugfdig.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%2Fkqjicjrg27ywjyugfdig.png" alt="Tailscale on the remote Mac showing both machines" width="799" height="511"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Clean up when you're done: sign out of Xcode, disconnect the iPhone and remove the USB and Tailscale clients from the remote Mac.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we did not test
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A free Personal Team.&lt;/strong&gt; We used a paid developer account. Which capabilities a free account gets is up to Apple.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keeping existing app data.&lt;/strong&gt; We installed a fresh test app. An update with the same bundle identifier and Team ID normally keeps the app's data, but that is iOS behaviour, not something a remote Mac controls. Back up before updating an app with real data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exporting an IPA.&lt;/strong&gt; It wasn't needed: Xcode installs updates straight to the connected iPhone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Latency on slow connections.&lt;/strong&gt; Our test ran over Tailscale, partly on the same Wi-Fi. Over a slow or distant link, the first device preparation will take longer than 29 minutes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;A Windows PC, a real iPhone and a remote Mac are enough for on-device iOS development, including HomeKit. Expect one long first run, then about a minute per build.&lt;/p&gt;

&lt;p&gt;Checklist:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;iPhone trusted on Windows, AutoPlay set to device with files&lt;/li&gt;
&lt;li&gt;Apple Devices, iTunes and Photos closed&lt;/li&gt;
&lt;li&gt;FlexiHub, or USB Network Gate + Tailscale, on both machines&lt;/li&gt;
&lt;li&gt;iPhone visible in Finder on the Mac&lt;/li&gt;
&lt;li&gt;Apple Account signed in to Xcode only&lt;/li&gt;
&lt;li&gt;App target selected before adding capabilities&lt;/li&gt;
&lt;li&gt;iPhone unlocked during the first run&lt;/li&gt;
&lt;li&gt;Clean-up done on the remote Mac&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;We ran this test on a Mac from &lt;a href="https://justmac.app/en/?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;JustMac&lt;/a&gt;, which gives you a Mac in the browser by the day, week or month.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ios</category>
      <category>xcode</category>
      <category>windows</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Why I run AI coding agents on a separate Mac (and how to set one up)</title>
      <dc:creator>Anna Skokova</dc:creator>
      <pubDate>Sun, 15 Nov 2026 00:34:17 +0000</pubDate>
      <link>https://dev.to/anna_skokova_9ca00a251bad/why-i-run-ai-coding-agents-on-a-separate-mac-and-how-to-set-one-up-44d4</link>
      <guid>https://dev.to/anna_skokova_9ca00a251bad/why-i-run-ai-coding-agents-on-a-separate-mac-and-how-to-set-one-up-44d4</guid>
      <description>&lt;p&gt;AI coding agents like &lt;strong&gt;Claude Code&lt;/strong&gt; and &lt;strong&gt;Codex&lt;/strong&gt; are at their best on long tasks: "add offline mode, write the tests, make the build pass". You give them a goal, they work for an hour, you review the result.&lt;/p&gt;

&lt;p&gt;But where should that hour of work happen? Most of us start by running agents on our main laptop. After a while, a few problems show up:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You can't close the lid.&lt;/strong&gt; The agent stops when your laptop sleeps, so you either keep it open all night or babysit it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It's your real machine.&lt;/strong&gt; The agent runs shell commands with your user's permissions, next to your SSH keys, browser sessions, and every other project on your disk.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your laptop is busy.&lt;/strong&gt; Builds, test runs, and simulators eat CPU and battery while you're trying to do something else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Environments drift.&lt;/strong&gt; The agent installs packages, changes global configs, and leaves things behind.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The fix is simple: &lt;strong&gt;give the agent its own computer.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I build &lt;a href="https://justmac.app/en/?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;JustMac&lt;/a&gt;, a service that rents dedicated Macs by the day. I mention it below, but I've tried to cover every option fairly, including the cheaper ones.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Option 1: A Linux VPS (if you don't need macOS)
&lt;/h2&gt;

&lt;p&gt;If your project is a web app, a backend, or anything that doesn't need Apple tools, a cheap Linux server is the most cost-effective choice. Hetzner, DigitalOcean, and similar providers give you a machine for a few dollars a month. SSH in, install your agent, done.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; web, backend, scripts, data work.&lt;br&gt;
&lt;strong&gt;Not good for:&lt;/strong&gt; anything that needs Xcode, the iOS Simulator, Safari, or other macOS-only tools.&lt;/p&gt;
&lt;h2&gt;
  
  
  Option 2: A container or sandbox on your own machine
&lt;/h2&gt;

&lt;p&gt;Dev containers, Docker, or the sandboxing built into some agents limit what the agent can touch. It's free and fast to set up.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; reducing risk while you're at the computer anyway.&lt;br&gt;
&lt;strong&gt;Not good for:&lt;/strong&gt; long unattended runs. Your laptop still has to stay on, and it's still your machine doing the work.&lt;/p&gt;
&lt;h2&gt;
  
  
  Option 3: A spare Mac at home
&lt;/h2&gt;

&lt;p&gt;An old Mac mini on a shelf, with SSH or Screen Sharing enabled, is a great agent box if you already have one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; people who own a second Mac.&lt;br&gt;
&lt;strong&gt;Not good for:&lt;/strong&gt; everyone else. You also need to deal with remote access from outside your home network.&lt;/p&gt;
&lt;h2&gt;
  
  
  Option 4: A rented, dedicated Mac
&lt;/h2&gt;

&lt;p&gt;You rent a physical Mac in a data center and connect to it remotely. Providers include MacinCloud, MacStadium, AWS EC2 Mac instances, and smaller services like &lt;a href="https://justmac.app/prices" rel="noopener noreferrer"&gt;JustMac&lt;/a&gt;. This is the option for when the agent needs &lt;strong&gt;macOS itself&lt;/strong&gt;: building iOS apps, running tests in the Simulator, checking Safari, or using macOS-only tooling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; iOS/macOS projects, people without a Mac, short bursts of heavy agent work.&lt;br&gt;
&lt;strong&gt;Not good for:&lt;/strong&gt; 24/7 use for months, where buying hardware becomes cheaper.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Apple's macOS licence requires a minimum lease of 24 hours, so rented Macs are usually billed by the day, week, or month.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;
  
  
  Setting up an agent Mac, step by step
&lt;/h2&gt;

&lt;p&gt;I'll use a rented Mac in the examples, but the steps are the same on any Mac you control.&lt;/p&gt;
&lt;h3&gt;
  
  
  1. Install the basics
&lt;/h3&gt;

&lt;p&gt;Open &lt;strong&gt;Terminal&lt;/strong&gt; and install Homebrew, Git, and Node.js:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/bin/bash -c &lt;span class="s2"&gt;"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"&lt;/span&gt;
brew install git node tmux
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you're building for Apple platforms, install &lt;strong&gt;Xcode&lt;/strong&gt; from the App Store with your own Apple Account and open it once so it finishes installing its components.&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%2F5wrvoghah9i7pm8o15rc.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%2F5wrvoghah9i7pm8o15rc.png" alt="Terminal on a rented Mac after installing git, node and tmux with Homebrew" width="800" height="503"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Install your agent
&lt;/h3&gt;

&lt;p&gt;Both major agents install with a single command. Check the official docs for the latest instructions, but at the time of writing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Claude Code&lt;/span&gt;
npm install -g @anthropic-ai/claude-code

&lt;span class="c"&gt;# Codex&lt;/span&gt;
npm install -g @openai/codex
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Sign in with your own subscription or API key when the agent asks.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Give the agent its own credentials
&lt;/h3&gt;

&lt;p&gt;This is the most important step, and the one people skip. &lt;strong&gt;Don't reuse your personal credentials on the agent machine.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a &lt;strong&gt;separate Git token&lt;/strong&gt; limited to the repositories the agent needs. On GitHub, a fine-grained personal access token scoped to one or two repos is ideal.&lt;/li&gt;
&lt;li&gt;If you use an API key, create a &lt;strong&gt;dedicated key&lt;/strong&gt; for this machine and set a &lt;strong&gt;spending limit&lt;/strong&gt; on it.&lt;/li&gt;
&lt;li&gt;Don't sign in to your personal email, password manager, or browser profile on this machine.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If something goes wrong, you revoke one token and one key, and your main accounts are untouched.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Clone the project
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/you/your-project.git
&lt;span class="nb"&gt;cd&lt;/span&gt; your-project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Install the project's dependencies and make sure the build and tests run &lt;strong&gt;before&lt;/strong&gt; you hand the task to the agent. An agent fixing a broken environment burns a lot of tokens on the wrong problem.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Run the agent inside tmux
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;tmux&lt;/code&gt; keeps a terminal session alive after you disconnect, so the agent continues even if you close the browser tab or lose your connection:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tmux new -s agent
claude   &lt;span class="c"&gt;# or: codex&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Give it the task. To leave it running, detach with &lt;strong&gt;Ctrl+B&lt;/strong&gt;, then &lt;strong&gt;D&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Later, from any computer, reconnect and pick up where it left off:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tmux attach -t agent
&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%2Ffre6ui63u3hitipbmjm4.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%2Ffre6ui63u3hitipbmjm4.png" alt="Claude Code running the test suite inside a tmux session on the remote Mac" width="799" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Make the agent work on a branch
&lt;/h3&gt;

&lt;p&gt;Ask the agent to work on a separate branch and to commit as it goes. Then you review the result as a normal pull request:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Create a branch called offline-mode.
Add an offline mode with tests.
Run the full test suite and the build.
Commit when everything passes.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When you come back, you get a branch and a test report instead of "it's still running on my laptop, don't close it".&lt;/p&gt;

&lt;p&gt;Here's what that looks like in practice. I asked the agent to run an existing test suite without changing files. It ran each suite separately, reported which passed and which couldn't run, and asked before installing anything:&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%2Fcvk60ltwg588sgzfly5l.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%2Fcvk60ltwg588sgzfly5l.png" alt="Claude Code reporting test results for each suite" width="800" height="503"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Clean up
&lt;/h3&gt;

&lt;p&gt;When the job is done:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;push the branch;&lt;/li&gt;
&lt;li&gt;revoke the Git token and the API key you created for this machine, if you won't use them again;&lt;/li&gt;
&lt;li&gt;sign out of your Apple Account in Xcode if you used one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On JustMac the whole Mac is erased to factory settings an hour after the rental ends anyway. On your own hardware, you'll want to do this cleanup yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which option should you choose?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Your situation&lt;/th&gt;
&lt;th&gt;Best option&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Web/backend project, no macOS needed&lt;/td&gt;
&lt;td&gt;Linux VPS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You stay at the computer while the agent works&lt;/td&gt;
&lt;td&gt;Container or sandbox&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You already own a spare Mac&lt;/td&gt;
&lt;td&gt;Use it as the agent box&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;iOS/macOS project, Xcode or Simulator needed&lt;/td&gt;
&lt;td&gt;Rent a dedicated Mac&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Agent work every day, for months&lt;/td&gt;
&lt;td&gt;Buy a Mac mini&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;My rule of thumb: &lt;strong&gt;the agent gets its own machine and its own credentials.&lt;/strong&gt; It costs very little, and it turns "I hope it doesn't break anything" into "worst case, I revoke one token".&lt;/p&gt;




&lt;p&gt;&lt;em&gt;If you need macOS for your agents, &lt;a href="https://justmac.app/en/vibe-coding?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;JustMac&lt;/a&gt; rents dedicated Mac minis and MacBook Airs by the day, week, or month. The desktop opens in a browser tab, and the Mac stays awake while your rental lasts. Questions or a different setup that works for you? Share it in the comments.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>claude</category>
      <category>vibecoding</category>
    </item>
    <item>
      <title>How to build and publish an iOS app from Windows (without buying a Mac)</title>
      <dc:creator>Anna Skokova</dc:creator>
      <pubDate>Tue, 10 Nov 2026 10:47:02 +0000</pubDate>
      <link>https://dev.to/anna_skokova_9ca00a251bad/how-to-build-and-publish-an-ios-app-from-windows-without-buying-a-mac-3hho</link>
      <guid>https://dev.to/anna_skokova_9ca00a251bad/how-to-build-and-publish-an-ios-app-from-windows-without-buying-a-mac-3hho</guid>
      <description>&lt;p&gt;You've built your app. Maybe it's Flutter or React Native and the Android version is already on Google Play. Maybe it's a small Swift project you wrote in VS Code. Then you hit the wall every Windows developer hits sooner or later:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Xcode only runs on macOS.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You need Xcode (or at least Apple's build tools) to compile an iOS app, sign it and upload it to App Store Connect. There's no official Windows version, and there isn't going to be one.&lt;/p&gt;

&lt;p&gt;So what are your options if you don't own a Mac? Here's an honest overview, followed by a full walkthrough of the approach I use.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I build &lt;a href="https://justmac.app/en/?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;JustMac&lt;/a&gt;, one of the services mentioned below. I've tried to describe every option fairly, including the ones that are free.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Option 1: Let a CI service build it for you
&lt;/h2&gt;

&lt;p&gt;If your project is Flutter or React Native, you may not need a Mac desktop at all:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Expo EAS Build&lt;/strong&gt; builds iOS apps in the cloud for Expo / React Native projects, and &lt;strong&gt;EAS Submit&lt;/strong&gt; can upload the result to App Store Connect.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codemagic&lt;/strong&gt; does the same for Flutter (and other frameworks).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Actions&lt;/strong&gt; has macOS runners. They're free for public repositories and billed per minute for private ones.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; repeatable builds once everything works.&lt;br&gt;
&lt;strong&gt;Not great for:&lt;/strong&gt; the first setup. When signing fails, a CocoaPods dependency breaks or you need to see your app in the iOS Simulator, debugging through CI logs is slow and painful.&lt;/p&gt;
&lt;h2&gt;
  
  
  Option 2: Buy a (used) Mac mini
&lt;/h2&gt;

&lt;p&gt;A second-hand Apple silicon Mac mini is the most capable long-term option. If you'll ship iOS apps every week, it's probably worth it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; daily iOS development.&lt;br&gt;
&lt;strong&gt;Not great for:&lt;/strong&gt; "I need to ship one build this week." It's an upfront cost, and you need a desk, a screen and time to set it up.&lt;/p&gt;
&lt;h2&gt;
  
  
  Option 3: Rent a remote Mac
&lt;/h2&gt;

&lt;p&gt;You rent a real Mac in a data centre and use its desktop remotely. There are several providers: MacinCloud, MacStadium, AWS EC2 Mac instances, and smaller services like &lt;a href="https://justmac.app/en/prices?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;JustMac&lt;/a&gt; (mine). They differ mainly in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;How you connect:&lt;/strong&gt; a VNC / remote desktop client, or simply a browser tab.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Minimum rental period:&lt;/strong&gt; Apple's macOS licence requires a minimum lease of 24 hours, so you'll usually see daily, weekly or monthly plans.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dedicated or shared:&lt;/strong&gt; a whole physical Mac versus a user account on a shared machine.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; occasional builds, first setup, debugging signing problems, testing in the Simulator.&lt;br&gt;
&lt;strong&gt;Not great for:&lt;/strong&gt; heavy daily use, where buying becomes cheaper.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ What about a "Hackintosh" or a macOS virtual machine on your PC? Apple's licence only allows macOS on Apple hardware, and these setups break regularly with Xcode updates. I wouldn't build anything you plan to publish on them.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;
  
  
  Walkthrough: from Windows to TestFlight with a rented Mac
&lt;/h2&gt;

&lt;p&gt;Here's the full process. I'll use JustMac in the screenshots, but the steps on the Mac are the same on any remote Mac, or on a Mac you own.&lt;/p&gt;
&lt;h3&gt;
  
  
  What you need first
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;An &lt;strong&gt;Apple Account&lt;/strong&gt; (free).&lt;/li&gt;
&lt;li&gt;An &lt;strong&gt;Apple Developer Program&lt;/strong&gt; membership (US$99/year). You don't need it to run your app in the Simulator, but you do need it to upload to TestFlight or the App Store.&lt;/li&gt;
&lt;li&gt;Your project in a &lt;strong&gt;Git repository&lt;/strong&gt;, or as an archive you can upload.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Step 1: Get a Mac and open it
&lt;/h3&gt;

&lt;p&gt;Pick a machine, pay for a day, and open the desktop. With JustMac it opens in a browser tab, so there's nothing to install on Windows.&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%2Fjvk7vk2i6ltc9qtpf8xz.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%2Fjvk7vk2i6ltc9qtpf8xz.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 2: Install Xcode
&lt;/h3&gt;

&lt;p&gt;Open the &lt;strong&gt;App Store&lt;/strong&gt; on the Mac, sign in with your own Apple Account and install &lt;strong&gt;Xcode&lt;/strong&gt;. It's a big download, so start this first and grab a coffee.&lt;/p&gt;

&lt;p&gt;Then open Xcode once and let it install its additional components (including the iOS Simulator runtime).&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%2Fy27zzqwjdermon27zhen.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%2Fy27zzqwjdermon27zhen.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 3: Bring your project over
&lt;/h3&gt;

&lt;p&gt;The easiest way is Git. Open &lt;strong&gt;Terminal&lt;/strong&gt; and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/you/your-app.git
&lt;span class="nb"&gt;cd&lt;/span&gt; your-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No Git repository? Upload an archive instead. In JustMac you can drag a file onto the Mac window.&lt;/p&gt;

&lt;p&gt;For &lt;strong&gt;Flutter&lt;/strong&gt;, install the toolchain with Homebrew first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/bin/bash -c &lt;span class="s2"&gt;"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"&lt;/span&gt;
brew install --cask flutter
brew install cocoapods
flutter pub get
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For &lt;strong&gt;React Native&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew install node cocoapods
npm install
&lt;span class="nb"&gt;cd&lt;/span&gt; ios &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; pod install &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; ..
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 4: Run it in the Simulator
&lt;/h3&gt;

&lt;p&gt;Before worrying about signing, make sure the app actually builds and runs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Native Swift:&lt;/strong&gt; open the &lt;code&gt;.xcodeproj&lt;/code&gt; / &lt;code&gt;.xcworkspace&lt;/code&gt;. In the toolbar at the top of Xcode, click the device name next to your app's name and pick an iPhone from the &lt;strong&gt;iOS Simulators&lt;/strong&gt; section. Then press &lt;strong&gt;Run&lt;/strong&gt; (⌘R).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flutter:&lt;/strong&gt; &lt;code&gt;open -a Simulator&lt;/code&gt;, then &lt;code&gt;flutter run&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;React Native:&lt;/strong&gt; &lt;code&gt;npx react-native run-ios&lt;/code&gt; (or &lt;code&gt;npx expo run:ios&lt;/code&gt; with Expo).&lt;/li&gt;
&lt;/ul&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%2Fiwywlelw096wsfplehb4.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%2Fiwywlelw096wsfplehb4.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is where most "it works on Android" projects find their iOS-only problems: missing permissions in &lt;code&gt;Info.plist&lt;/code&gt;, CocoaPods version conflicts, or a minimum iOS version that's too low for a dependency. Fix them now, while you can see what's happening.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 5: Set up signing
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;In Xcode, go to &lt;strong&gt;Settings → Accounts&lt;/strong&gt; and add your Apple Account.&lt;/li&gt;
&lt;li&gt;Select your project, then the app target, then the &lt;strong&gt;Signing &amp;amp; Capabilities&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Tick &lt;strong&gt;Automatically manage signing&lt;/strong&gt; and choose your &lt;strong&gt;Team&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Make sure the &lt;strong&gt;Bundle Identifier&lt;/strong&gt; is unique (for example &lt;code&gt;com.yourname.yourapp&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Xcode creates the certificate and provisioning profile for you.&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%2Fykm6bgzvcridendvp65d.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%2Fykm6bgzvcridendvp65d.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 6: Create the app in App Store Connect
&lt;/h3&gt;

&lt;p&gt;In a browser, open &lt;a href="https://appstoreconnect.apple.com" rel="noopener noreferrer"&gt;App Store Connect&lt;/a&gt;, go to &lt;strong&gt;Apps → + → New App&lt;/strong&gt;, and choose the same Bundle ID you used in Xcode. You only do this once per app.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 7: Archive and upload
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Look at the toolbar at the top of the Xcode window. In the middle you'll see your app's name followed by a device, for example &lt;strong&gt;MyApp › iPhone 16&lt;/strong&gt;. Click the device name (&lt;strong&gt;iPhone 16&lt;/strong&gt;) and choose &lt;strong&gt;Any iOS Device (arm64)&lt;/strong&gt; from the list. This tells Xcode to build for real iPhones instead of the Simulator.&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Product → Archive&lt;/strong&gt;. (If &lt;strong&gt;Archive&lt;/strong&gt; is greyed out, a simulator is still selected: go back to step 1.)&lt;/li&gt;
&lt;li&gt;When the Organizer window opens, select the archive and click &lt;strong&gt;Distribute App → App Store Connect → Upload&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For Flutter you can build the archive from the terminal with &lt;code&gt;flutter build ipa&lt;/code&gt;, then upload it from the Organizer or with Apple's &lt;strong&gt;Transporter&lt;/strong&gt; app.&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%2F9nnh44s1mohalx9ipjna.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%2F9nnh44s1mohalx9ipjna.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 8: TestFlight and review
&lt;/h3&gt;

&lt;p&gt;After a few minutes of processing, the build appears in App Store Connect under &lt;strong&gt;TestFlight&lt;/strong&gt;. Add yourself as a tester, install the &lt;strong&gt;TestFlight&lt;/strong&gt; app on an iPhone and try the real thing. When you're happy, attach the build to a version and submit it for App Store review.&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%2Fr8f9cnnp445qqbpdsec7.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%2Fr8f9cnnp445qqbpdsec7.PNG" alt=" " width="800" height="1738"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Before your rental ends
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Push your code&lt;/strong&gt; (including any changes Xcode made to project files) back to Git.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sign out&lt;/strong&gt; of your Apple Account in Xcode and the App Store if you want to be extra careful. On JustMac the Mac is wiped to factory settings an hour after the rental ends anyway.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Which option should you choose?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Situation&lt;/th&gt;
&lt;th&gt;Best option&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Expo / React Native project that already builds&lt;/td&gt;
&lt;td&gt;Expo EAS Build&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Flutter project, builds already work&lt;/td&gt;
&lt;td&gt;Codemagic or GitHub Actions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;First iOS build, signing problems, need the Simulator&lt;/td&gt;
&lt;td&gt;Rent a Mac for a day or a week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You'll do iOS development every week&lt;/td&gt;
&lt;td&gt;Buy a Mac mini&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;My personal rule: &lt;strong&gt;rent first, automate later.&lt;/strong&gt; Getting the first build through signing and App Store Connect is much easier when you can see a real Xcode window. Once it works, moving the build to CI is straightforward.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;If you want to try the browser-based approach, &lt;a href="https://justmac.app/en/xcode-on-windows?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;JustMac&lt;/a&gt; rents dedicated Mac minis and MacBook Airs by the day, week or month, and the desktop opens in a browser tab. Questions about any of the steps above? Ask in the comments and I'll help.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ios</category>
      <category>xcode</category>
      <category>windows</category>
      <category>mobile</category>
    </item>
  </channel>
</rss>
