Use Xcode on an iPad with a rented Mac
Apple makes no Xcode for iPad. Xcode runs on macOS only. Your iPad does have Swift Playground, a free Apple app that can build and submit some SwiftUI apps. For everything else, you need a real Mac. You can rent one and use it from your iPad. This guide shows when Swift Playground is enough, and three ways to reach a Mac when it is not.
Is there Xcode for iPad?
No. Xcode is a Mac app. No version runs on iPadOS, and Apple has not announced one. What Apple offers on the iPad is Swift Playground. It is free and needs iPadOS 18 or later.
When Swift Playground is enough
Swift Playground is more than a learning app. Apple says you can create real apps on iPad with SwiftUI. You can add Swift packages, images and sound. When the app is done, you can submit it to the App Store from the iPad. Its App Store page also lists UIKit among the frameworks it supports.
Swift Playground is a good fit if:
- You are learning Swift and SwiftUI.
- Your app is a small SwiftUI app you start from scratch.
- You are making an app playground for the Swift Student Challenge.
- You only need to test the app on the iPad you are holding.
When you need real Xcode
Swift Playground opens its own app projects, which are Swift packages. It does not open an Xcode project. Apple says you can move a project to Xcode on a Mac for a more advanced editing experience. You need that Mac when:
- Your app is a full Xcode project. Most existing apps are .xcodeproj or .xcworkspace projects, with several targets, widgets or extensions.
- You work on an older UIKit app. Storyboards and Interface Builder live in Xcode.
- A package needs Xcode. Some packages and build plugins expect Xcode's full toolchain.
- You need the Simulator. It ships with Xcode, so it runs only on a Mac. On MacRun, Xcode 27.1 includes the iPhone Duo simulator. See the iPhone Duo simulator guide.
- You need Instruments. Apple's profiler also comes with Xcode.
- You use Flutter, React Native or Unity. Each of them hands the iOS build to Xcode on a Mac. See Flutter, React Native and Unity.
- You want full control of the archive. That means build settings, signing, schemes and the Organizer window.
- You need the newest SDK. Swift Playground 4.7 builds with the iOS 26 SDK. Xcode 27.1 has the iOS 27.1 SDK.
The answer: a real Mac you drive from the iPad
A rented Mac runs the real Xcode. Your iPad shows its screen, or a terminal on it. A MacRun Mac is a dedicated M6 Mac mini in our own private facility in New Jersey. It comes with Xcode 27.1 and the iOS 27.1 simulator. Xcode 26.6 is installed too. You are an admin, so you can add anything else with Homebrew.
Your portal offers three ways in. You can use more than one. Each has a different strength.
Way 1: the browser, nothing to install
Open your MacRun portal in Safari on the iPad. Tap Open my Mac in the browser. The Mac's desktop opens in the same tab. Sign in with the user name runner and the screen password from the portal. If the Mac shows its lock screen, enter the same password again.
- Tap to click. Touch and hold to right-click.
- Tap the small tab on the left edge of the screen to open the toolbar.
- Tap the keyboard button in the toolbar to type.
- The Extra keys button gives you Esc, Ctrl, Alt and Tab. The key with the Windows logo works as the Command key.
- To read small text, open Settings in the toolbar, choose None under scaling, and drag the screen with the hand button.
- Turn the iPad sideways to see more of the Mac. You can rotate it without losing the connection.
This is best for a quick look at the screen. It is smooth in North America and slow from far away. Copy and paste between the iPad and the Mac does not work here. For long Xcode sessions, use one of the apps below.
Way 2: the RustDesk app, the smoothest screen
RustDesk is the smoothest way to see the screen, and the best one from far away. It is set up on some of our Macs, and we are adding it to the rest. If your portal shows a RustDesk card, you can use it. Both apps below are free on the App Store.
- Install Tailscale on the iPad. It needs iPadOS 16.6 or later. Sign in with the account you gave us, and allow the VPN setup it asks for.
- In the portal, request access for that Tailscale account. Accept the share from the link in the portal or in Tailscale's email.
- Install RustDesk Remote Desktop. It needs iPadOS 13 or later.
- Type the Mac's address from the portal into the Remote ID box and tap the arrow.
- Enter the screen password from the portal.
The first time, the Mac may ask to allow RustDesk. Click Allow. The RustDesk app only controls other computers. It does not share the iPad's own screen. Its release notes list fixes for physical keyboards, mice and the Magic Keyboard. We have not tested every shortcut from an iPad. Try Command C and Command V in TextEdit first.
Way 3: a terminal app for builds and agents
SSH is the fastest way in from anywhere. There is no screen to send, only text. Use it for builds, git, scripts and AI agents. It also goes over Tailscale, so set that up first, as in Way 2.
Two well-known iPad terminal apps are Blink Shell and Termius. Both are free to install. Blink has a 14-day trial before you pay. Termius has a free plan with SSH. Both work with a hardware keyboard. Connect with the address and user from the portal. No password or key is needed, because Tailscale signs you in.
ssh runner@<your-mac-name> xcodebuild -list xcodebuild -scheme MyApp \ -destination 'platform=iOS Simulator,name=iPhone Duo' build
Use your own scheme name. Start a tmux session before a long build or an agent run. Then the work keeps going if the iPad sleeps or the app closes. Our tmux guide shows how, with Claude Code as the example.
tmux new -s work # later, after a reconnect tmux attach -t work
Over SSH, pbcopy and pbpaste use the Mac's clipboard. That is a handy way to move text when the screen apps do not.
How far away you are matters
Every keystroke goes to the Mac, and every screen change comes back. On October 23, 2026, we tested this on two of our Macs. We added 240 ms to the round trip. That is about what a customer in Sydney or Singapore sees.
- Apple's Screen Sharing showed 3.8 frames a second. RustDesk showed about 27.
- On a busy screen, a key took 794 ms to appear with Screen Sharing. With RustDesk it took 396 ms.
- With no added delay, Screen Sharing was faster: 86 ms per key against about 165 ms.
The browser desktop works like Screen Sharing. So near New Jersey, the browser is quick and needs no setup. From Europe, Asia or Australia, use RustDesk if your Mac has it, and SSH for builds.
Make the iPad work like a desk
- Add a keyboard. A Magic Keyboard or any Bluetooth keyboard makes Xcode usable. The on-screen keyboard covers half the Mac's screen.
- Add a trackpad or a mouse. Xcode has small targets. A pointer is far easier than a finger.
- Turn the iPad sideways. The Mac's screen is wide, so landscape shows more of it.
- Use Stage Manager or a second screen. With iPadOS 26, Stage Manager runs on most recent iPads. Moving windows to an external display needs an M-series iPad Air or iPad Pro, or a few older iPad Pro models. Apple's support page has the list.
- Learn a few Xcode shortcuts. Command B builds. Command R builds and runs. Command U runs the tests. Command period stops.
Put the app on your iPhone or iPad
A remote Mac cannot see a device near you. You cannot plug your iPhone into it. Use TestFlight instead. Archive the app in Xcode on the Mac and upload it to App Store Connect. Then install it from the TestFlight app on your iPhone, or on the same iPad. You need the Apple Developer Program, which is 99 USD a year. Our publishing guide covers each step.
What it costs
A MacRun day pass is $15 for a dedicated M6 Mac mini. A week is $59. You pay once and nothing renews. The Mac is wiped at the end, so push your code first. For steady work, the monthly plan is $104 for the first month, then $139 a month.
Who should not rent a Mac for this
If Swift Playground already builds your app, keep using it. It is free, and it runs on the iPad with no lag. If you build apps every day for years, a Mac of your own costs less over time. From the Windows side, see Xcode on Windows. For the wider choice, read developing iOS apps without a Mac.
Frequently asked questions
Is there Xcode for iPad?
+
No. Xcode runs only on macOS, and Apple has not announced an iPad version. On the iPad, Apple offers Swift Playground, which is free. For real Xcode, use a Mac, either your own or a rented one you control from the iPad.
Can I build and publish an iOS app on an iPad alone?
+
Some apps, yes. Swift Playground builds SwiftUI apps on the iPad and can submit them to the App Store. A full Xcode project, the Simulator, Instruments, or a Flutter, React Native or Unity build needs Xcode on a Mac.
Can I use a remote Mac from Safari on my iPad?
+
Yes. The MacRun portal has a button that opens the Mac's desktop in Safari, with nothing to install. Tap to click and touch and hold to right-click. It is smooth in North America and slow from far away. For long sessions, the RustDesk app or SSH works better.
Which iPad apps do I need to reach a rented Mac?
+
For the browser way, none. For RustDesk, install Tailscale and RustDesk Remote Desktop, both free on the App Store. For a terminal, add Tailscale and an SSH app such as Blink Shell or Termius.
Can I test my app on my iPhone with a rented Mac?
+
Yes, through TestFlight. Archive and upload the app from Xcode on the Mac, then install it from the TestFlight app on your iPhone or iPad. You cannot plug your iPhone into the remote Mac.
How smooth is a remote Mac from an iPad far from New Jersey?
+
In our own test with 240 ms added to the round trip, Screen Sharing showed 3.8 frames a second and RustDesk about 27. A key took 794 ms to appear with Screen Sharing and 396 ms with RustDesk. Closer to New Jersey, Screen Sharing is faster.