Linker command failed with exit code 1 error in Xcode project

后端 未结 21 3214
死守一世寂寞
死守一世寂寞 2021-02-13 06:44

I was working on my project and suddenly after editing the code and compiling gave this error:

ld: warning: directory not found for option \'-
L/Use

相关标签:
21条回答
  • 2021-02-13 07:33

    In my case i have add reference of FacebookLoginSDK framework but forget to give search path in build setting. After removing its reference everything was fine.

    So conclusion is if you are adding any external framework be careful.

    0 讨论(0)
  • 2021-02-13 07:33

    I was also having same issue and I did following and issue is gone.

    Go to Product -> Clean and re-run the project.

    I hope it might be useful for some other developers.

    0 讨论(0)
  • 2021-02-13 07:36

    you only need to add the following framework: quartzcore.framework

    0 讨论(0)
提交回复
热议问题