0
2

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 5 years have passed since last update.

XCode10のBuild System

Last updated at Posted at 2019-10-03

いつもXCode9でビルドに問題のなかったCocos2d-xプロジェクトをXCode10でビルドすると、たくさん理解不能なコンパイルエラーが出てしまった!一体なんでだろうか?
原因はXCodeのビルドシステムの設定です。XCode10から「New Build System」はデフォルトになっていて、File -> Workspace Settingsメニューで「Legacy Build System」に設定すると、謎のビルドエラーがなくなり、ビルドは無事に通りました。
ちなみにxcodebuildコマンドラインの場合、オプリョン「-UseModernBuildSystem=NO」を付けば、レガシービルドシステムを使います。
直すには簡単ですが、逆に新しい「New Build System」の謎は深くなりましたね。。。時間はあったら調べます。

0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?