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

前端 未结 9 967
执念已碎
执念已碎 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 09:51

    I tried it with Xcode 11 beta and its not work, I changed the build configuration to Release and its works like a charm. Project---> Edit scheme----> Run ---> Build Configuration---> Release

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-12-23 10:03

    I have had this a few times. The simplest way I have found to fix it is just to close the simulator.

    0 讨论(0)
提交回复
热议问题