3
我嘗試將sharekit 2.0整合到我的應用程序中,並將新的ShareKit 2.0作爲子模塊安裝在我的本地Git存儲庫中。我認爲我已經正確地遵循了安裝說明,但'smoke test
'上收到18個鏈接器錯誤。鏈接器錯誤:在Xcode 4.5和ShareKit 2.0的libShareKit.a中的CFHTTP請求方法
這裏的一些錯誤:
Undefined symbols for architecture i386:
"_CFHTTPMessageCopyHeaderFieldValue", referenced from:
-[LFHTTPRequest(PrivateMethods) readStreamHasBytesAvailable] in libShareKit.a(LFHTTPRequest.o)
-[LFHTTPRequest(PrivateMethods) readStreamEndEncountered] in libShareKit.a(LFHTTPRequest.o)
我已經在構建階段列入「Link Binary with Libraries
」 libShareKit.a
爲路線指示。它顯示紅色,如果這意味着什麼。
幫助將不勝感激。謝謝。
在我的情況下,這個解決方案減少了15個錯誤的數量,但爲什麼我必須這樣做呢? CFNetwork是flickr,我不需要它爲我的應用程序... – santuxus
引用可能仍然存在這些Apis。 – Arshad