我在尝试提交之前成功提交的应用程序版本升级时收到来自 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/