R.swift: Xcode 10.2, Swift 5, tvOS. Error Cycle

Created on 1 Apr 2019  ·  1Comment  ·  Source: mac-cain13/R.swift

The latest version of R.swift 5.0.3 when built on Xcode 10.2 under tvOS falls on:

:-1: Cycle inside _target_; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.
Cycle details:
→ Target '_target_' has compile command with input '/path/to/CollectionViewCell.xib'
○ Target '_target_': Ditto /Users/_user_/Library/Developer/Xcode/DerivedData/Project/Build/Intermediates.noindex/Project.build/Debug-appletvos/_target_.build/DerivedSources/_target_-Swift.h /Users/_user_/Library/Developer/Xcode/DerivedData/Project/Build/Intermediates.noindex/Project.build/Debug-appletvos/_target_.build/Objects-normal/arm64/_target_-Swift.h
○ Target '_target_' has compile command for Swift source files
○ That command depends on command in Target '_target_': script phase “R.swift”
○ Target '_target_' has compile command with input '/path/to/CollectionViewCell.xib'

Most helpful comment

Fixed by moving Phase up the list in Build Phases.

>All comments

Fixed by moving Phase up the list in Build Phases.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexpersian picture alexpersian  ·  6Comments

Przemyslaw-Wosko picture Przemyslaw-Wosko  ·  4Comments

Horse888 picture Horse888  ·  5Comments

jalone87 picture jalone87  ·  6Comments

theamorn picture theamorn  ·  4Comments