iOS - 文件不包含 armv7s 切片 [英] iOS - file does not contain an armv7s slice

查看:31
本文介绍了iOS - 文件不包含 armv7s 切片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在设备上构建和测试,因为 Xcode 给了我这个错误:

I cannot build and test on devices because Xcode gives me this error:

ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /.../Classes/AddThis/libAddThis.a for architecture armv7s

如何更新此库以支持 armv7s?

How do I update this library to support armv7s?

推荐答案

libAddThis.a 需要为 armv7s 架构构建.如果您对此没有控制权,那么您需要像以前一样从有效架构中删除 armv7.

libAddThis.a needs to be built for the armv7s architecture. If you don't have control over this then you will need to remove armv7s from valid architectures as you did.

这篇关于iOS - 文件不包含 armv7s 切片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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