很有用的xcode路径

1.真机sdk

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

2.代码块的封装,保存在xcode当中的文件夹

~/Library/Developer/Xcode/UserData/CodeSnippets

3.找到相册当中的 图片源文件

NSString *caches = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) lastObject];

  NSLog(@"caches:%@",caches);

// /Users/haohuoban/Library/Developer/CoreSimulator/Devices/5CBE5803-72CA-4DAC-9407-8F22BC7744D4/data/Containers/Data/Application/401A7EC5-262D-4500-9D1F-C906A320FDE8/Library/Caches

去掉Containers之后的部分,得到:

/Users/haohuoban/Library/Developer/CoreSimulator/Devices/5CBE5803-72CA-4DAC-9407-8F22BC7744D4/data/Containers

进入该路径后:


很有用的xcode路径_第1张图片

你可能感兴趣的:(很有用的xcode路径)