上传IPA遇到ERROR ITMS-90166: ERROR ITMS-90171:

以下是报错信息:

ERROR ITMS-90166: "Missing Code Signing Entitlements. No entitlements found in bundle 'aaa.com-baidu-idl-face-faceSDK' for executable 'Payload/Community.app/com.baidu.idl.face.faceSDK.bundle/com.baidu.idl.face.faceSDK'.""

ERROR ITMS-90166: "Missing Code Signing Entitlements. No entitlements found in bundle 'aaa.com-baidu-idl-face-live-action-image' for executable 'Payload/Community.app/com.baidu.idl.face.live.action.image.bundle/com.baidu.idl.face.live.action.image'.""

ERROR ITMS-90166: "Missing Code Signing Entitlements. No entitlements found in bundle 'aaa.com-baidu-idl-face-model-faceSDK' for executable 'Payload/Community.app/com.baidu.idl.face.model.faceSDK.bundle/com.baidu.idl.face.model.faceSDK'.""

解决方式:
找到对应SDK里的bundle 文件,然后找到里面的info.plist文件 ,删除掉Executable file 字段。

ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'Community.app/com.baidu.idl.face.faceSDK.bundle/com.baidu.idl.face.faceSDK' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid 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 'Community.app/com.baidu.idl.face.live.action.image.bundle/com.baidu.idl.face.live.action.image' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid 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 'Community.app/com.baidu.idl.face.model.faceSDK.bundle/com.baidu.idl.face.model.faceSDK' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid 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."

解决方式:
把build phases 里面的copy bundle Resources下面的对应的 报错文件 删掉就好了。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容