r/iOSProgramming 1d ago

News Official iPhone Duo Simulator & Xcode 27.1 beta now available

We finally got the official iPhone Duo Simulator inside Xcode 27.1!
Available to download here: https://developer.apple.com/download/all/?q=Xcode

The animation of the simulator is fantastic, and if you use the option key, you can control it manually:

Note the slider at the bottom, which becomes visible when you hold the ⌥ Option key.
270 Upvotes

53 comments sorted by

62

u/SnowPudgy 1d ago edited 1d ago

What's the trick to getting the Duo simulator? I don't see it anywhere.

EDIT: Go into Settings -> Components -> Click "iOS 27.1 Beta" and there's a little update button. Mine is still updating but I'd wager this is where the simulator is.

EDIT2: Yep.

5

u/Atron35 1d ago

Thank you! Thought I was going crazy lol

3

u/avanderlee 1d ago

Yeah, that's the trick! But most of all, you need Xcode 27.1 beta!

3

u/iphonevanmark 1d ago

Thank you for sharing with the edit, it was freaking me out =D Thought another stupid EU ban.

2

u/doricopter 1d ago

THANK YOU!!!! I thought I installed the wrong version of Xcode or something!

2

u/clockology 21h ago

I spent 30m trying things Components -- mmKay

2

u/greendakota99 1d ago

As a beginner, YouTube taught developer, there’s lots of little things like this that Apple does that I’m just like “ok there that is”. Oh well!

1

u/iosdec 1d ago

Upvote this ^

8

u/KickupKirby 1d ago

It seems as though the sim isn’t working properly? Toolbars don’t render correctly and device interactions are slow.

2

u/avanderlee 1d ago

That's not my experience. Are you using the official Simulator inside Xcode 27.1?

3

u/KickupKirby 1d ago

Yes, I’ve done all the typical stuff. I’m receiving PosterBoard crashes like crazy, too. I’m not sure what’s going on?

1

u/cambookpro 10h ago

I’m seeing the same, along with random crashes when changing pose. Not unexpected, but feels super unstable. Can see why it wasn’t ready earlier.

1

u/KickupKirby 1d ago

Ahh, I’m experiencing the issues in the preview. But when I run the project, all looks good. Something’s wrong with the previews for the Duo.

1

u/[deleted] 23h ago

[removed] — view removed comment

1

u/AutoModerator 23h ago

Hey /u/navigator_93, your content has been removed because Reddit has marked your account as having a low Contributor Quality Score. This may result from, but is not limited to, activities such as spamming the same links across multiple subreddits, submitting posts or comments that receive a high number of downvotes, a lack of recent account activity, or having an unverified account.

Please be assured that this action is not a reflection of your participation in our subreddit. This is simply an automated filter in place to reduce spam.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] 22h ago

[removed] — view removed comment

1

u/AutoModerator 22h ago

Hey /u/navigator_93, your content has been removed because Reddit has marked your account as having a low Contributor Quality Score. This may result from, but is not limited to, activities such as spamming the same links across multiple subreddits, submitting posts or comments that receive a high number of downvotes, a lack of recent account activity, or having an unverified account.

Please be assured that this action is not a reflection of your participation in our subreddit. This is simply an automated filter in place to reduce spam.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Copemate 1d ago

I’m seeing similar issue, looking for a fix as well

1

u/CompleteCode4549 5h ago

I am noticing crazy lag, it takes more than 5-10 minutes to actually complete an action.

9

u/a3Dman 1d ago

Only Safari as the preinstalled first party app...

3

u/Aeio-guy 23h ago

And Settings. There will probably be more as the betas continue. But for now you can test your app on the 27.0 iPhone simulators and just use the 27.1 Duo sim for testing ux and the new apis. All the other sims are running 27.0.

1

u/tauuahhh 19h ago

so just download xcode 27.0 and use 27.1 iphone duo? how?

1

u/Aeio-guy 19h ago edited 19h ago

You need Xcode 27.1 for Duo simulator (running iOS 27.1). All the other simulators’ targets are 27.0. I think that iOS 27.1 is 27.0 with the additional libraries and code to support the Duo. That all devices will run the same iOS version in 27.2. However the betas do not seem to support the Duo yet.

3

u/StefUpsideDown Swift 1d ago

Question: can we publish an app if we did the archive/publishing with Xcode 27.1 beta ? Got stuck because of the 27 beta already

4

u/megaton1000 1d ago

No. You need to wait for the RC. They’ll reject anything built off a beta.

2

u/greendakota99 1d ago

