Adding a framework to XCode 4

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 06:44:28
Marek Sebera

After adding framework via "Add existing framework"

  • Go to Project Settings > Build Phases
  • In right bottom corner click Add buid phase > Copy Files
  • Select Destination > Frameworks
  • Drag&Drop framework to files list

And that's it.

Another important detail here - you must have the "Runtime search path" to be defined in the projects, it's empty by default.

Something like this:

LD_RUNPATH_SEARCH_PATHS = @loader_path/../Frameworks
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!