I watched a tutorial, what that guy did on his iPhone, appeared in Xcode simultaneously, and just like in a simulator. How to do that? THX.
Connect your iPhone and Mac to the same Wi-Fi network. On your iPhone, go to the Control Center and tap the Screen Mirroring option. A list of devices would appear on your iPhone screen. From that list, select your Mac.
Set up a Mac to allow streaming from your iPhone macOS 12.5 or earlier: Choose Apple menu > System Preferences, click Sharing, then select and turn on AirPlay Receiver. To allow only devices where you're signed in with the same Apple ID as on the Mac to stream to the Mac, select “Current user.”
Open QuickTime Player,
File>New Movie Recording
Besides Record button(on the Quick Time Player), there is down arrow.
Click on down arrow and select iPhone
There are several possibilities, depending on what exactly you saw in the tutorial.
If the video was live, there are two things he could have been doing:
He could have been using an AirPlay Mirroring server app to use Airplay Mirroring on the iPhone to show his screen directly onto the Mac's screen. This is the most probable method.
He could have actually been using the simulator, unless he specifically said he was using a device. There are apps you can use to make your mouse look like a finger on the simulator's display. Slightly unlikely.
This is the more unlikely version of the two, and would mean that all you could see was individual still pictures of the app running on the device.
In the Xcode organizer, you can go to the screenshots tab for a device and take a screenshot of the current display of the device. Highly unlikely.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With