作者:mobiledu2502916347 | 来源:互联网 | 2023-05-17 01:11
ImtryingtouseFirebaseSDK3.7.0inmyiOSapplication,butitgiveslinkingerrors.我正在尝试在我的iOS
I'm trying to use Firebase SDK 3.7.0 in my iOS application, but it gives linking errors.
我正在尝试在我的iOS应用程序中使用Firebase SDK 3.7.0,但它会产生链接错误。
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.
我已经按照README.md中描述的步骤进行了操作,它包含在从https://firebase.google.com/docs/ios/setup下载的框架SDK上,不包含CocoaPods部分。
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
XCode版本是7.0.1
4 个解决方案