gpt4 book ai didi

objective-c - 在 iOS5 中实现库时获取 "apple mach-o linker id error undefined symbols for architecture i386"

转载 作者:可可西里 更新时间:2023-11-01 06:20:22 26 4
gpt4 key购买 nike

我在 XCode 4 中实现 PayPal 库时遇到了问题。当我尝试构建项目时出现此错误:

Undefined symbols for architecture i386:
"_xmlParseMemory", referenced from:
-[AdaptivePaymentsSOAP11Binding_CancelPreapproval connectionDidFinishLoading:] in libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_ConfirmPreapproval connectionDidFinishLoading:] in libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_ConvertCurrency connectionDidFinishLoading:] in libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_ExecutePayment connectionDidFinishLoading:] in libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_GetPaymentOptions connectionDidFinishLoading:] in libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_PaymentDetails connectionDidFinishLoading:] in libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_Pay connectionDidFinishLoading:] in libPayPalMPL.a(AdaptivePayments.o)
...

在网络上搜索我发现这是从 XC3 传递到 XC4 时的典型错误。也许图书馆没有更新。但是您在那里看到的那个文件 .a 似乎是不可编辑的。

最佳答案

已解决。必须加载 3 个框架:libXML、Security 和 libz。

关于objective-c - 在 iOS5 中实现库时获取 "apple mach-o linker id error undefined symbols for architecture i386",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8670162/

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