命令/ usr / bin / lipo失败,退出代码为1

时间:2013-04-01 14:26:47

标签: iphone ios hudson

我第一次使用Hudson Continuous Integration和我的iOS项目,在构建项目时我遇到了错误。

"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
lipo -create /Users/test/.hudson/jobs/eDetails/workspace/build/eDetail.build/Debug-iphonesimulator/SSSDetail.build/Objects-normal/i386/SSSDetail /Users/test/.hudson/jobs/eDetails/workspace/build/SSSDetail.build/Debug-iphonesimulator/SSSDetail.build/Objects-normal/i386/SSSDetail -output /Users/test/.hudson/jobs/eDetails/workspace/build/Debug-iphonesimulator/SSSDetail.app/eDetail

/usr/bin/lipo: /Users/test/.hudson/jobs/eDetails/workspace/build/SSSDetail.build/Debug-iphonesimulator/SSSDetail.build/Objects-normal/i386/SSSDetail and /Users/test/.hudson/jobs/eDetails/workspace/build/SSSDetail.build/Debug-iphonesimulator/SSSDetail.build/Objects-normal/i386/SSSDetail have the same architectures (i386) and can't be in the same fat output file

命令/ usr / bin / lipo失败,退出代码为1

有人有一些想法,我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

对我而言,它起作用了

在target->构建设置 - >有效架构

将值从“armv7 armv7s”更改为“armv7s”

我有iOS部署目标4.3。

在XCode版本4.6(4H127)中转换为Objective-C ARC时遇到