Include Headers from added frameworks on Xcode

前端 未结 5 1517
無奈伤痛
無奈伤痛 2021-01-30 20:52

I want to work with some frameworks like glew and cg so i manually added

the needed frameworks to my project by right clicking the project ->

5条回答
  •  再見小時候
    2021-01-30 21:49

    In my case I had to update a framework version, so I just replaced the .framework in the filesystem and then I got the error you've mentioned in the question.

    Removing the framework and adding it back again, playing with the search paths and all the other suggestions didn't help.

    Eventually, cleaning the build folder did the trick:

    Select "Product" from the xcode menu, hold the option key and click on: "Clean Build Folder".

    After that I built and ran the project successfully.

提交回复
热议问题