一,ERROR ITMS-90166:
iOS提交私有Framework和Bundle资源时提示ITMS-90166 Missing Code Signing Entitl
iOS app 提交带私有的framework和resource.bundle时报故障
ERROR ITMS-90166: "Missing Code Signing Entitlements. No entitlements found in bundle 'com.xxxxx.xxxxxxResources' for executable 'Payload/xxxxxxx.app/xxxxReaderResources.bundle/xxxxReaderResources’."
解决办法:1、删除bundle对于的Info.plist文件中Executable file项
后继续提交报:
Missing load commands - The executable at '/Payload/XXX.app/LibXXX.bundle/LibXXX' does not have the necessary load commands. Try rebuilding the app with the latest Xcode version. If you are using third party development tools, contact the provider.
解决办法:2、配置bundle的Build Settings中的Versioning,将Versioning System的值从Apple Generic改为None。
http://blog.sina.com.cn/s/blog_50cde25e0102w3kq.html
二,ERROR ITMS-90171:
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file '.app/constants.o' 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."
解决方法: 1
(打release version)
I had the provisioning profile set to Automatic for Xcode to determine the correct profile to use. This was the issue. Xcode was not picking the correct profile
The provisioning profile wasn't setting correctly when it was set to Automatic. I had to specifically set this in the Build Settings instead.
Constants.o should not show up in the archive process. Check your provisioning profile and make sure it is set correctly for Release Version.
三,ERROR ITMS-90535:
ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/TestBiLinGameSDK1.app/usingXIBboundle.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."