在 xcode 中开发的应用程序的 64 位 Twitter 框架 [英] 64 bit Twitter Framework for the app developed in xcode

查看:49
本文介绍了在 xcode 中开发的应用程序的 64 位 Twitter 框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早些时候,我创建了 32 位 xcode 应用程序,其中包括 twitter API,但现在,由于 Apple 对应用程序的新要求为 64 位,我将 xcode 更新为 xcode 6.1 和 ios 8.1 版本,并在构建设置...

Earlier,I have created 32 bit xcode app,that include twitter API,but now,due to Apple's new requirement of an app to be 64 bit,I updated xcode to xcode 6.1 and ios 8.1 version,and made changes in the build settings...

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

但是,现在出现错误,即

But,now the error arises i.e.

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.

I think,the above error means I'll have to update the twitter API as 64 bit support.But,I am not getting latest version of twitter API.

谁能告诉我将更新 twitter API 或将不得不做另一件事......??在哪里可以找到最新版本的 twitter API,以及如何将 32 位框架和 API 更新为 64 位.

Can,anyone tell I will have update twitter API or will have to do another thing...??Where I can find the latest version of twitter API,and how to update 32 bit frameworks and API into 64 bit.

谢谢.

推荐答案

尝试将 i386 x86_64 添加到您的有效架构中.

Try adding i386 x86_64 to your valid architectures.

有效架构: armv7 armv7s arm64 i386 x86_64

Valid Architectures : armv7 armv7s arm64 i386 x86_64

i386 -> 32 位模拟器
x86_64 -> 64/32 位模拟器

i386 -> 32 bit simulator
x86_64 -> 64/32 bit simulator

这篇关于在 xcode 中开发的应用程序的 64 位 Twitter 框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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