LoginSignup
0

More than 1 year has passed since last update.

building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources. が Expoで出たときは

Posted at

Expoで開発しているとたまにこんなエラーが出ることがあります。

主に expo build:ios を実行したときです。

Cycle inside "YOUR_APPS"; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.

裏ではNativeBuildが走っているのですが、この記事の通り、何らかのビルドサイクルが狂ったときに起きるようです。

今回私が遭遇したパターンだと、ビルド中、もしくはiOS Simulatorで実行中に(ローカルサーバーが動いている状態)マシンを再起動したときです。

解決方法

上記の記事ではXCodeを使った開発の場合です。

我々のようにExpoで開発しているプロジェクトの場合は、ルートディレクトリにある iOS フォルダを削除してから再度実行してみてください。

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