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

Ted*_*y13 11 xcode objective-c ios

我终于完成了我的应用程序,当这突如其来的错误袭击我并且我不知道该怎么做时,我正准备上传.我已经检查了其他帖子,说要更改代码签名身份,我已经这样做但没有运气.我尝试了身份中的每一个选项,没有任何变化.如果有人知道发生了什么,我会非常感激,因为我只是想提交我的应用程序.

以下是它在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
Run Code Online (Sandbox Code Playgroud)

hai*_*ina 19

我通过将Project> Build Settings> Architectures中的Valid Architecture的值从默认的"armv6 armv7"更改为"armv7"来解决了这个问题.希望这可以帮助.