iPhone模拟器在哪里保存其tmp/文件? [英] Where does the iPhone simulator keep it's tmp/ files?

查看:95
本文介绍了iPhone模拟器在哪里保存其tmp/文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在模拟器上运行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日):

  • 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