欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

清除XCode缓存和生成文件

发布时间:2025/5/22 编程问答 28 豆豆
生活随笔 收集整理的这篇文章主要介绍了 清除XCode缓存和生成文件 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

1.Command-Option-Shift-K to clean out the build folder

  XCode4.2    finder中找到   /Users/apple/Library/Developer/Xcode    (注:Library资源库是隐藏的文件夹)

  里面有DerivedData和Snapshots两个文件夹,删除里面文件即可

  Remove all its contents because there's a bug where Xcode will run an old version of your project that's in there   somewhere.

 

或者  File->project settings  

 

 

 

2.(Xcode 4.2 will show you the Derived Data folder: choose Window > Organizer and switch to the Projects tab. Click the right-arrow to the right of the Derived Data folder name.)

 

In the simulator, choose iOS Simulator > Reset Content and Settings.

转载于:https://www.cnblogs.com/zhepama/p/3330453.html

总结

以上是生活随笔为你收集整理的清除XCode缓存和生成文件的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。