Linker command failed with exit code 1 error in Xcode project

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

    As I said the problem wasn't the code but some settings. So what I did was copying the code from my friends' Mac (it was working fine), and installed a fresh copy of the project to my Mac. It worked.

提交回复
热议问题