在iPhone上安装应用程序时,不是为armv7s架构构建的iOS版Google Analytics(分析)SDK [英] The Google Analytics SDK for iOS isn't built for the armv7s architecture while instaling app on iPhone

查看:59
本文介绍了在iPhone上安装应用程序时,不是为armv7s架构构建的iOS版Google Analytics(分析)SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在iPhone/iPad上安装应用程序时,出现以下错误.我正在使用新的Xcode 4.5.我应该怎么做才能消除此错误.我需要在设备上测试我的应用.

When i am trying to install my application on iPhone/iPad I am getting the following error. I am using new Xcode 4.5. What should I do to remove this error. I need to test my app on device.

文件是通用文件(三片),但不包含armv7s片:/Users/nishijain/Desktop/Backup SecondPrism/mobile/apps/SecondPrism/SecondPrism/Google Analytics(分析)SDK/libGoogleAnalytics.a(用于架构armv7s)clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/nishijain/Desktop/Backup SecondPrism/mobile/apps/SecondPrism/SecondPrism/Google Analytics SDK/libGoogleAnalytics.a for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)

谢谢

推荐答案

您需要下载更改日志,nofollow noreferrer>最新版本的SDK .在1.5.1版中支持armv7s.如果错误仍然存​​在,请尝试较旧版本的Xcode(可能是Xcode 4.4.1),它没有armv7s的线索,也不会引发任何错误.

You need to download the latest version of the SDK, according to the Changelog there is support for armv7s in Version 1.5.1. If the error still happens try an older version of Xcode (probably Xcode 4.4.1) which has no clue of armv7s and throws no error.

应该也可以工作:

在构建设置"中,从有效架构中删除armv7.

In your Build Settings remove armv7s from Valid Architectures.

这篇关于在iPhone上安装应用程序时,不是为armv7s架构构建的iOS版Google Analytics(分析)SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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