Xcode 5.1和体系结构x86_64的编译错误 [英] Xcode 5.1 and compiling error for architecture x86_64

查看:74
本文介绍了Xcode 5.1和体系结构x86_64的编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天我有一个Xcode 5正常工作的项目.今天,在更新到Xcode 5.1之后,我有6个错误,并且该项目没有编译.

Yesterday I had a project working without problem with Xcode 5. Today, after the update to Xcode 5.1 i have 6 errors and the project is not compiling.

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_PayPal", referenced from:
      objc-class-ref in SUAppDelegate.o
      objc-class-ref in SUTViewController.o
  "_OBJC_CLASS_$_PayPalAdvancedPayment", referenced from:
      objc-class-ref in SUTViewController.o
  "_OBJC_CLASS_$_PayPalInvoiceData", referenced from:
      objc-class-ref in SUTViewController.o
  "_OBJC_CLASS_$_PayPalInvoiceItem", referenced from:
      objc-class-ref in SUTViewController.o
  "_OBJC_CLASS_$_PayPalReceiverPaymentDetails", referenced from:
      objc-class-ref in SUTViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

该项目包括 PayPal库,并且已正确链接到代码中.它在那里,我可以看到该库,因此它不是缺少的库.

The project includes the PayPal library and it is linked properly into the code. It is there, I can see the library, so it is not a missing library.

运行6.1 Simulator中的代码可以毫无问题地进行编译.

Running the code in the 6.1 Simulator compiles without problem.

新的Xcode 5.1功能可能会出现问题"将iOS标准体系结构设置更新为包括64位."?

Can be a problem with the new Xcode 5.1 feature "Updates the iOS standard architecture setting to include 64-bit." ?

也许我应该更改标准体系结构?还是与PayPal库相关的内容?

Maybe I should change the standard Architecture? Or something related to the PayPal library?

有人知道如何解决吗?

推荐答案

我认为您使用的Paypal库不支持arm64.

i think the paypal library you are using, does not support arm64.

为此 PayPal-iOS-SDK问题47 进行检查.更新了贝宝库.

check this PayPal-iOS-SDK issue-47 for the updated paypal library.

-用于贝宝库(具有arm64支持)的更新链接

Edit :- update link for paypal library (with arm64 support)

这篇关于Xcode 5.1和体系结构x86_64的编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