xcode Appstore 失败二进制文件中没有架构。Lipo 未能检测到捆绑可执行文件中的任何架构。” 在 SoftwareAssets/SoftwareAsset

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22412068/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 04:46:09  来源:igfitidea点击:

Appstore FailureNo architectures in the binary. Lipo failed to detect any architectures in the bundle executable.” At SoftwareAssets/SoftwareAsset

iosiphonexcodeapp-store

提问by Raon

Hi I just tried to upload my app to the app store but it failed with error.

嗨,我刚刚尝试将我的应用程序上传到应用程序商店,但由于错误而失败。

**

**

No architectures in the binary. Lipo failed to detect any
architectures in the bundle executable.

**

**

enter image description here

在此处输入图片说明

采纳答案by Raon

Hi I'm glad i found the Answer. The problem was actually with my 'Productname' in info.plist . It was different in my first version.

嗨,我很高兴我找到了答案。问题实际上出在 info.plist 中的“Productname”上。在我的第一个版本中它是不同的。

回答by Fran Pugl

That can also happen when the Cocoapods cache is not in sync, then just

当 Cocoapods 缓存不同步时也可能发生这种情况,然后就

pod install

solves the issue.

解决了这个问题。

回答by Imeksbank

Same thing. Had this issue. I just changed Project -> Build Settings -> Produc Name(wrote: "Wundmanager")

一样。有这个问题。我刚刚更改了 项目 -> 构建设置 -> 产品名称(写道:“ Wundmanager”)

then

然后

Project -> General -> Identity -> Bundle Identifier(wrote "imeksbank.Wundmanager")

Project -> General -> Identity -> Bundle Identifier(写成“ imeksbank.Wundmanager”)

my nick is imeksbank

我的昵称是imeksbank

and then

进而

iTunes Connectand the same to Bundle-ID (chnaged "imeksbank.Wundmanager")

iTunes Connect和 Bundle-ID 相同(更改为imeksbank.Wundmanager”)

After that it worked for me. I am also new and today is my first day i can Upload my first App. xcode 5.1.1 ios 7.1

之后它对我有用。我也是新手,今天是我可以上传我的第一个应用程序的第一天。Xcode 5.1.1 ios 7.1

回答by GAllan

Can also be caused by embedding a static framework (mistaking it for a dynamic one) in your app. Easily done if you build in different phases and/or allow xcode to "build implicit dependencies".

也可能是由于在您的应用程序中嵌入了静态框架(将其误认为是动态框架)所致。如果您在不同阶段构建和/或允许 xcode“构建隐式依赖项”,则轻松完成。

回答by Holtwick

After a long struggle with an error message like this, I finally understood that mistakenly an iOS framework had been copied into the IPA. This was added automatically following the usual steps to add a framework to an iOS project.

面对这样的错误信息,经过长时间的挣扎,我终于明白,错误地将一个iOS框架复制到了IPA中。这是按照向 iOS 项目添加框架的通常步骤自动添加的。

So the solution would be to remove "Embed Frameworks" phase from "Build Phases".

因此,解决方案是从“构建阶段”中删除“嵌入框架”阶段。

enter image description here

在此处输入图片说明

回答by ianrandmckenzie

I was able to get past this error by restarting Xcode.

我能够通过重新启动 Xcode 来克服这个错误。

回答by ak_ninan

Sometimes cleaning your project quitting and re archiving will solve the issue. In my case it worked. I don't have any issues with the bundle name, identifier or plist.

有时清理您的项目退出并重新存档将解决问题。就我而言,它奏效了。我对包名称、标识符或 plist 没有任何问题。