使cocopods管理開源庫編譯出現Library not found for -lPods問題的解決方法
- Go to Product > Edit Scheme
- Click on Build
-
Add the
Pods
static library, and make sure it's at the top of the list - Clean and build again
- If that doesn't work, verify that the source for the spec you are trying to include has been pulled from github. Do this by looking in /Pods/. If it is empty (it should not be), verify that the ~/.cocoapods/master//.podspec has the correct git hub url in it.
-
If still doesn't work, check your XCode build locations settings. Go to Preferences -> Locations -> Derived Data -> Advanced and set build location to "Relative to Workspace".
相關推薦
使cocopods管理開源庫編譯出現Library not found for -lPods問題的解決方法
Go to Product > Edit Scheme Click on Build Add the Pods static library, and make sure it's at the top of the list Clean and build again If that doesn'
xcode編譯程式碼的時候 ld: library not found for -xxx 解決方法
有時候在Xcode下面我們需要引入第三方類庫,或者自己寫的靜態庫。如果配置不正確,就會出現如下錯誤“ld: library not found for -lpcre clang: error: lin
修改工程名稱編譯是報ld: library not found for -lPods-lXXX解決辦法
給原來的工程重新修改下名字,編譯報錯: ld: library not found for -lPods-YXFDCategories clang: error: linker command failed with exit code 1 (use -v to see invocati
"library not found for - "解決辦法
在我們編譯的時候有時候會報這個錯誤 "library not found for - " 由於是我們在專案中使用了一些第三方的庫,就比如我再使用百度的靜態庫檔案的時候,報出的這個錯誤。 當xcode在編譯的時候卻找不到這個庫,從而導致如此。 所以我們要讓xcod
ios pod的使用遇到 library not found for -lPods
今天從svn上拿下來我們一起開的工程,使用pods管理第三方庫,執行pod install 結果出現了library not found for -lPods 的錯誤,工程跑不起來,蛋疼的找了好久,在網上找也沒有找到解決的辦法,後來就對比pods的檔案,返現在
library not found for -lPods 的解決辦法
在老專案工程中使用cocoapods,可能會報這個錯誤:library not found for -lPods .導致這個錯誤可能有兩個原因,這兩個原因在編譯過程中都是有蛛絲馬跡可循的。原因1:在 pod install時,就會有告警資訊提示:xxx target over
解決 ld: library not found for -lPods的問題
最近計劃把公司的專案重構一下,第一步就是引入CocoaPods(以下簡稱pods)來管理第三方庫。但是這第一步就不是太順利。 首先建好Podfile,並在命令列中輸入pod install,結果報以下錯誤 [!] The XXX target overr
library not found for -lPods-AFNetworking解決放案
出現library not found for -lPods-AFNetworking這個報錯, 來自於我從git上面把我專案直接Download下來的,我的專案裡面用了CocoaPods的,現
解決 Xcode10 編譯錯誤 ld: library not found for -lstdc++
升級完 Xcode10 之後,開啟老的工程,編譯提示錯誤: ld: library not found for -lstdc++6.0.9 這是因為蘋果在 Xcode10 中移除了 libstdc++ 這個庫,由 libc++ 這個庫取而代之。如果是自己工程裡引用了 libstdc++ 庫,在 Lin
Mac OS X 下命令列編譯錯誤: ld: library not found for -lcrt1.10.6.o
在 Mac OS X 的 10.8.3 的版本中,使用命令列執行 configure 時,生成下面的錯誤: WenBi-MacBook:tcpdump-4.4.0 wenbi$ ./configure checking build system type... x86
Android N載入系統私有庫時出現is not accessible for the namespace錯誤和針對該錯誤的解決方法
谷歌從Android N開始,除了那些在Android NDK提供的庫之外,限制了應用對系統私有庫的載入。既然是限制了,想通過以前的方法去載入庫已經行不通了。所以目前的解決方法就是把應用需要載入的庫和需要依賴的庫從系統中pull出來,然後整合到自己的應用當中。本文是看了這篇
Xcode編譯 library not found for -lXXXX
最近使用Xcode9 開啟程式碼發現 Realm 三方庫報錯,於是就更新到2.8.3 版本處理,等待了老半天(最後還是使用移動資料更新成功的,差不多50多M)。之後再次編譯結果就是這樣的提示了: ld: library not found for -lreal
linux 連結庫檔案出現“undefined reference to" 問題的解決方法
最近在Linux下程式設計發現一個詭異的現象,就是在連結一個靜態庫的時候總是報錯,類似下面這樣的錯誤: (.text+0x13): undefined reference to `func' 關於undefined reference這樣的問題,大家其實經常會遇
ld: library not found for -lXXXXX 編譯問題的解決方法
團隊開發的時候每次更新後都有可能碰到各種各樣的問題,昨天同事對專案結構做了些修改,更新後編譯就遇到下面的情況: ld: library not found for -lAFNetworking 這個錯誤是說編譯時找不到AFNetworking這個連結庫,但是我
在編譯工程時,有時會遇到類似“ld: library not found for -l…” 的錯誤提示
1.遞迴刪除指定目錄下的 .git、.svn 檔案find . -name .git | xargs rm -fr find . -name .svn | xargs rm -rf第一條倒還不常用,因為用 git 做版本管理的時候,只在根目錄下生成一個 .git 目錄,刪掉
Xcode編譯報錯library not found for -lAFNetworking
更新了macOS之後重新pod install了一下,結果之前好好的AFNetworking突然一直報錯,始終是: ld: library not found for -lAFNetworking clang: error: linker command f
pod 升級1.1.1後,pod install 後程序編譯報錯 ld: library not found for -lAFNetworking
首先確認podfile裡如下配置 platform:ios,'8.0' use_frameworks! target 'My App' do pod 'SDAutoLayout' pod 'AFNetworking' pod 'YTXAnimations'
iOS library not found for -lstdc++.6.0.9
這個是庫報錯了,Xcode 10 取消了內建支援的 libstdc++ 庫。 解決方法: 可以直接使用libc++ 這個庫來替換,或者麻煩一點從Xcode 9 那邊拷貝一個libstdc++.6.tbd 和 libstdc++.6.0.9.tbd到xcode10中 路徑 /Appl
Xcode10 clang error:library not found for -lstdc++.6.0.9
Xcode升級到10.0之後,編譯報錯 蘋果於北京時間6月5號凌晨,向開發者提供MacOS、iOS、WatchOS、TvOS四大系統更新,Xcode10 beat版不負眾望,繼續延續了歷史,新版本仍然出問題了。 1、找到報錯 --> 右鍵 --> Reveal in Log。
Xcode10:library not found for -lstdc++.6.0.9 臨時解決
Xcode10:library not found for -lstdc++.6.0.9 臨時解決 下載stdc++.6.0.9 提取自Xcode9 百度雲連結:stdc++.6.0.9 部分專案依賴 libstdc++.6.0.9 的會在Xcode 10無法執行 其