1

iOS 7 でビルドされたプロジェクトに Parse フレームワークを統合しようとしています。別のプロジェクトで iOS 6 を使用しましたが、問題はありませんでした。新しい iOS では、プロジェクトはコンパイルされません。問題は、Parsse フレームワークが armv7s アーキテクチャ用に構築されていないことです。この問題を解決する方法がわかりません。

xcode 5が示す問題を添付します:

Undefined symbols for architecture armv7s: "_sqlite3_reset", referenced from:

  _initializeStatement in Parse(PF_FBCacheIndex.o)
"_sqlite3_column_int", referenced from:

  -[PF_FBCacheIndex _createCacheEntityInfo:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _fetchCurrentDiskUsage] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _trimDatabase] in Parse(PF_FBCacheIndex.o)
"_sqlite3_bind_int", referenced from:

  -[PF_FBCacheIndex _updateEntryInDatabaseForKey:entry:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _writeEntryInDatabase:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _trimDatabase] in Parse(PF_FBCacheIndex.o)
"_sqlite3_column_text", referenced from:

  -[PF_FBCacheIndex _createCacheEntityInfo:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _trimDatabase] in Parse(PF_FBCacheIndex.o)
"_sqlite3_bind_text", referenced from:

  -[PF_FBCacheIndex _updateEntryInDatabaseForKey:entry:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _writeEntryInDatabase:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _readEntryFromDatabase:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _readEntriesFromDatabase:excludingFragment:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _removeEntryFromDatabaseForKey:] in Parse(PF_FBCacheIndex.o)
"_sqlite3_column_double", referenced from:

  -[PF_FBCacheIndex _createCacheEntityInfo:] in Parse(PF_FBCacheIndex.o)
"_sqlite3_bind_double", referenced from:

  -[PF_FBCacheIndex _updateEntryInDatabaseForKey:entry:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _writeEntryInDatabase:] in Parse(PF_FBCacheIndex.o)
"_sqlite3_step", referenced from:

  -[PF_FBCacheIndex _updateEntryInDatabaseForKey:entry:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _writeEntryInDatabase:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _createCacheEntityInfo:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _fetchCurrentDiskUsage] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _removeEntryFromDatabaseForKey:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _dropTrimmingTable] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _trimDatabase] in Parse(PF_FBCacheIndex.o)
  ...
"_sqlite3_prepare_v2", referenced from:

  _initializeStatement in Parse(PF_FBCacheIndex.o)
"_sqlite3_open_v2", referenced from:

  ___39-[PF_FBCacheIndex initWithCacheFolder:]_block_invoke in Parse(PF_FBCacheIndex.o)
"_sqlite3_errmsg", referenced from:

  _releaseStatement in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _updateEntryInDatabaseForKey:entry:] in Parse(PF_FBCacheIndex.o)
  _initializeStatement in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _writeEntryInDatabase:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _readEntryFromDatabase:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _readEntriesFromDatabase:excludingFragment:] in Parse(PF_FBCacheIndex.o)
  -[PF_FBCacheIndex _fetchCurrentDiskUsage] in Parse(PF_FBCacheIndex.o)
  ...
"_sqlite3_finalize", referenced from:

  _releaseStatement in Parse(PF_FBCacheIndex.o)
"_sqlite3_close", referenced from:

  ___26-[PF_FBCacheIndex dealloc]_block_invoke in Parse(PF_FBCacheIndex.o)
"_sqlite3_exec", referenced from:

  ___39-[PF_FBCacheIndex initWithCacheFolder:]_block_invoke in Parse(PF_FBCacheIndex.o)
ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
4

1 に答える 1

2

私は問題を解決しました:私にとってうまくいったのは、ライブラリを含めることでした:

libsqlite.3dylib
libz.dylib

これらは、Parse PushNotificationTutorial プロジェクトにあります。Parse の Web からダウンロードできます。

于 2013-09-30T11:28:35.670 に答える