“image not found” Error while using Custom FrameWork

前端 未结 2 1126
面向向阳花
面向向阳花 2020-12-09 21:18

I created my own framework for one of my cocoa application. I added that framework to my project and called a method from that framework. When I tried to run my application

2条回答
  •  无人及你
    2020-12-09 22:02

    Set framework installation directory to @executable_path/../Frameworks

    enter image description here

    Now add copy files in your build phase, set destination to Frameworks. click on your target, then on Editor (menu bar) --> Add build phase --> Add Copy Files Build Phase

    enter image description here

    enter image description here

提交回复
热议问题