How to fix .pch file missing on build?

后端 未结 10 1069
日久生厌
日久生厌 2020-11-29 15:18

When I build my c++ solution in Visual Studio it complains that the xxxxx.pch file is missing. Is there a setting I am missing to get the pre-compiled headers back?

10条回答
  •  广开言路
    2020-11-29 16:18

    I was searching for the iOS PCH file having the same problem, if you got here like me too, the solution that I've found is by clearing derived data; Close Simulator(s), go to xCode prefs -> locations -> go to the derived data file path, close xCode, delete the files in the derived data folder, re launch and cheers :)

提交回复
热议问题