xcode清除

1.xcode编译项目缓存路径: ~/Library/Developer/Xcode/ DerivedData/'ProjectName-'+'randomcharacters'/Build/

2.如果直接点击屏幕下方的Xcode图标,回弹出一个xcode的启动框,右边会列出你最近打开过的工程,如果想清除这些记录,就点击xcode的菜单栏的“File”菜单,然后选择 Open Recent ,然后就能看到Clear Menu了,点击后,再次启动xcode就看不到先前打开过的工程了

3.products->debugWorkflow->最后一个勾“show debug in assemb”去掉


4.先cleanall,再构建(Build)一遍;或者手动清除(选中Xcode的项目,在Finder中打开内容,删除*.pbxuser和*.mode1v3文件,重新打开project下端点)。

5.

There is no Load Symbols Lazily option in Xcode 4.

The Breakpoints button in the project window toolbar toggles running/debugging your program. Xcode initially sets the button for running, which disables your breakpoints. For your breakpoints to be enabled, the Breakpoints button should look like the following:

Breakpoints Button

 6.新建了一个用户,才搞定了断点,这个breakpoint navigation 点击会crash的问题,有些人也报告了,但Xcode crash问题不好搞啊。


后来,这下我们就去删除project目录下的用户关联的数据,


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

Even better, quit Xcode and clean out ~/Library/Developer/Xcode/DerivedData manually. Remove all its contents because there's a bug where Xcode will run an old version of your project that's in there somewhere. (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.)

记住要退出xcode先,否则容易出问题,同时建议采取以下步骤,模拟器清空





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


Finally, for completeness, you can delete the contents of /var/folders; some caching happens there too.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值