Reputation: 305
I just installed XCode10 and I am trying to run my code on ios8 simulator, in the process I am facing below error
"Build service could not start build operation: internal error: failed to send the system info to the build service"
Upvotes: 16
Views: 33427
Reputation: 1445
Just restart Xcode. Amazing how this still exists after 5 years AKA 5 major Xcode versions.
Upvotes: -1
Reputation: 531
I don't think deleting Derived Data, doing a clean, close/reopen Xcode helped, but when I reopened Xcode I had files in "Recovered Resources" folder that appear in the Project Navigator. Doing all that other stuff AND deleting "Recovered Resources" is what worked for me. Along the way, I deleted and added back the problem files, added them to Target Membership in the File Inspector, rebuilt the Package Cache (right click on Package Dependencies), and waved a dead chicken over the keyboard. I think deleting "Recovered Resources" was the key.
Upvotes: 0
Reputation: 975
I think your Xcode is just in the process of indexing the files. It may take some time to finish but when it's done, just give it a try.
If it's not helpful, try reopening your xcode - it works for me after the indexing process finished.
Upvotes: 25
Reputation: 19
In my case opening 2 projects at a time using Xcode got the hitch. So I closed all and opened one then it was working fine.
Upvotes: 0
Reputation: 391
No needs to restart system. Just restart Xcode -> clean build fix this issue for me.
Upvotes: 13
Reputation: 125
Restarting my Mac was the only solution for me. Restarting Xcode did not fix. We are back to Microsoft days.
Upvotes: 9
Reputation: 1986
Very very strange, you may laugh while reading my answer but restarting my laptop did the trick for me, I was trying to make ios build in my ionic1 app
Upvotes: 3
Reputation: 298
Go to File --> Workspace Setting --> Change "Build System" to "Legacy Build System" from "New Build System
Upvotes: -1
Reputation: 2962
I quit my Xcode and delete some file related to Xcode and empty the bin. Then I open a Xcode project. Its working fine for me.
Upvotes: 0
Reputation: 3379
I commented above but thereafter figured out another possible solution to try. Cleaning the project worked. (I restarted XCode10, my computer, and waited for indexing to finish - neither of these worked for me, at least.)
Command + Shift + K
or equivalently
Product > Clean Build Folder
Upvotes: 0