简体   繁体   English

如何在iPhone模拟器文件夹下找到我的应用程序文件?

[英]How can I find my app files under iPhone Simulator folder?

How can I easily access to the folder of an app I am working on. 如何轻松访问我正在处理的应用程序的文件夹。

在此输入图像描述

There are too many application folders under iPhone Simulator directory, how can I access to any specific folder? iPhone Simulator目录下有太多应用程序文件夹,如何访问任何特定文件夹?

你可以以编程方式执行此操作:

NSLog(@"%@",[[NSBundle mainBundle] bundlePath]);

I know of 2 great mac apps that solve your problem: 我知道2个很棒的mac应用程序可以解决你的问题:

  1. SimPholders http://simpholders.com/ SimPholders http://simpholders.com/
  2. Simulator Folders http://nimbleworks.co.uk/blog/simulator-folders/ 模拟器文件夹http://nimbleworks.co.uk/blog/simulator-folders/

您可以使用OpenSim作为上述替代工具。

Here you can see you app name and then you can find it easily..So try to implement this. 在这里,您可以看到您的应用程序名称,然后您可以轻松找到它。所以尝试实现这一点。

 NSString *path = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
    NSLog(@"Path %@",path);

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何以编程方式确定我的应用程序是否在 iphone 模拟器中运行? - How can I programmatically determine if my app is running in the iphone simulator? 我在哪里可以找到 iPhone 模拟器上的 MyDocuments 文件夹? - Where can I find the MyDocuments folder on iPhone Simulator? 如何从模拟器录制iPhone应用程序的视频? - How do I record a video of my iPhone app from the simulator? 如何确定Springs and Struts应用程序是否正在iPhone 6模拟器中扩展? - How can I tell if a Springs and Struts app is scaling in the iPhone 6 simulator? 为什么应用程序在iPhone模拟器中崩溃? 我怎样才能解决这个问题? - Why is app crashing in iPhone simulator; how can I fix this? 如何在 Mac 上的 iPhone 模拟器上运行 ElectronJS 应用程序? - How can I run ElectronJS app on iPhone Simulator on a Mac? 我怎么知道我的iPhone模拟器的IP地址? - How can I know the IP address of my iPhone simulator? 如何 Flutter 将文件写入 iOS iPhone“在我的手机上查找”文件夹 - How to Flutter write files to iOS iPhone “Find on my phone” Folder 如何找出在模拟器中运行的应用突然崩溃的原因 - How can I find out why my app running in simulator abruptly crashes 我的iPhone应用程序不会在新的iPhone 5模拟器中使用信箱运行。 我怎么把它拿到信箱? - My iPhone App won't run with letterboxes in the new iPhone 5 simulator. How do I get it to letterbox?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM