file has been modified since the precompiled header was built

后端 未结 13 1947
鱼传尺愫
鱼传尺愫 2020-12-23 09:49

So I accidentally modified a header (CBCentralManager.h) and caused the above error to show when I build. I searched stack overflow for the solution, and found

13条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-23 10:14

    Try going to your Organizer -> Projects, and you'll see the path for where you're derived data is saved. Mine looks something like "~/Library/Developer/Xcode/DerivedData/[Project name]-[mumbo jump]"

    Delete the "[Project name]-[mumbo jump]" folder, and you should be all good.

提交回复
热议问题