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