How to uninstall Xcode and iPhone SDK

My laptop is Thinkpad X61, with only 160GB harddisk. Although I use 25GB for Mac OS for developing, it's still not enough, especially when I need to update the iPhone's SDK.

Each time when I update the SDK, I need to uninstall the Xcode to release at least 4GB space, then install the new one again. But how to uninstall Xcode?

Here is the command that I find from the Internet.

sudo /Developer/Library/uninstall-devtools --mode=all

It can't be more easier, isn't it? Good luck!

关于如何卸载Xcode和iPhone的SDK

我用于iPhone开发的电脑是ThinkPad X61,只有160GB硬盘,我划分了25GB给苹果系统,装完iPhone开发环境后只剩余7G左右了,有时候甚至不满5G。苹果升级SDK相当频繁, 还不乏一些beta版SDK,每次升级,都会遇到硬盘剩余空间不够,不让我安装的问题。那就只能先把原来的Xcode和SDK都卸载掉然后再安装新的啦。 于是出现了卸载的需求,但是如何卸载呢?网上搜了一下后,得知使用一下命令行即可,非常方便。

sudo /Developer/Library/uninstall-devtools --mode=all

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值