Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Running Xcode on top of iPad

Using the latest Xcode 14.3 and the iPad Pro (12.9 Inch) with iOS 16.4 beta, I’ve been able to run Xcode on top of the iPad Simulator. Running apps from Xcode will run on this Simulator directly, and debugging works as usual.

The window might be small, but reading most of the code is still doable. While you’re developing faster when Xcode doesn’t run on top of the iPad, it’s still great this option exists. Let me explain how I did this!

Running Xcode on top of the iPad Simulator

This is the final result of running Xcode on top of the iPad:

Xcode is running on top of the iPad Pro Simulator.
Xcode is running on top of the iPad Pro Simulator.

How it works

I’ll explain to you how it works. It’s pretty simple, but it comes with a few steps.

Enabling Stage Manager

First, you need to enable Stage Manager to get the same result. The stage manager isn’t enabled by default, so you have to run this command in the terminal for every iPad Simulator individually:

xcrun simctl spawn booted defaults write -g SBChamoisWindowingEnabled -bool true

Or, if you’re running RocketSim, from within the Status Bar Menu:

You can enable Stage Manager from within RocketSim.
You can enable Stage Manager from within RocketSim.

Note that you’ll have to have the iPad Simulator open as the front-most Simulator before running this action in RocketSim.

Running Xcode on top of the iPad Pro Simulator

Once you’ve enabled stage manager, you can start running Xcode on top of the Simulator, similar to mine. I’ve recorded a video to explain:

Conclusion

Running Xcode on top of the iPad Pro Simulator can be a great way to step out of the routine and develop apps in a different environment. I hope you’ve enjoyed this extra article, published on Saturday, April 1st, and make sure to join the SwiftLee Community (free) for extra benefits.

Have you enjoyed this post? Please help me spread the word!

 

Stay updated with the latest in Swift & SwiftUI

The 2nd largest newsletter in the Apple development community with 18,327 developers.


Featured SwiftLee Jobs

Find your next Swift career step at world-class companies with impressive apps by joining the SwiftLee Talent Collective. I'll match engineers in my collective with exciting app development companies. SwiftLee Jobs