Home  >  Q&A  >  body text

objective-c - 运行代码时报linker command failed with exit code 1 错误

从朋友那拷贝了一份他的工程代码,但是运行时报了linker command failed with exit code 1 (use -vto see invocation)这个错误,

某草草某草草2727 days ago5314

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-05-02 09:26:26

    Obviously, the path is wrong and the compiler did not find that folder.
    Check whether the path is correct. If not, check whether the folder has been added to the project, and then check the Library Search Path to see if there is any setting error.

    reply
    0
  • PHP中文网

    PHP中文网2017-05-02 09:26:26

    The address of the framework link is wrong

    Delete AFNetwork from here and re-link it

    reply
    0
  • Cancelreply