0

icy (iPhone Debian ベースのパッケージ マネージャー -- ジェイルブレイク) を iOS 5 に移植してきました。

iOS シミュレーターで氷をビルドするとエラーは発生しませんが、実際のデバイスでビルドすると、次のエラーが発生します。

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)

誰でもこれを修正する方法を知っていますか?

前もって感謝します

-サム

4

1 に答える 1

0

armv7使用している cURL ライブラリは、iPhone 4 で使用されているアーキテクチャ用にビルドされていないようです。armv7ビルド設定からアーキテクチャを削除するか、cURL ライブラリを armv7 アーキテクチャ (ファット ライブラリ) で再構築します。

于 2011-08-26T14:12:36.907 に答える