本文介绍了在iOS版应用上关联Firebase 3.7.0的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在我的iOS应用程序中使用Firebase SDK 3.7.0,但是却出现链接错误。我已经按照自述文件.md,它包含在从 https://firebase.google.com/docs下载的框架SDK中/ b>

在链接上出现这些错误:

在FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)中引用:
___ 48- [FIRASqliteStore bindValues:toStatement:error:] _ block_invoke在架构armv7中的未定义符号:
_sqlite3_bind_double )
_sqlite3_bind_null,引用自:
___ 48- [FIRASqliteStore bindValues:toStatement:error:] _base_invoke in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
_sqlite3_column_type,引用自:
- [FIRASqliteStore valueAtColumn: forStatement:]在FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
的_sqlite3_column_double,从引用:
- [FIRASqliteStore valueAtColumn:forStatement:]在FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
的_sqlite3_open_v2,从参考:
- [FIRASqliteStore openAndValidateDatabase:]在FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
的_sqlite3_clear_bindings,从引用:
- [FIRASqliteStore cleanUpStatement:forQuery:]在FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
- [FIRASqliteStore bindValues:toStatement:错误:]在FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
的_sqlite3_column_count,从引用:
- [FIRASqliteStore recordsForQuery:的parameterValues:错误:withFilter:]在FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b .o)
- [FIRASqliteStore validateDataba在FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
_OBJC_CLASS _ $ _ SSReadingList中的引用自
中的seWithError:
中的objc-class-ref
_OBJC_CLASS _ $ _ MFMessageComposeViewController ,引用从:
objc级-REF IN FirebaseInvites(GINInviteController_af66380ba390cf14b066932397806d20.o)
objc级-REF IN FirebaseInvites(GPPACLSearchViewController_3fc71921176f5b855c444ab9ce9260c7.o)
objc级-REF IN FirebaseInvites(GINInviteScrollView_5b90efc8e1a69f9dfe581b021e7f869b。 o)
_OBJC_CLASS _ $ _ CMMotionManager,引用自:
FirebaseDynamicLinks中的objc-class-ref(GPPSpamSignal_a0a54565a3243ede865cc9b2724bc7a8.o)
_sqlite3_column_bytes,引用自:
- [FIRMessagingRmq2PersistentStore scanOutgoingRmqMessagesWithHandler :]在FirebaseMessaging(FIRMessagingRmq2PersistentStore_66612bb0cdda59e6a475d66db9ec25d4.o)
- [FIR ASqliteStore valueAtColumn:forStatement:]在FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
的_sqlite3_reset,从引用:
- [FIRASqliteStore cleanUpStatement:forQuery:]在FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
_sqlite3_changes ,引用从:
- [FIRMessagingRmq2PersistentStore deleteMessagesFromTable:withRmqIds:]在FirebaseMessaging(FIRMessagingRmq2PersistentStore_66612bb0cdda59e6a475d66db9ec25d4.o)
- [FIRMessagingRmq2PersistentStore deleteExpiredOrFinishedSyncMessages:]在FirebaseMessaging(FIRMessagingRmq2PersistentStore_66612bb0cdda59e6a475d66db9ec25d4.o)
- [FIRASqliteStore deleteRecordsFromTableWithName:条件FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)中的parameterValue:error:]
_sqlite3_errmsg,引用自:
- FirebaseMessaging中的[FIRMessagingRmq2PersistentStore saveMessageWithRmqId:tag:data:error: Rmq2PersistentStore_66612bb0cdda59e6a475d66db9ec25d4.o)
- FirebaseMessaging(FIRMessagingRmq2PersistentStore_66612bb0cdda59e6a475d66db9ec25d4.o)中的[FIRMessagingRmq2PersistentStore lastErrorMessage]

XCode的版本是7.0.1

解决方案

你需要添加这个框架,因为你不使用豆荚


I'm trying to use Firebase SDK 3.7.0 in my iOS application, but it gives linking errors.

