connectionDidFinishLoading

connectionDidFinishLoading

本文介绍了获取架构 i386 的“apple mach-o 链接器 ID 错误未定义符号"在 iOS5 中实现库时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 XCode 4 中实现 PayPal 库时遇到了麻烦.尝试构建项目时出现此错误:

I'm having troubles to implement the PayPal Library in XCode 4.I get this error when I try to build the project:

架构 i386 的未定义符号:
_xmlParseMemory",引用自:-[AdaptivePaymentsSOAP11Binding_CancelPreapproval connectionDidFinishLoading:] 在 libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_ConfirmPreapproval connectionDidFinishLoading:] 在 libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_ConvertCurrency connectionDidFinishLoading:] 在 libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_ExecutePayment connectionDidFinishLoading:] 在 libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_GetPaymentOptions connectionDidFinishLoading:] 在 libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_PaymentDetails connectionDidFinishLoading:] 在 libPayPalMPL.a(AdaptivePayments.o)
-[AdaptivePaymentsSOAP11Binding_Pay connectionDidFinishLoading:] 在 libPayPalMPL.a(AdaptivePayments.o)
...

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

Searching on the web I found that this is a tipical error when passing from XC3 to XC4. Maybe the Library isn't updated. But that file .a that you see there seems to be uneditable.

推荐答案

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

Solved. Have to load 3 frameworks: libXML, Security and libz.

这篇关于获取架构 i386 的“apple mach-o 链接器 ID 错误未定义符号"在 iOS5 中实现库时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-10 21:13