Posts

Post not yet marked as solved
10 Replies
4.8k Views
I'm trying to port an iOS app to Catalyst. It has a number of Cocoapods framework targets, and some (not all) of them are failing to build, with Xcode 11.4.1 reporting "Command CompileSwift failed with a nonzero exit code"Inspecting the build transcript, there is no output from the compiler hinting as to why it failed. So I don't have anything to go on.Does anyone have any suggestions for how to troubleshoot in a situation like this? Surely this is a compiler bug - if it fails to compile something, it should always output some kind of message explaining why.Of course I've cleaned, relaunched, rebuilt, etc. to rule out transient Xcode quirks. I even tried building from the command line with xcodebuild, and that failed in the same way (without providing any extra clues, as far as I could tell)Here's a screenshot explaining what I mean. Notice the target that has failed to build on the left, and on the right there is nothing but green ticks.
Posted
by glennsc.
Last updated
.