命令/ usr/bin/lipo失败,退出代码1错误
问题描述:
我终于完成了我的应用程序,并且当这个突然的错误打到我时我准备上传,我不知道该怎么做。我已经检查了其他帖子,说要更改代码签名身份,我已经做了这个,但没有运气。我尝试了身份中的每一个选项并且没有任何改变。如果有人知道发生了什么,我会非常感激,因为我只是想提交我的应用程序。命令/ usr/bin/lipo失败,退出代码1错误
这里还有什么它在erorr日志说:
/usr/bin/lipo: /Users/teddy/Library/Developer/Xcode/DerivedData/grocery_stores-dcyubhefhrcjhtcxbhldfpukdgdz/Build/Intermediates/grocery stores.build/Release-iphoneos/grocerystores.build/Objects-normal/armv7/grocery stores and /Users/teddy/Library/Developer/Xcode/DerivedData/grocery_stores-dcyubhefhrcjhtcxbhldfpukdgdz/Build/Intermediates/grocery stores.build/Release-iphoneos/grocery stores.build/Objects-normal/armv7/grocery stores have the same architectures (armv7) and can't be in the same fat output file
Command /usr/bin/lipo failed with exit code 1
答
很难知道到底是没有正在运行的命令发生。它看起来像你是两次指定相同的输入文件,即arm7版本和lipo告诉你,你不能在通用文件中添加2个arm7版本的杂货店。你能输入你正在运行的整个lipo命令吗?从lipo手册页: -create 获取输入文件(或文件)并从中创建一个通用输出文件。 你可能在这里列出两次相同的文件吗?
答
在我来说,我使用的吊舱和制作的通讯资料project文件,而不是项目工作区
http://stackoverflow.com/questions/2793392/how-do-i-compile-a-static-library-fat-for- armv6-armv7-and-i386 – Sarah 2012-02-08 07:29:50
Hi @ Teddy13我们是在谈论一个从一开始就构建的xcode项目,还是你正在从别人那里收到一个你不熟悉的项目? 我在问,因为你收到的错误是关于建立脂肪静态库,这是你不能意外做的事情。请详细解释一下您正在尝试构建的项目 – 2012-02-08 10:02:36