Help us understand the problem. What is going on with this article?

iOS アプリを Jenkins で CI していたらディスクが一杯になった

More than 1 year has passed since last update.

環境

  • ハードウェア: mac mini, HDD 1TB
  • CI: Jenkins

fastlane で PR 毎にアプリを配信 & 毎晩ナイトリービルドを行っています.

起こったこと

何やらテストが動かない...

サーバーを見てみたら ディスクの容量が不足しています との警告が表示されていました.

何が食ってるのか色々探して最終的に以下の場所にたどり着きました.

covelline-0:Xcode covelline-0$ pwd
/Users/covelline-0/Library/Developer/Xcode

covelline-0:Xcode covelline-0$ du -d1 -h
701G    ./Archives
5.0G    ./DerivedData
520K    ./iOS Device Logs
644K    ./Products
258M    ./UserData
706G    .

どうやら xcarchive ファイルがずっと残ってて容量を食っていたようです.

700GB ってなかなか見ない数字ですね... 2016年の分からずっと残っていました...

まとめ

  • CI サーバーの xcarchive 消そう
  • 容量がでかすぎて消すにも時間がかかるときは qiita を書こう
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away