ios - 应用商店提交错误 Invalid Bundle Structure

标签 ios xcode app-store

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

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."

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

最佳答案

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

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

它应该添加到目标的Copy Bundle Resources构建阶段。

关于ios - 应用商店提交错误 Invalid Bundle Structure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40558866/

相关文章:

iphone - 如何使用colorWithPatternImage : with UILabel

ios - 建筑的重复符号 - CocoaPods + Sonic.framework

ios - 转换为 ARC 无法识别 -fno-objc-arc 标志

ios - MyClass 不可用 : cannot find Swift declaration for this class

c++ - 在 C++ 中为 iOS 开发(有/没有 Xcode)

iOS UI - App Store 浏览部分过渡

iOS 快速拉动刷新混合与桌面 View

ios - 如果遇到 fatal error ,如何停止 Xcode iOS 单元测试?

objective-c - 在应用程序中禁用iphone主页按钮,可以吗?

iphone - 应用程序根据 App Store 规则与 iOS 中的远程服务器通信