file has been modified since the precompiled header was built

后端 未结 13 1969
鱼传尺愫
鱼传尺愫 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:10

    Remove the pcm file

    rm "/var/folders/pj/hslm53_51xxd_npfqym5r6z00000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/5.0-5A1412/Xcode/ModuleCache/FUW5IOHP9BIS/CoreBluetooth.pcm"

    then

    Clean Project( Cmd+Shift+K)

    Problem solved

提交回复
热议问题