skip to Main Content

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.

2

Answers


  1. Chosen as BEST ANSWER

    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.


  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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search