I am trying to move to the new build system when compiling with Xcode 10. However, it gives following error:
Cycle details:
→ Target 'project' : LinkStoryboards
Target 'project' has compile command with input '/Users/project/Commons/Components/ScreenshotSharing/ViewController/AppShare.storyboard'
Target 'project' : ValidateEmbeddedBinary /Users/project/Xcode/DerivedData/project-hgqvaddkhmzxfkaycbicisabeakv/Build/Products/Debug-iphoneos/project.app/PlugIns/stickers.appex
Target 'project' has process command with input '/Users/project/Resources/Info.plist'
Target 'project' has compile command with input '/Users/project/Commons/Components/ScreenshotSharing/ViewController/AppShare.storyboard'
Even after removing the problem file, I get same for another xib/storyboard. How can I solve this error without reverting to the legacy build system?
I was finally able to resolve this by moving
Embed App Extensions
script inBuild Phases
of main Target to last position.Xcode 10.2.1/Unit Test Target. My unit test target is independent of host target to improve building time. Solve it by uncheck
Find Implicit Dependencies
inScheme
-Build
options, As i specify all dependencies inBuild Settings
-Compile Sources
.I faced this problem after updating Xcode to version 11.4. Downgrading to 11.2.1 fixed it.
I solved this by moving the "Run Script" to the top of the build phases.
I fixed my problem by moving the 'Copy Bundle Resources' Build Phase before all my 'Copy Files' & 'Link Binary with Libraries' Build Phases
I was having this issue with Cocoapods. The solution was to clean the build folder re-install all pods, and then rebuild the app. The issue resolved itself that way.