0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ライブラリをCarthageでbuildしたら失敗した。

Last updated at Posted at 2022-04-28

困ったこと

フォークしてきたライブラリcarthage updateでbuildすると失敗した。

エラー内容

*** Building scheme "ライブラリ名" in ライブラリ名.xcodeproj
Build Failed
	Task failed with exit code 65:

詳しくはログを見てちょ!って書いてたから見に行ってみる👀

LLVM ERROR: out of memory
Allocation failed

アウトオブメモリー!?

助けてー Google先生ぇー!

解決方法

参考サイト

I'm my case, Xcode 13.3 was breaking with the "LLVM ERROR: out of memory" when archiving. Reading the error log, I've found something interesting: "Embedding bitcode". Well ... bitcode generation is optional. So I've disabled bitcode for that target: Build Settings -> Enable Bitcode = No.

And that's it! After turning off bitcode, Xcode 13.3 was able to archive with no more "LLVM ERROR: out of memory".

So search for "Embedding bitcode" in your Xcode's error log. If you find it, this is the cure ;-). If not, sorry, can't help you.

なんかXcodeでEnable Bitcode = Noを設定したら良いらしい!
さすがGoogle先生!!!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?