Xcode 26 Beta 2 Storyboard Compile failures

I'm playing whack-a-mole with trying to get my project to compile. It's a mixture of SwiftUI and UIKit and I'm getting random storyboard compile failures: Command CompileStoryboard failed with a nonzero exit code

If I open the storyboard in question, it spins for a while and then appears. I try to compile again and typically a different one fails. Once and a while I can actually get a build to complete.

Anyone else having this issue or know of a workaround?

Answered by rodfleischer in 847049022

I'm getting an intermittent error when compiling storyboards.

"error: Internal error. Please file a bug at feedbackassistant.apple.com and attach "/var/folders/kv/...."

The workaround that I've found is that when it barfs, do "killall SWBBuildService" and restart the xcode build without cleaning the build folder. Then it's usually ok until it has to rebuild the storyboard. Lather rinse repeat.

Please file feedback.

I have also been having this issue. I opened a Feedback (FB18350833) but have not heard back. It seems that sometimes it times out, and sometimes it fails early.

I've noticed that if I clean my build folder, restart Xcode, and rebuild then I can usually get it to build the whole project. Once it's built successfully once, then it will continue building. My current issue is getting a TestFlight archive to build correctly.

Accepted Answer

I'm getting an intermittent error when compiling storyboards.

"error: Internal error. Please file a bug at feedbackassistant.apple.com and attach "/var/folders/kv/...."

The workaround that I've found is that when it barfs, do "killall SWBBuildService" and restart the xcode build without cleaning the build folder. Then it's usually ok until it has to rebuild the storyboard. Lather rinse repeat.

Please file feedback.

Xcode 26 Beta 2 Storyboard Compile failures
 
 
Q