After updating to the latest version of Xcode at the moment (version 10.0) the project is unable to build because it found some errors regarding some "Command CompileSwift failed with a nonzero exit code" error.
How do I solve this errors? They appear in most of the Pods (I use CocoaPods) I use inside my project.
I have tried updating the pod version and the pods to the latest version available, but the problem is still there.
I have searched a lot through the web and there is very little information regarding this issue.
For me, just cleaning project works using ShiftCommandK & OptionShiftCommandK.
You're most likely not reading the entire error message. If you look above the "Command CompileSwift failed with a nonzero exit code" message you should find some specification like this:
In this example I had two files with the same name. Once I fixed it everything worked as it should.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With