2013-09-30 2 views
1

Я пытаюсь интегрировать структуру анализа в мой проект, построенный в iOS 7. Я сделал в другом проекте с iOS 6, и проблем не было. С новым iOS проект не компилируется. Похоже, что проблема в структуре Parsse не построена для архитектуры armv7s. Я не знаю, как решить эту проблему.проблемы с Parse framework и iOS 7

Я придаю проблемы, 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) 

ответ

2

Я решил проблему: то, что работало для меня было включать библиотеки:

libsqlite.3dylib 
libz.dylib 

Они могут быть найдены в проекте Parse PushNotificationTutorial. Вы можете загрузить его из Интернета Parse.

Смежные вопросы