Quit Xcode.
Restart the computer (this is to clear any in-memory caches).
Delete the contents of the DerivedData folder (~/Library/Developer/Xcode/DerivedData)
[This is the key move:] Delete ~/Library/Caches/com.apple.dt.Xcode.
Now launch Xcode once more…
网友评论