1

I'm running my iPhone app on the simulator to record my voice. It saves the recording to a .wav file, but I don't know where that is on my machine. Any help?


EDIT 1

Please keep in mind that I'm trying to 'simulate' the experience on a device. So my use of directories is crucial. See my output to the console: enter image description here


EDIT 2

This is really strange. I just tried to record my voice with the Speak Here example project ('out of the box') and it worked (played back my voice and everything). Yet when I use the finder to try to locate the file... no deals! This is really bizarre. Any ideas?

Eric Brotto
  • 53,471
  • 32
  • 129
  • 174

3 Answers3

3

Try this path /Users/<your_username>/Library/Application Support/iPhone Simulator/. In available dirs there look for /Applications/<your_app>/Documents.

UPDATE (27th Jan, 2013):

Community
  • 1
  • 1
matm
  • 7,059
  • 5
  • 36
  • 50
  • This seems logical, but nothing is there. I've found the iOS version folders/Applications/superLongAlpaNumericCode/myApp.app. But nothing was in the directories. – Eric Brotto Apr 13 '11 at 18:39
2

The location of simulator files has changed in Xcode 6. It's now at:

~/Library/Developer/CoreSimulator/Devices

See this answer for details:

https://stackoverflow.com/a/24291087/2410555

Community
  • 1
  • 1
1

The easiest way in my experience is to output the value of NSTemporaryDirectory() somewhere in your code. That gives you the complete path to the /tmp folder for your user and application.

Faiz Ahmed
  • 11
  • 1