gpt4 book ai didi

iphone - ld : warning: ignoring file [path], 文件中缺少所需的架构 i386

转载 作者:行者123 更新时间:2023-12-03 19:14:23 24 4
gpt4 key购买 nike

当我尝试运行 iPhone 模拟器时收到此错误消息。我使用 Xcode 4

    ld: warning: ignoring file /Users/Marius/Documents/AppSchool/Telefonbok/AddressBook.framework/AddressBook, missing required architecture i386 in file
ld: warning: ignoring file /Users/Marius/Documents/AppSchool/Telefonbok/AddressBookUI.framework/AddressBookUI, missing required architecture i386 in file
Undefined symbols for architecture i386:
"_ABRecordCopyValue", referenced from:
-[SecondViewController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:] in SecondViewController.o
"_ABMultiValueCopyValueAtIndex", referenced from:
-[SecondViewController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:] in SecondViewController.o
"_OBJC_CLASS_$_ABPeoplePickerNavigationController", referenced from:
objc-class-ref in SecondViewController.o
"_kABPersonFirstNameProperty", referenced from:
-[SecondViewController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:] in SecondViewController.o
"_kABPersonLastNameProperty", referenced from:
-[SecondViewController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:] in SecondViewController.o
"_kABPersonPhoneProperty", referenced from:
-[SecondViewController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:] in SecondViewController.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

最佳答案

出于某种原因,链接器在 /Users/Marius/Documents/AppSchool/Telefonbok/ 中查找 AddressBook.framework 和 AddressBookUI.framework,而不是在 SDK 文件夹中。您应该检查是否已将这些框架正确添加到您的项目中。

关于iphone - ld : warning: ignoring file [path], 文件中缺少所需的架构 i386,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5776201/

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