Include Headers from added frameworks on Xcode

前端 未结 5 1509
無奈伤痛
無奈伤痛 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:32

    In my case, the external framework had been downloaded with Windows and added to the project. Then it was transferred to OSX, where the Xcode project was built and the external framework didn't load properly. I guess it is because Windows changes the framework folder to be a regular folder, which OSX then has trouble with.

    Solution for me was to simply download the framework with OSX and drag it into the framework folder in the XCode project.

提交回复
热议问题