IOS 开发 有关iPhone程序的安装目录UUID 唯一标识

LINK ADDRESS:http://blog.csdn.net/diyagoanyhacker/article/details/6669650
不同的程序,在模拟器以及真机上的路径。
注意,32位的那个UUID,在任何一个模拟器程序,或者真机上,都是不同的。
每安装一个iPhone程序到手机上,都会在/var/mobile/Applications/下面生成这么一个UUID的目录。


模拟器路径:
/Users/xw/Library/Application Support/iPhone Simulator/5.0/Applications/B56D25E5-EF54-4E25-B63E-13E4AA552D0C/BundlePath.app


真机路径:
/var/mobile/Applications/BD3DC1E3-34D0-4EAD-8830-67C4C5052FC9/BundlePath.app


UUID参考:
http://zh.wikipedia.org/wiki/UUID


打印路径Code:


NSString *bundlePath = [[NSBundle mainBundle] bundlePath];
   

NSLog(@"bundlePath = %@", bundlePath);
原文地址:https://www.cnblogs.com/xingchen/p/2257456.html