2011-08-26 57 views
0

我已經移植到iOS 5冰冷(iPhone基於Debian的包管理器 - 越獄)。 我已經將4.0移植出來,但一旦出來,但現在我得到的錯誤,直到現在,我沒有解決。我如何編譯我的應用程序在Xcode與這些錯誤 - LibCurl

,當我在iPhone模擬器建立冰冷它具有零次失誤,但是當我建立它在我的實際設備上,我發現了以下錯誤:

Undefined symbols for architecture armv7: 
    "_curl_easy_strerror", referenced from: 
     -[URLDownload start] in URLDownload.o 
    "_curl_easy_perform", referenced from: 
     -[URLDownload start] in URLDownload.o 
    "_curl_easy_init", referenced from: 
     -[URLDownload initWithURL:delegate:resumeable:] in URLDownload.o 
    "_curl_easy_setopt", referenced from: 
     -[URLDownload initWithURL:delegate:resumeable:] in URLDownload.o 
     -[URLDownload start] in URLDownload.o 
    "_curl_easy_cleanup", referenced from: 
     -[URLDownload dealloc] in URLDownload.o 
    "_curl_slist_free_all", referenced from: 
     -[URLDownload start] in URLDownload.o 
    "_curl_slist_append", referenced from: 
     -[URLDownload start] in URLDownload.o 
ld: symbol(s) not found for architecture armv7 
collect2: ld returned 1 exit status 

我媒體鏈接更新框架和東西。我修正了200錯誤,現在我一直堅持這些錯誤。

也有警告:

ld: warning: ignoring file /Users/Samtulp6/Desktop/Infini-Dev/iOS/Projects/Icy/Fr0st's Source Code/Icy_Infini/Sources/Backend/Network/libcurl.a, file was built for archive which is not the architecture being linked (armv7) 
ld: warning: ignoring file /Users/Samtulp6/Desktop/Infini-Dev/iOS/Projects/Icy/Fr0st's Source Code/Icy_Infini/Sources/Backend/Network/libcurl_i386.a, file was built for archive which is not the architecture being linked (armv7) 
ld: warning: ignoring file /Users/Samtulp6/Desktop/Infini-Dev/iOS/Projects/Icy/Fr0st's Source Code/Icy_Infini/Sources/Backend/Network/libssl_i386.a, file was built for archive which is not the architecture being linked (armv7) 
ld: warning: ignoring file /Users/Samtulp6/Desktop/Infini-Dev/iOS/Projects/Icy/Fr0st's Source Code/Icy_Infini/Sources/Backend/Network/libcrypto_i386.a, file was built for archive which is not the architecture being linked (armv7) 

任何人知道如何解決這一問題?

在此先感謝

薩姆

回答

0

看來你正在使用沒有爲armv7架構上的iPhone 4使用內置從Build設置中刪除armv7架構或重建的curl庫帶有armv7架構的cURL庫(胖庫)。

+0

非常感謝! –

+0

我只是將它從構建設置中刪除,因爲我不知道如何重建cURL。 :)再次請你 –

+0

現在我得到以下錯誤:檢查依賴關係 [BEROR]沒有體系結構編譯爲(ARCHS = armv7,VALID_ARCHS = armv6)。 –

相關問題