iPhone模拟器在哪里保存其tmp/文件? [英] Where does the iPhone simulator keep it's tmp/ files?
问题描述
我正在模拟器上运行iPhone应用程序以记录我的声音.它将记录保存到.wav文件,但是我不知道该文件在我的计算机上的什么位置.有帮助吗?
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?
编辑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:
编辑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?
推荐答案
尝试使用此路径/Users/<your_username>/Library/Application Support/iPhone Simulator/
.在可用的目录中查找/Applications/<your_app>/Documents
.
Try this path /Users/<your_username>/Library/Application Support/iPhone Simulator/
. In available dirs there look for /Applications/<your_app>/Documents
.
更新(2013年1月27日):
- 如果您对Terminal没问题,请通过 Paul Samuels 安装很棒的红宝石宝石: http://paul-samuels .com/blog/2012/08/19/ios-simulator-directory-command-line-tool/.
- 如果您对Terminal感到不满意,Paul也会为您提供出色的服务.
Alfred 2.app的工作流程: http://paul- samuels.com/blog/2013/01/24/sidir-alfred-workflow/. - 如果您在安装Paul的gem时遇到困难,请遵循此
教程: http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-mac .
- If you're OK with Terminal, install awesome ruby gem by Paul Samuels: http://paul-samuels.com/blog/2012/08/19/ios-simulator-directory-command-line-tool/.
- If you're not OK with Terminal, Paul has also created an excellent
workflow for Alfred 2.app: http://paul-samuels.com/blog/2013/01/24/sidir-alfred-workflow/. - If you're having hard time installing Paul's gem, follow this
tutorial: http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-mac.
这篇关于iPhone模拟器在哪里保存其tmp/文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!