How's the free space on your drive?
Hi, thanks for answering so soon.
I've 105 GB disk space free
Have you tried disabling zombies to eliminate them as suspects?
Hi thanks again for the suggestion.
Indeed I found that in Test settings I had Zombie Object flag active so I disable it...but the problem is still there
I tried rebooting the mac, cleaning everything and so on...no luck.
Same project built from another mac: same result.
Any other suggestions so far?
How many tests are involved?
Can you cut them back, then test, then re-add, etc. and try to see which one (or more) is causing grief?
Just be sure those are always/frequently option-clean build folder, as you mentioned above. A simple clean is rarely useful.
What I tried is to disable all specs except one and then tried the same.
No luck again
Always same context: reboot, clean, clean build folder, delete derived data.
Ok, so disable that one and add back the others and try again.
BTW, can you simply build/run that app without issues?
Did you find solution for this issue?
We have simular case when path to project files too long and build phase "Compile Sources" has more 1500 swift files, if project move to more short path - compiler work correctly.
But we have xcode server and bot do source checkout automatically to directory with long path, so we seek solution for this issue. (((
I was having the same issue when trying to build/run tests using xcodebuild from command line. This is a project with over 2000 swift files.
Going on your suggestion I moved it to a much shorter path "/tmp/x" and it worked fine.
We are faced with this problem too. It works fine by movinig the project to a shorter path. But...is there a way we could find the actual "limit" is there is really one on the length of file path, on Mac OS?
It was really a time killer issue. I rebased the complete code base to a collegue's mac where it worked fine. After sparing more than a couple of morning hours I could find a solution.
Solution - Simply shorten your Project folder name (in mac).
This is undoubtedly irritating that its suggested to have longer and meaningful variable names but the folder name has to be this concise.
We are also facing same problem here. We have a huge project with around 3900 files in Build Phases > Compile sources.
Whenever we faces this Zombie error, we used to shorten the file paths and project is maintained at the root directory in order to shorten file path and it was working. But its all temporary solution. Now we reached to a level where nothing else works and we need to have permanent solution to the same.
Possible reason is, maximum limit on number files by Xcode. Only then this probelm can occur.
Any solution please suggest.
XCode version : 9.4.1
MAC OS Version : 10.13.6
Verify final result code for completed build operation
Build operation failed without specifying any errors. Individual build tasks may have failed for unknown reasons.
One possible cause is if there are too many (possibly zombie) processes; in this case, rebooting may fix the problem.
Some individual build task failures (up to 12) may be listed below.
Build operation failed without specifying any errors. Individual build tasks may have failed for unknown reasons. One possible cause is if there are too many (possibly zombie) processes; in this case, rebooting may fix the problem. Some individual build task failures (up to 12) may be listed below.
This happens occur when the total path length is too long.
change the folder name or location of directory, shorter then before.