[Xcode] ビル時に発生したエラー解決方法

1 min read
hiroweb developer

ソースには問題がないのにビルドが失敗する事がたまにある。
そういう時の対処方法をメモしておく。

Lexical or Preprocessor issue ‘Symbols.h’ file not found

Lexical or Preprocessor issue ‘Symbols.h’ file not found
これは Symbols.h に限らないんだけれど、上手くビルドできない事があった。 クリーンしても直らなかったが、Mac再起動で解決した。

failed to get the task for process

process launch failed: failed to get the task for process 694
デバッグ前に ipaファイルからそのアプリをインストールしていた。 すでにインストールされているAppをアンインストールして解決した。

The application could not be verified

The application could not be verified

プロビジョニングプロファイルが所定のものでなかった。(Distribution の問題?)
プロビジョニングプロファイルを切り替えてビルドし直したら解決した。