2017-08-02 66 views
0

最近我成功地將我的SDwebImage安裝到了我的項目中,它工作得很好。但是,有一個令我惱火的問題。我試圖重新安裝我的SDWebImage框架,但我仍然得到相同的警告。只需在構建詞組中添加我的框架並將SDWebImage導入到相關文件即可。SDWebImage Apple Mach-O鏈接器警告

enter image description here

+1

關閉項目和開放的工作空間。如果你最近安裝了cocoapod。 – KKRocks

+0

或點擊您的項目(目標) - >構建設置 - > 在「庫搜索路徑」下,刪除路徑 - > 清理構建並重新運行。 – KKRocks

+0

如果你正在使用椰子樹。首先從podfile中刪除SDWebImage。並運行命令pod install。之後再添加一次。並運行命令pod install。它會正常工作。 – shahnilay86

回答

0
1. Click on your project (targets) 
2. Click on Build Settings 
3. Use the arrows next to your project name (right above the Basic and All buttons) the change to the Tests target 
4. if the warning is ...for option '-F/... thats Framework Search Paths, delete the stuff there 
5. Clean 
6. Build Go for it. 
+0

謝謝你的幫助:) – didayo