iOS 开发实用技术导航
NSHipster 中文版
› http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
› http://www.cocos2d-iphone.org/
CocoaPods
› http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
› http://code.google.com/mobile/analytics/
WWDC
› https://developer.apple.com/wwdc/
Design Guides and Resources
› https://developer.apple.com/design/
Transcripts of WWDC sessions
› http://asciiwwdc.com
Cocoa with Love
› http://cocoawithlove.com/
Cocoa Dev Central
› http://cocoadevcentral.com/
NSHipster
› http://nshipster.com/
Style Guides
› Google Objective-C Style Guide
› NYTimes Objective-C Style Guide
Useful Tools and Services
› Charles Web Debugging Proxy
› Smore
pheyer
V2EX  ›  iDev

安装 Xcode12.4 到底需要多少空间

  •  
  •   pheyer · Feb 22, 2021 · 7017 views
    This topic created in 2080 days ago, the information mentioned may be changed or developed.
    东拼西凑的凑了 42G 空间,居然还是安装不了,神烦啊,官方也从来不说要求安装空间有多少才行,就靠我们瞎猜了
    19 replies  •  2021-02-24 08:56:20 +08:00
    avia1ae
    avia1ae
    Feb 22, 2021
    1
    30g 吧,不额外安装插件的情况下,Xcode 大的吓人。。
    Leonard
    Leonard
    Feb 22, 2021
    2
    重启一下试试
    CecilFang
    CecilFang
    Feb 22, 2021
    3
    30-40 左右吧
    pheyer
    pheyer
    OP
    Feb 22, 2021
    4
    @avia1ae 问题是我的硬盘有 42g 剩余空间都提示空间不足不能安装
    jobs0
    jobs0
    Feb 22, 2021
    5
    我安装了,大概占了 15 个 G
    GaoGeYang
    GaoGeYang
    Feb 22, 2021
    6
    下个免费的 Tencent Lemon 清理一下空间,我上次清理出 60G+才顺利安装上
    365473321
    365473321
    Feb 22, 2021
    7
    128G SSD 伤不起
    xjbeta
    xjbeta
    Feb 22, 2021 via Android
    8
    更新的时候把 Xcode.app 这个本体删了能空出来很多空间
    avia1ae
    avia1ae
    Feb 22, 2021
    9
    @pheyer Xcode 本体保底 30g,你在 finder 点简介就能看到有 30g 。还有缓存什么的就更大了
    maxmak
    maxmak
    Feb 23, 2021
    10
    Xcode 30G,Library 的数据准备好 50G 空间
    zachlhb
    zachlhb
    Feb 23, 2021 via iPhone
    11
    @pheyer 因为要先下载包在安装的
    BrettD
    BrettD
    Feb 23, 2021 via iPhone
    12
    卸载 Xcode 然后重装,亲测可以
    jamescheng
    jamescheng
    Feb 23, 2021
    13
    Xcode.app->contents->developer->platforms 里面的 AppleTV 等可以删除的
    ooops
    ooops
    Feb 23, 2021
    14
    从 AppStore ?你去开发者网站下载 xip 自己安装就行了
    alkayoun
    alkayoun
    Feb 23, 2021
    15
    30g+ 必须的
    pheyer
    pheyer
    OP
    Feb 23, 2021
    16
    @ooops 我就是下载 xip 自己安装的
    ooops
    ooops
    Feb 23, 2021
    17
    @pheyer #16 安装不了是什么现象?
    pheyer
    pheyer
    OP
    Feb 23, 2021
    18
    @ooops 就是提示磁盘剩余空间不够,不能安装的
    sbilly
    sbilly
    Feb 24, 2021
    19
    最小空间需求的安装方法是手工安装,提前把老的 Xcode.app 删除,手工安装过程中把临时的打包和中间文件删除。

    先安装依赖:

    - xar
    - pbzx - https://github.com/NiklasRosenstein/pbzx

    然后执行

    ```bash
    pkgutil --check-signature Xcode.xip
    mkdir -p ./Xcode; cd Xcode
    xar -xf ../Xcode.xip
    rm -rf ../Xcode.xip
    pbzx Content | sudo tar x --strip-components=1
    rm -rf Content Meta
    ```

    在其他机器上解压缩好了,然后把 Xcode.app 复制到 /Application/ 也可以的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5207 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 02:19 · PVG 10:19 · LAX 18:19 · JFK 21:19
    ♥ Do have faith in what you're doing.