How to import photos into Device Hub photos app (beta 3)

In the old simulator you were able to simply drag a photo or video from your desktop into the photos app within the simulator in order to use it for testing.

That doesn't seem to be working yet in Device Hub. Is there a workaround or are we just waiting on this to be fixed?

Answered by DTS Engineer in 897398022

Hey @itswilder,

You can use the Share sheet:

  • Select the image/video in Finder (or in Photos.app on your Mac)
  • Click Share > choose Simulator from the share destinations > pick the target simulated device from the drop-down
  • The media is added and Photos opens to display it

Or command-line:

xcrun simctl addmedia booted <path to your media file>

Please also file an enhancement request for Device Hub to support photo/video drag-and-drop as well!

-- Greg

Accepted Answer

Hey @itswilder,

You can use the Share sheet:

  • Select the image/video in Finder (or in Photos.app on your Mac)
  • Click Share > choose Simulator from the share destinations > pick the target simulated device from the drop-down
  • The media is added and Photos opens to display it

Or command-line:

xcrun simctl addmedia booted <path to your media file>

Please also file an enhancement request for Device Hub to support photo/video drag-and-drop as well!

-- Greg

And to upload an entire folder:

xcrun simctl addmedia booted /path/to/files/*

Hello,

I filed the feedback

FB23368633 (Xcode DeviceHub: I can't drag and drop a file to a simulator when using DeviceHub)

in June 2026.

I used to be able to drag any file type (like CSV, XML, GPX).

I would appreciate the ability to do the same in Device Hub by drag and dropping.

How to import photos into Device Hub photos app (beta 3)
 
 
Q