Reputation: 11
i m trying to compile a project in xcode and facing below error
clang: error: no such file or directory: '/Users/mac/Library/Developer/Xcode/DerivedData/PartySlots-fvyybtfnscszlhagtcwimkjnmdjx/Build/Intermediates/PrecompiledHeaders/PartySlots-Prefix-fdmipifdnmujjacmntzgkdilgdnc/PartySlots-Prefix.pch'
Upvotes: 1
Views: 3822
Reputation: 1261
Did you move your folder/files after making the project? It's because Xcode can't find the prefix header for some reason. It can be easily fixed by relocating it.
Change the Precompile Prefix Header to Yes and Prefix Header to where the .pch file is located in your folder.
Refer the image.
Upvotes: 6