ios 缺少類庫報錯

2021-06-25 07:13:15 字數 1959 閱讀 7220

1、?

1

2

3

undefined symbolsforarchitecture i386:

"_scnetworkreachabilitycreatewithaddress", referenced from:

"_scnetworkreachabilitygetflags", referenced from:

解決辦法:新增systemconfiguration.framework

2.這個是引用nsdataadditions時出現的bug,?

1

2

3

4

5

6

7

8

9

10

11

12

"_deflate", referenced from:

-[nsdata(nsdataadditions) gzipdeflate] in nsdataadditions.o

"_deflateend", referenced from:

-[nsdata(nsdataadditions) gzipdeflate] in nsdataadditions.o

"_deflateinit2_", referenced from:

-[nsdata(nsdataadditions) gzipdeflate] in nsdataadditions.o

"_inflate", referenced from:

-[nsdata(nsdataadditions) gzipinflate] in nsdataadditions.o

"_inflateend", referenced from:

-[nsdata(nsdataadditions) gzipinflate] in nsdataadditions.o

"_inflateinit2_", referenced from:

-[nsdata(nsdataadditions) gzipinflate] in nsdataadditions.o

解決辦法:新增libz.dylib類庫

3.'libxml/htmlpraser.h' file not found

這個是一位網友在xcode4.3.2中編譯沒問題,但是在xcode4.6.3中編譯是遇到的,給的解決步驟是

據這位網友講,修復過後報錯armv7s,armv7s的問題比較常見的解決辦法是在build settings->valid architectures項中去除armv7s,如果還是未能解決,請谷歌armv7s查詢具體解決辦法

ps:用第三方類庫.a檔案時很容易出現無法解決的armv7s問題,尤其是好多類庫都比較老,但是蘋果的類庫和xcode一直在更新,很容易出現未知錯誤,建議用第三方庫時匯入.m檔案,比較容易解決問題

iOS常用類庫

1 sstoolkit 2 gpuimage gpuimage乙個功能十分強大又十分易用的影象處理庫。3 socketrocket socketrocket是乙個websocket客戶端 websocket是適用於web應用的下一代全雙工通訊協議,被稱為 web的tcp 它實現了瀏覽器與伺服器的雙向...

iOS常用類庫

1 sstoolkit 2 gpuimage gpuimage乙個功能十分強大又十分易用的影象處理庫。3 socketrocket socketrocket是乙個websocket客戶端 websocket是適用於web應用的下一代全雙工通訊協議,被稱為 web的tcp 它實現了瀏覽器與伺服器的雙向...

ubuntu 缺少動態依賴庫

困擾我好久的乙個報錯,終於解決了 之前我一直以為是 python 的問題,以為是模組相互調引起的報錯,忽略了最後一行這個錯誤 oserror libgcbase gcc421 v3 0.so cannot open shared object file no such file or directo...