Xcode 5.1:缺少必需的架构arm64 [英] Xcode 5.1: missing required architecture arm64

查看:342
本文介绍了Xcode 5.1:缺少必需的架构arm64的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚升级到Xcode 5.1,收到以下错误:


忽略文件
...依赖关系/ SalesforceNetworkSDK / libSalesforceNetworkSDK .a,
缺少文件
中所需的架构arm64 ...依赖关系/ SalesforceNetworkSDK / libSalesforceNetworkSDK.a(3
切片)


如果我只关闭构建活动的arch并从有效的arch中删除arm64,我得到:


Build / Products /Debug-iphoneos/libPods.a,文件是为存档
而构建的,它不是被链接的架构(armv7)



解决方案

根据。



更新: 5月15日,您将从5.1.1开始构建,看到这篇文章


Just upgraded to Xcode 5.1, getting the following error:

ignoring file ...Dependencies/SalesforceNetworkSDK/libSalesforceNetworkSDK.a, missing required architecture arm64 in file ...Dependencies/SalesforceNetworkSDK/libSalesforceNetworkSDK.a (3 slices)

If I turn off build active archs only and remove arm64 from valid archs I get:

Build/Products/Debug-iphoneos/libPods.a, file was built for archive which is not the architecture being linked (armv7)

解决方案

According to apple's release note, see the following note point.

Note:

Be aware of the following architectures issues when opening your existing projects in Xcode 5.1:

  • When building for all architectures, remove any explicit architectures setting and use the default Standard Architectures setting. For projects that were previously opted-in using "Standard Architectures Including 64-Bit", switch back to the "Standard architectures" setting.
  • When opening an existing project for the first time, Xcode 5.1 may display a warning about the use of the Xcode 5.0 architectures setting. Selecting the warning provides a workflow to revise the setting.
  • Projects not able to support 64-bit need to specifically set the architectures build setting to not include 64-bit.

So you've to set architecture as below to support libs architecture.

Reference from this post.

Update: From May 15, you've to take build from 5.1.1, see this post.

这篇关于Xcode 5.1:缺少必需的架构arm64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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