xcode4: Linker error: Directory not found for option

前端 未结 4 1525
难免孤独
难免孤独 2020-12-13 05:53

I\'m getting this error for my profile build (debug build was OK).

{Directory not found for option \'-L../../../Mac/Profile/lib [full path of that directory]         


        
4条回答
  •  [愿得一人]
    2020-12-13 06:34

    There are two errors that people seem to have confused

    If it is a "directory not found for option '-L/..." That means it's a Library Error, and you might want to try:

    • Click on your project (targets)
    • Click on Build Settings
    • Under Library Search Paths, delete the paths

    If it is a "directory not found for option '-F/..." That means it's a Framework Error, and you might want to try:

    • Click on your project (targets)
    • Click on Build Settings
    • Under Framework Search Paths, delete the paths

    This might happen when you move referenced files around or change the project folder name.

提交回复
热议问题