2015-11-19 86 views
0

我在Xcode 7.1中打開了舊項目,並且遇到了一個錯誤。未找到框架Xcode 7.1

ld: framework not found LibXL 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 
  • 我曾在項目文件夾的框架LibXL

  • Always search user path設置爲YES。 //試圖與NO

  • Framework Search Path被設置到框架路徑$(PROJECT_DIR)這是/Users/Mr.T/Desktop/Project。 //試圖與recursivenon-recursive

    的更多信息:

enter image description here

enter image description here

enter image description here

enter image description here

我不確定run path search path,它應該包含什麼值!!!

回答

1

轉到Build Settings並添加$(PROJECT_DIR)非遞歸到Framework Search Paths

沒有必要改變Runpath Search Paths

+0

我做到了,但沒有運氣 –

0

框架得到了由LibXL更新,在某種程度上舊框架不被認可的Xcode。我再次下載了框架,並將其添加到項目中!它現在工作了!