上传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下面的对应的 报错文件 删掉就好了。

你可能感兴趣的:(上传IPA遇到ERROR ITMS-90166: ERROR ITMS-90171:)