应用商店提交错误 Invalid Bundle Structure [英] App store submission error Invalid Bundle Structure

查看:81
本文介绍了应用商店提交错误 Invalid Bundle Structure的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试提交之前成功提交的应用版本升级时,我收到来自 XCode 8.1 的以下错误:

I am receiving the following error from XCode 8.1 when trying to submit a previously successful submitted app version upgrade:

错误 ITMS-90171:无效的捆绑结构 - 不允许使用二进制文件‘Particle.app/Particle_armv7’.除了受支持捆绑的 CFBundleExecutable 之外,您的应用不能包含独立的可执行文件或库.请参阅捆绑https://developer.apple.com/go/?id=bundle 上的编程指南-structure 了解有关 iOS 应用程序包结构的信息."
错误 ITMS-90171:无效的捆绑结构 - 不允许使用二进制文件‘Particle.app/Particle_armv7’.除了受支持捆绑的 CFBundleExecutable 之外,您的应用不能包含独立的可执行文件或库.请参阅捆绑编程指南,网址为https://developer.apple.com/go/?id=bundle-structure 有关 iOS 应用程序包结构的信息."

ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'Particle.app/Particle_armv7' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'Particle.app/Particle_armv7' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."

我没有对这个构建的架构做任何修改.知道我应该在哪里解决这个问题吗?

I did not modify anything in regards to architectures this build. Any idea where I should look to solve this problem?

推荐答案

当静态库文件被错误地复制到应用程序包中时,会发生此错误.

This error occurs when a static library file is mistakenly copied into the app bundle.

您应该通过链接二进制文件与库构建阶段链接 libYourLibrary.a 静态库.

You should link the libYourLibrary.a static library via a Link Binary with Libraries build phase.

它应该添加到目标的复制捆绑资源构建阶段.

It should NOT be added to the target's Copy Bundle Resources build phase.

这篇关于应用商店提交错误 Invalid Bundle Structure的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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