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

好久不见. 提交于 2019-12-09 16:04:13

问题


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?


回答1:


You can do this programatically:

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



回答2:


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/



回答3:


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




回答4:


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);


来源:https://stackoverflow.com/questions/19130439/how-can-i-find-my-app-files-under-iphone-simulator-folder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!