gpt4 book ai didi

ios - 无法添加 Firebase Invites SDK

转载 作者:行者123 更新时间:2023-11-28 08:18:34 26 4
gpt4 key购买 nike

我正在尝试为 iOS 添加 firebase invites sdk,但在尝试构建时遇到了以下错误。我已将每个框架以及资源文件添加到我的项目中。我的其他 firebase 框架工作正常。

Undefined symbols for architecture arm64:
"_ABAddressBookCopyArrayOfAllPeople", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_kABPersonFirstNameProperty", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_ABAddressBookGetPersonCount", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_kABPersonEmailProperty", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_kABPersonPhoneProperty", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_ABMultiValueGetCount", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_ABRecordCopyValue", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_ABMultiValueCopyValueAtIndex", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_ABPersonCopyImageDataWithFormat", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_ABAddressBookCreateWithOptions", referenced from:
+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:] in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_kABPersonLastNameProperty", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_ABPersonHasImageData", referenced from:
___82+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:]_block_invoke in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
"_ABAddressBookRequestAccessWithCompletion", referenced from:
+[GPPAddressBook loadDeviceContactsCoalesced:mustHaveEmail:mustHavePhone:handler:] in FirebaseInvites(GPPAddressBook_57390648818180ba012ed5ff31bf3e09.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我的项目导航器,带有框架 here

感谢您的帮助!

最佳答案

转到 Build Phases -> Link Binary With Libraries 并单击“+”添加 AddressBook.framework。

enter image description here

关于ios - 无法添加 Firebase Invites SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41905040/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com