如何在Xcode 5.1中在没有arm64支持的情况下与框架链接? [英] How to link with framework without arm64 support in Xcode 5.1?

查看:158
本文介绍了如何在Xcode 5.1中在没有arm64支持的情况下与框架链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode 5.1上升级项目后,产品>构建会出现以下警告和错误:

After upgraded a project on Xcode 5.1, Product > Build gives the following warning and error:

ld:警告:忽略文件Dropbox/Dropbox.framework/Dropbox,缺少 文件Dropbox.framework/Dropbox中所需的体系结构arm64(3 片)

ld: warning: ignoring file Dropbox/Dropbox.framework/Dropbox, missing required architecture arm64 in file Dropbox.framework/Dropbox (3 slices)

体系结构arm64的未定义符号:"_ OBJC_CLASS _ $ _ DBPath", 引用自: DropboxViewController.o中的objc-class-ref

Undefined symbols for architecture arm64: "_OBJC_CLASS_$_DBPath", referenced from: objc-class-ref in DropboxViewController.o

Dropbox.framework似乎还不支持arm64.

It seems like the Dropbox.framework does not support arm64 yet.

哪些Xcode设置可以从项目中删除对arm64的支持,以实现干净的构建?

What are the Xcode settings to remove arm64 support from the project to have a clean build?

推荐答案

更改:

  • 建筑:Standard
  • 有效的体系结构:arm64 armv7 armv7s
  • Architectures: Standard
  • Valid Architectures: arm64 armv7 armv7s

收件人:

  • 建筑:armv7 armv7s
  • 有效的体系结构:armv7 armv7s
  • Architectures: armv7 armv7s
  • Valid Architectures: armv7 armv7s

这篇关于如何在Xcode 5.1中在没有arm64支持的情况下与框架链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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