2015-10-04 135 views
0

我使用瞭解析SDK和Facebook。 當我嘗試運行該應用程序,我得到了38個錯誤... 任何想法,爲什麼? 請告訴我如何解決。 我找到了關於使用libspl3.dylib來發布「splite3○○○_○○○」的文章,引用自:~~。 但是iOS9沒有libspl3.dylib。我使用了_sqlite3.tdb。但我無法解決。 對不起,我的英語很差。解析iOS版:嘗試運行應用程序時出錯(38錯誤)

Undefined symbols for architecture arm64: "_sqlite3_column_count", referenced from: -[PFSQLiteDatabaseResult columnNameToIndexMap] in Parse(PFSQLiteDatabaseResult.o) "_sqlite3_column_name", referenced from: -[PFSQLiteDatabaseResult columnNameToIndexMap] in Parse(PFSQLiteDatabaseResult.o) "_sqlite3_column_type", referenced from: -[PFSQLiteDatabaseResult objectForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o) -[PFSQLiteDatabaseResult columnIndexIsNull:] in Parse(PFSQLiteDatabaseResult.o) "_sqlite3_column_blob", referenced from: -[PFSQLiteDatabaseResult dataForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o) "_sqlite3_bind_blob", referenced from: -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o) "_sqlite3_bind_null", referenced from: -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o) "_sqlite3_bind_double", referenced from: -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o) (maybe you meant: _fbsdkdfl_sqlite3_bind_double) "_sqlite3_bind_int64", referenced from: -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o) "_sqlite3_bind_parameter_count", referenced from: -[PFSQLiteDatabase _executeQueryAsync:withArgumentsInArray:cachingEnabled:] in Parse(PFSQLiteDatabase.o) "_OBJC_CLASS_$_FBSessionTokenCachingStrategy", referenced from: _OBJC_CLASS_$_PFFacebookTokenCachingStrategy in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o) "_FBTokenInformationUserFBIDKey", referenced from: -[PFFacebookTokenCachingStrategy facebookId] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o) -[PFFacebookTokenCachingStrategy setFacebookId:] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o) "_FBTokenInformationExpirationDateKey", referenced from: -[PFFacebookTokenCachingStrategy cacheTokenInformation:] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o) -[PFFacebookTokenCachingStrategy expirationDate] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o) -[PFFacebookTokenCachingStrategy setExpirationDate:] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o) "_sqlite3_column_int", referenced from: -[PFSQLiteDatabaseResult intForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o) (maybe you meant: _fbsdkdfl_sqlite3_column_int) "_SCNetworkReachabilityGetFlags", referenced from: ___54-[PFReachability _startMonitoringReachabilityWithURL:]_block_invoke in Parse(PFReachability.o) "_SCNetworkReachabilitySetCallback", referenced from: -[PFEventuallyQueue _stopMonitoringNetworkReachability] in Parse(PFEventuallyQueue.o) -[PFReachability dealloc] in Parse(PFReachability.o) ___54-[PFReachability _startMonitoringReachabilityWithURL:]_block_invoke in Parse(PFReachability.o) "_sqlite3_clear_bindings", referenced from: ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o) "_AudioServicesCreateSystemSoundID", referenced from: +[PFPushUtilities playAudioWithName:] in Parse(PFPushUtilities.o) (maybe you meant: _fbsdkdfl_AudioServicesCreateSystemSoundID) "_OBJC_METACLASS_$_FBSessionTokenCachingStrategy", referenced from: _OBJC_METACLASS_$_PFFacebookTokenCachingStrategy in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o) "_AudioServicesPlaySystemSound", referenced from: +[PFPushUtilities playAudioWithName:] in Parse(PFPushUtilities.o) +[PFPushUtilities playVibrate] in Parse(PFPushUtilities.o) (maybe you meant: _fbsdkdfl_AudioServicesPlaySystemSound) "_sqlite3_bind_text", referenced from: ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o) -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o) (maybe you meant: _fbsdkdfl_sqlite3_bind_text) "_sqlite3_column_int64", referenced from: ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o) -[PFSQLiteDatabaseResult longForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o) "_sqlite3_errmsg", referenced from: -[PFSQLiteDatabase _errorWithErrorCode:] in Parse(PFSQLiteDatabase.o) (maybe you meant: _fbsdkdfl_sqlite3_errmsg) "_OBJC_CLASS_$_FBRequest", referenced from: objc-class-ref in ParseFacebookUtils(PFFacebookAuthenticationProvider.o) "_OBJC_CLASS_$_FBSession", referenced from: objc-class-ref in ParseFacebookUtils(PFFacebookAuthenticationProvider.o) "_FBTokenInformationTokenKey", referenced from: -[PFFacebookTokenCachingStrategy accessToken] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o) -[PFFacebookTokenCachingStrategy setAccessToken:] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o) "_sqlite3_step", referenced from: ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o) -[PFSQLiteDatabaseResult step] in Parse(PFSQLiteDatabaseResult.o) (maybe you meant: _fbsdkdfl_sqlite3_step) "_sqlite3_column_double", referenced from: ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o) -[PFSQLiteDatabaseResult doubleForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o) (maybe you meant: _fbsdkdfl_sqlite3_column_double) "_sqlite3_open", referenced from: -[PFDateFormatter init] in Parse(PFDateFormatter.o) ___29-[PFSQLiteDatabase openAsync]_block_invoke in Parse(PFSQLiteDatabase.o) (maybe you meant: _fbsdkdfl_sqlite3_open_v2) "_sqlite3_reset", referenced from: ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o) -[PFSQLiteStatement reset] in Parse(PFSQLiteStatement.o) (maybe you meant: _fbsdkdfl_sqlite3_reset) "_SCNetworkReachabilitySetDispatchQueue", referenced from: -[PFEventuallyQueue _stopMonitoringNetworkReachability] in Parse(PFEventuallyQueue.o) -[PFReachability dealloc] in Parse(PFReachability.o) ___54-[PFReachability _startMonitoringReachabilityWithURL:]_block_invoke in Parse(PFReachability.o) "_sqlite3_column_bytes", referenced from: -[PFSQLiteDatabaseResult dataForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o) "_OBJC_CLASS_$_FBAppCall", referenced from: objc-class-ref in ParseFacebookUtils(PFFacebookAuthenticationProvider.o) "_sqlite3_column_text", referenced from: -[PFSQLiteDatabaseResult stringForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o) (maybe you meant: _fbsdkdfl_sqlite3_column_text) "_sqlite3_finalize", referenced from: -[PFDateFormatter dealloc] in Parse(PFDateFormatter.o) -[PFSQLiteDatabase _executeQueryAsync:withArgumentsInArray:cachingEnabled:] in Parse(PFSQLiteDatabase.o) -[PFSQLiteStatement close] in Parse(PFSQLiteStatement.o) (maybe you meant: _fbsdkdfl_sqlite3_finalize) "_SCNetworkReachabilityCreateWithName", referenced from: ___54-[PFReachability _startMonitoringReachabilityWithURL:]_block_invoke in Parse(PFReachability.o) "_sqlite3_close", referenced from: -[PFDateFormatter dealloc] in Parse(PFDateFormatter.o) ___30-[PFSQLiteDatabase closeAsync]_block_invoke in Parse(PFSQLiteDatabase.o) (maybe you meant: _fbsdkdfl_sqlite3_close) "_sqlite3_prepare_v2", referenced from: -[PFDateFormatter init] in Parse(PFDateFormatter.o) -[PFSQLiteDatabase _executeQueryAsync:withArgumentsInArray:cachingEnabled:] in Parse(PFSQLiteDatabase.o) (maybe you meant: _fbsdkdfl_sqlite3_prepare_v2) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

+0

'ld:找不到架構arm64的符號' –

+0

謝謝你的回答。 但我不明白如何解決。 你有什麼好主意嗎? –

回答

1

你需要一個新的,但不是太新了,框架,鏈接到項目。

  • libsqlite3.tbd

我的猜測是,你也會有替代以下兩個框架,以及:

  • lib.1.1.3.tbd
  • 的libstdC++ 6 .bdbd

僅供參考,.tbd擴展框架是新的「基於文本的存根庫ies「,它提供了一個在SDK中使用的祖先庫的更加緊湊的版本,作爲回報有助於顯着減少下載大小。

+0

非常感謝你的回答,以及詳細的解釋。 我做了,我可以解決8個錯誤! –

0

Xcode 6發佈時發生在我身上。您可以找到幾個解決方法,但我只需等待Parse更新其API以支持新的Xcode版本。我知道這在當前並沒有幫助,但他們通常非常善於跟上。我想說你應該在一週內完成最大限度的運轉。作爲大拇指的角色,我堅持使用以前的版本,直到Parse更新。

相關問題