Xcode - File not found but build successful

后端 未结 6 646
野的像风
野的像风 2021-02-01 08:31

In my project, I\'ve include a full \"shared\" folder by link (not copy) that is outside my project folder.

In the .pch file, I have #import \"MyStandardHeader.h

6条回答
  •  -上瘾入骨i
    2021-02-01 09:29

    Another thing to try -- just deleting Derived Data wasn't working for me, but this did:

    • Delete Derived Data using the Organizer window, Projects tab.

    • In your target settings delete the value (path) set for "Prefix Header"

    • Close XCode and restart. Reload your project. Let it re-index.

    • Restore the "Prefix Header" setting.

    What a major PITA.

提交回复
热议问题