Add Test Files To Xcode 26 Simulator

How to add a file for testing purposes directly into the simulator of Apple Xcode 26.

Flo

This one drove me nuts: I simply wanted to add a CSV file to my Xcode simulator to test the file importer.

All the tips like drag and dropping files did not work. Adding resources to my Xcode project seemed like too much overhead for a quick test.

Finally this StackOverflow answer gave me a nod in the right direction:

  1. Create a new folder with some unique name into the Files app in the simulator

  2. Open Finder on your Mac

  3. Go to `Users/USER/Library/Developer/CoreSimulator`

  4. Search for the folder with the unique name in Finder (select to search in Devices)

  5. Paste the file you need inside the folder in your Mac Finder

  6. Et viola, the file also shows up in your simulator!