Xcode not compiling any project? 'clang failed with exit code 255'

前端 未结 9 990
执念已碎
执念已碎 2020-12-23 09:21

Hey all basically what the title says, I was working on my project with no issues and then all of the sudden it just stopped compiling. The only thing that led up to this wa

9条回答
  •  囚心锁ツ
    2020-12-23 10:01

    maybe this could be useful to someone.

    I had the same problem, and it is just because I compile with make -j.

    As you know, this causes make to use as many threads as possible, and I think one of these threads was using a ressource when another one tried to access it.

    Let make -j compile until the error, it will end automatically, and then just do make.

    It should work normally.

    Of course, you can just compile with makefrom the beginning, but it will be longer.

提交回复
热议问题