'Build service could not create build operation
My project worked fine, but after I changed to the last commit Xcode is showing me the strange error message:
Build service could not create build operation: unknown error while handling message: unknownSession
It indexes the files for a few hours and after that is finished the build fails also because of this strange bug.
Solution 1:[1]
For myself, I solved it by deleting the code from my pc completely and fetching it from my GitHub repository again. When I build now it works. The code has not changed but I guess Xcode has some strange bugs.
Solution 2:[2]
I got this same error and closing Xcode, deleting derived data, and trying again fixed the issue for me.
I did not have to deleting the code or anything like that as mentioned in the other answer. Just deleting derived data.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | David |
| Solution 2 | Charlie Fish |
