LoginSignup
17
12

More than 3 years have passed since last update.

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.

Last updated at Posted at 2019-09-10

表題の件、、、

概要

表題のエラーが出ました。最近よくみます。

Screenshot 2019-09-10 at 11.45.11 AM.png

(☝ ՞ਊ ՞)☝ Wow What's this!!!

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.

 詳細ログ

:-1: Cycle inside yamadatakayuki; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.
> Cycle details:
> → That command depends on command in Target 'sevens': script phase “[CP] Embed Pods Frameworks”
> → That command depends on command in Target 'sevens': script phase “Run Script”
> ○ Target 'yamadatakayuki': Ditto /Users/yamadatakayuki/Library/Developer/Xcode/DerivedData/yamadatakayuki-ffpcyajugyacpogctglgosyzefml/Build/Intermediates.noindex/yamadatakayuki.build/Debug-iphonesimulator/yamadatakayuki.build/DerivedSources/yamadatakayuki-Swift.h /Users/yamadatakayuki/Library/Developer/Xcode/DerivedData/yamadatakayuki-ffpcyajugyacpogctglgosyzefml/Build/Intermediates.noindex/yamadatakayuki.build/Debug-iphonesimulator/yamadatakayuki.build/Objects-normal/x86_64/yamadatakayuki-Swift.h
> ○ Target 'yamadatakayuki' has compile command for Swift source files

なぜこうなるかの理由(概要)

ビルドするときのサイクルの順番があまりよろしくないぜ〜みたいな感じです。

つまりビルドの順番なので

resolve

Xcode -> target -> Build Phasesの下記項目の順番を変更します。

before

Screenshot 2019-09-10 at 11.52.33 AM.png

after

Screenshot 2019-09-10 at 11.52.47 AM.png

これで解決します。

引用: https://stackoverflow.com/questions/50709330/cycle-inside-building-could-produce-unreliable-results-xcode-10-error

17
12
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
17
12