Sankalp
Sankalp

Reputation: 2824

Xcode builds the target successfully even if there are random errors

I have working on an Xcode project where things were going correctly. Then, out of the blue, Xcode started behaving strangely. I introduced an error in the project, but Xcode says: Build succeeded! Then, I added some random words in the code, still Xcode compiled it correctly.

What could be the reason for Xcode to malfunction? I also tried both the answers mentioned in this post, but to no avail.

Upvotes: 1

Views: 330

Answers (1)

Yogurt
Yogurt

Reputation: 3045

Try going to this directory

~/Library/Developer/Xcode/DerivedData

And deleting your project.

As a side note when you open a window in finder you can hold command + shift and press G to open a dialog box to copy the path into. Just in case you didn't know.

Upvotes: 1

Related Questions