Linker command failed with exit code 1 error in Xcode project

后端 未结 21 3222
死守一世寂寞
死守一世寂寞 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条回答
  •  -上瘾入骨i
    2021-02-13 07:16

    try this, go to Target -> Build Settings,then search these three as following,

    GCC_NO_COMMON_BLOCKS,

    CLANG_WARN_INFINITE_RECURSION,

    CLANG_WARN_SUSPICIOUS_MOVE,

    set NO to each value then clean and build.

提交回复
热议问题