I've followed the steps described on the README.md that it's included on the framework SDK downloaded from https://firebase.google.com/docs/ios/setup, on integration without CocoaPods section.

On linking, appears these errors:

Undefined symbols for architecture armv7:
  "_sqlite3_bind_double", referenced from:
      ___48-[FIRASqliteStore bindValues:toStatement:error:]_block_invoke in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
  "_sqlite3_bind_null", referenced from:
      ___48-[FIRASqliteStore bindValues:toStatement:error:]_block_invoke in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
  "_sqlite3_column_type", referenced from:
      -[FIRASqliteStore valueAtColumn:forStatement:] in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
  "_sqlite3_column_double", referenced from:
      -[FIRASqliteStore valueAtColumn:forStatement:] in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
  "_sqlite3_open_v2", referenced from:
      -[FIRASqliteStore openAndValidateDatabase:] in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
  "_sqlite3_clear_bindings", referenced from:
      -[FIRASqliteStore cleanUpStatement:forQuery:] in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
      -[FIRASqliteStore bindValues:toStatement:error:] in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
  "_sqlite3_column_count", referenced from:
      -[FIRASqliteStore recordsForQuery:parameterValues:error:withFilter:] in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
      -[FIRASqliteStore validateDatabaseWithError:] in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
  "_OBJC_CLASS_$_SSReadingList", referenced from:
      objc-class-ref in GoogleSignIn(please_link_SafariServices.framework_.o)
  "_OBJC_CLASS_$_MFMessageComposeViewController", referenced from:
      objc-class-ref in FirebaseInvites(GINInviteController_af66380ba390cf14b066932397806d20.o)
      objc-class-ref in FirebaseInvites(GPPACLSearchViewController_3fc71921176f5b855c444ab9ce9260c7.o)
      objc-class-ref in FirebaseInvites(GINInviteScrollView_5b90efc8e1a69f9dfe581b021e7f869b.o)
  "_OBJC_CLASS_$_CMMotionManager", referenced from:
      objc-class-ref in FirebaseDynamicLinks(GPPSpamSignal_a0a54565a3243ede865cc9b2724bc7a8.o)
  "_sqlite3_column_bytes", referenced from:
      -[FIRMessagingRmq2PersistentStore scanOutgoingRmqMessagesWithHandler:] in FirebaseMessaging(FIRMessagingRmq2PersistentStore_66612bb0cdda59e6a475d66db9ec25d4.o)
      -[FIRASqliteStore valueAtColumn:forStatement:] in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
  "_sqlite3_reset", referenced from:
      -[FIRASqliteStore cleanUpStatement:forQuery:] in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
  "_sqlite3_changes", referenced from:
      -[FIRMessagingRmq2PersistentStore deleteMessagesFromTable:withRmqIds:] in FirebaseMessaging(FIRMessagingRmq2PersistentStore_66612bb0cdda59e6a475d66db9ec25d4.o)
      -[FIRMessagingRmq2PersistentStore deleteExpiredOrFinishedSyncMessages:] in FirebaseMessaging(FIRMessagingRmq2PersistentStore_66612bb0cdda59e6a475d66db9ec25d4.o)
      -[FIRASqliteStore deleteRecordsFromTableWithName:condition:parameterValues:error:] in FirebaseAnalytics(FIRASqliteStore_2e8a0f466f3be880241569cb2066f73b.o)
  "_sqlite3_errmsg", referenced from:
      -[FIRMessagingRmq2PersistentStore saveMessageWithRmqId:tag:data:error:] in FirebaseMessaging(FIRMessagingRmq2PersistentStore_66612bb0cdda59e6a475d66db9ec25d4.o)
      -[FIRMessagingRmq2PersistentStore lastErrorMessage] in FirebaseMessaging(FIRMessagingRmq2PersistentStore_66612bb0cdda59e6a475d66db9ec25d4.o)

The XCode version is 7.0.1

解决方案

You need to add this framework as you are not using pods

这篇关于在iOS版应用上关联Firebase 3.7.0的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 11:13