How can I find my app files under iPhone Simulator

2019-04-06 14:13发布

How can I easily access to the folder of an app I am working on.

enter image description here

There are too many application folders under iPhone Simulator directory, how can I access to any specific folder?

4条回答
爷的心禁止访问
2楼-- · 2019-04-06 14:32

You can do this programatically:

NSLog(@"%@",[[NSBundle mainBundle] bundlePath]);
查看更多
淡お忘
3楼-- · 2019-04-06 14:43

You can use OpenSim as an alternate tool of above mentioned.

查看更多
Anthone
4楼-- · 2019-04-06 14:48

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);
查看更多
聊天终结者
5楼-- · 2019-04-06 14:51

I know of 2 great mac apps that solve your problem:

  1. SimPholders http://simpholders.com/
  2. Simulator Folders http://nimbleworks.co.uk/blog/simulator-folders/
查看更多
登录 后发表回答