Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/yujiap/unity-yuji.xyz/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_engine.php on line 266
iOS framework addition failed due to a Cocoapods installation failure.の対処法 – ゆーじの技術ブログ

iOS framework addition failed due to a Cocoapods installation failure.の対処法

Unityでビルドしようとすると、以下のようなエラーが。

iOS framework addition failed due to a Cocoapods installation failure. This will will likely result in an non-functional Xcode project.

解決法

コマンドを使って解決しました。
Macの場合はターミナルを起動します。

まず、ターミナルで

emacs -nw ~/.bash_profile

と入力し、~/.bash_profileをエディタで開きます。(今回はemacsにしましたが、vimなどなんでも大丈夫です)

そこに

export LC_ALL="en_US.UTF-8"

という1行を追加。

その後、変更を保存して再びターミナルに戻ったあと

source ~/.bash_profile

で更新します。

これで無事ビルドが通りました!!

コメント