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

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

问题描述

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



文件是通用的(3个切片),但不包含(n)armv7s切片:/ Users / nishijain / Desktop / Backup SecondPrism / mobile / apps / SecondPrism / SecondPrism / Google AnalyticsSDK / libGoogleAnalytics.a架构armv7s
clang:error:linker命令失败,退出代码1(使用-v查看调用)

谢谢 解决方案

您需要下载最新版本的SDK ,根据更新日志在版本1.5.1中支持armv7s。
如果错误仍然发生,请尝试使用老版本的Xcode(可能是Xcode 4.4.1),它不具备armv7s的线索并且不会报错。



编辑:



在您的Build Settings中,从有效体系结构中移除armv7s。


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.

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)

Thanks

解决方案

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.

EDIT:

This should work too:

In your Build Settings remove armv7s from Valid Architectures.

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

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