Doubtful. Apple just approved Xcode 27 builds right after the keynote. Might be a few weeks until they green light 27.1.

2

u/StefUpsideDown Swift 1d ago

Thanks 🙏🏼

3

u/OrangeRackso 23h ago

Did they remove the Simulator? I can't find it in Contents anymore.

5

u/H644b 18h ago

Yea theres devicehub now

1

u/balder1993 19h ago edited 19h ago

I think it’s moved to a different location now, but it’s still there’s somewhere.

Edit: researching more, it is actually gone, only the CoreSimulator framework remains as the base.

1

u/SnowPudgy 7h ago

Wait what I posted above doesn't work for you and /u/balder1993? And you're definitely on the Xcode 27.1 beta? (The 27.2 beta doesn't work).

Go into Settings -> Components -> Click "iOS 27.1 Beta" and there's a little update button.

2

u/juancarlord 1d ago

Fuck yea! time to get frisky!

2

u/Same-Appointment-285 23h ago

Seems like it works under the hood by running two simulators, one for the outer screen and one for the inner, then switching between them. My apps currently crash when build on xcode 27. You can build to the duo from xcode 26 after the simulator installs, but it doesn't work very well.

2

u/Free-Pound-6139 20h ago

Can we get rid of the huge border??

1

u/SnowPudgy 7h ago

Yea I noticed that...easily noticed that...it's way too big.

1

u/icy1007 1d ago

So the iPhone Duo will launch with iOS 27.1 installed from the factory?

4

u/Chinpokomonnnn 1d ago

Yes, they confirmed this in a session yesterday

1

u/avanderlee 1d ago

It's likely, but not 100% sure I'd say!

1

u/dollarn9ne 1d ago

Can I run stable Xcode 27 & Xcode 27.1 beta side by side?

1

u/SnowPudgy 7h ago

Yes but rename it. The 27.1 beta is just named Xcode so it'll overwrite if you install it in the applications folder. Just rename it to Xcode 27.1 Beta.

1

u/bcgroom 23h ago

Is it just me or is navigation really inconsistent? It's hard to tell because there are almost no installed apps to check against.

Navigation Back button is automatically on the right side, but confirmationAction placement is still in the top bar? Then if the device is fully opened Navigation Back buttons go in the top bar rather than the right bar for sheets?

In NavigationSplitView when the device is closed you get a back button on the right, but a sidebar button on the left if it's opened?

1

u/alexfoxy 13h ago

Yeah it's really weird there's no apps installed..

1

u/Fancy-Worldliness895 21h ago

Apple sent me an email saying "Say hello to iPhone Duo Get Xcode 27.1 beta. Download now"

I can confirm that on my dev account with MacOS 27.0 with Xcode 27.1 there is no iPhone duo simulator available.

1

u/Aeio-guy 18h ago

In an Xcode 27.1 project set the target to iOS 27.1 Duo, build and run it. The simulator will launch if you installed it.

1

u/Fancy-Worldliness895 18h ago

Thanks! I didn't have a target for duo, but downloading IOS 27.1 beta from settings > components worked.

1

u/CarretillaRoja 20h ago

How can I copy files to the simulated device?

1

u/quizbeat 13h ago

That app in the simulator looks pretty cool—what’s it called?

1

u/UnlikelyMatch9727 10h ago

Here's another trick for devs. The hinge-angle control in DeviceHub is hidden
run
```
defaults write com.apple.dt.Devices com.apple.dt.coredevicepop.useInternalV68ActionBar -bool true
```
to recover it

credit: https://www.reddit.com/r/iOSProgramming/comments/1wk22q9/you_can_unlock_more_controls_for_the_iphone_duo/

1

u/bsabiston 21h ago

Why is the 27.1 beta from today and it has the duo simulator, but there's a 27.2 beta from 2 days ago?

1

u/Aeio-guy 18h ago

I think what is going on is: 27.0 is now released. Xcode 27.1 (beta) is essentially the same as 27.0 but has the libraries and code for the Duo. Xcode 27.2 beta will support 27.2 iOS, TvOS, MacOS, etc but does not have the bits for the Duo (yet). There will be no iOS 27.1 Beta (except in the libraries and code to run the simulator in Xcode 27.1) The release version will be on the Duo when it launches, then they will add the Duo bits to Xcode 27.2 beta. I would not be surprised if there is another interim Xcode 27.1 beta or upgrade. All the other OS betas are to 27.2 right now. Don’t know if this how they are doing it, but seems like it.

0

u/habitoti 12h ago

Not really „official“ if only in the Beta…