You are watching: Command compileswift failed with a nonzero exit code
How perform I resolve this errors?They show up in most of the ford (I usage CocoaPods) I usage inside my project.
I have actually tried updating the pod version and also the ford to the latest variation available, but the problem is tho there.
I have actually searched a lot with the web and there is very tiny information about this issue.
ios swift xcode swift4 xcode10
edited Jun 17 in ~ 8:54
2,10122 gold badges1818 silver badges3232 bronze title
request Sep 18 "18 in ~ 13:13
Jordi GámezJordi Gámez
2,88833 yellow badges1818 silver- badges3333 bronze badges
| display 9 an ext comments
23 answers 23
energetic oldest Votes
For me, just cleaning project works usingShiftCommandK & OptionShiftCommandK.
edited Oct 30 "18 at 10:32
13k55 yellow badges4646 silver badges8181 bronze title
answered Oct 26 "18 in ~ 11:15
Mahgol FaMahgol Fa
2,59333 yellow badges1414 silver badges3333 bronze badges
| show 7 much more comments
You"re most most likely not reading the whole error message. If girlfriend look over the "Command CompileSwift failed through a nonzero leave code" post you should find some specification choose this:
In this instance I had two records with the very same name. As soon as I solved it every little thing worked as it should.
edited Aug 16 "19 at 5:43
answered Dec 16 "18 in ~ 5:20
99577 silver badges1212 bronze badges
add a comment |
Currently my build is working.Here you are the steps I tried till it ultimately worked:Search in the whole project words CommonCrypto.If you have actually a Pod containing the header import, eliminate this Pod native the Podfile and perform a pod install.Clean and also build the project.Add again the Pod to the Podfile and also perform a pod install.Clean and also build the project again making use of a real maker if possible.
And If friend don"t have actually that Pod, possibly you can try by make the same procedures with some old Pod the you may encounter in her project.
See more: Or, What Percent Is 27 Out Of 40 As A Percentage ? 27 Is What Percent Of 40
Added information: also If you have some code error within a Pod, very first you need to solve that code problem and also then shot to translate in again the project.
I"m going come copy the transforms made in my project.pbxproj. I recognize it"s not an extremely helpful but it"s the only thing the have changed in the git difference commit:
Removed: BDC9821B1E9BD1B600ADE0EF /* (null) in resources */ = isa = PBXBuildFile; ;Added: BDC9821B1E9BD1B600ADE0EF /* BuildFile in resources */ = isa = PBXBuildFile; ;I expect this can help,