`
renzhelife
  • 浏览: 669755 次
文章分类
社区版块
存档分类
最新评论

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

 
阅读更多
不同的程序,在模拟器以及真机上的路径。
注意,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);
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics