Linker command failed with exit code 1 error in Xcode project

后端 未结 21 3264
死守一世寂寞
死守一世寂寞 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:27

    I was importing a library in a test case which I had specified in my pod file for the main target but not for the test target.

提交回复
热议问题