香蕉云编原创发布日期:2023-08-30
将ios app上传到app的时候,报1176错误,具体的错误信息为:Error: Unable to process application at this time due to the following error: Invalid Provisioning Profile. The provisioning profile included in the bundle com.xxx.yyy [Payload/HBuilder.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal.. App Store operation failed. (1176)
造成这个错误的原因可能有以下两个:
1、你用来打包的证书和profile文件的类型不对,上架需要ios distribution ad hoc and app store类型的证书,和需要app store类型的profile文件。假如不是app store类型的profile,打包出来的ipa文件上架就会报Invalid Provisioning Profile错误,其实报错已经提示得比较清楚,是profile文件错误。
2、你打包的时在开发工具填写的包名,必须跟profile文件绑定的appId一致。你在苹果开发者中心创建profile文件的时候,是需要选择appId的,记得要选对。