2015-02-09 55 views
0

此前,我创建了32位xcode应用程序,其中包括Twitter API,但现在,由于苹果的应用程序的新要求是64位,我更新xcode到xcode 6.1与iOS 8.1版本,并在建设中所作的更改...64位Twitter框架为在xcode开发的应用程序

Architectures:Standard Architecture(arm7,arm64) 
Valid Architectures:armv7 armv7s arm64 

但是,现在的错误,即出现

Undefined symbols for architecture x86_64: 
    "_OBJC_CLASS_$_OAConsumer", referenced from: 
     objc-class-ref in SA_OAuthTwitterEngine.o 
    "_OBJC_CLASS_$_OADataFetcher", referenced from: 
     objc-class-ref in SA_OAuthTwitterEngine.o 
    "_OBJC_CLASS_$_OAMutableURLRequest", referenced from: 
     objc-class-ref in SA_OAuthTwitterEngine.o 
    "_OBJC_CLASS_$_OARequestParameter", referenced from: 
     objc-class-ref in SA_OAuthTwitterEngine.o 
    "_OBJC_CLASS_$_OAToken", referenced from: 
     objc-class-ref in SA_OAuthTwitterEngine.o 
ld: symbol(s) not found for architecture x86_64 
clang: error: linker command failed with exit code 1 (use -v to see invocation). 

我认为,上述错误意味着我将不得不更新twitter API支持64位。但是,我没有获得最新版本的twitter API。

可以,任何人都可以告诉我将更新Twitter API或将不得不做另外一件事情...在哪里可以找到最新版本的twitter API,以及如何将32位框架和API更新为64位。

谢谢。

+0

你有没有发现这方面的任何解决方案,我facingsame问题 – 2015-03-24 12:14:02

+0

? @KrishnaVerma你找到了解决方案吗? – 2017-10-25 09:58:36

回答

1

尝试将i386 x86_64添加到您的有效体系结构。

有效的体系结构:的ARMv7 armv7s arm64的i386 x86_64的

I386 - > 32位模拟器
x86_64的 - > 64/32位模拟器

+0

嗨:Maheswaran,我面临同样的问题,我试过你的解决方案,但没有工作是否有任何其他的替代方案呢? – 2015-03-24 12:15:24

相关问题