Provisioning profile doesn't include any certificate for which the matching private key is installed in the keychain. Code signing is required for product type 'Application' in SDK 'iOS 10.2'

升级到XCode8后可能会遇到这样的问题:Provisioning profile  doesn't include any certificate for which the matching private key is installed in the keychain. Code signing is required for product type 'Application' in SDK 'iOS 10.2'。


解决办法:

方法1:如果之前有将自己的相关开发证书导出为.p12文件,找到这些证书并依次双击“.mobileprovision”描述文件和“.p12”文件。

方法2:重新在苹果开发者中心生成一系列证书。

你可能感兴趣的:(Provisioning profile doesn't include any certificate for which the matching private key is installed in the keychain. Code signing is required for product type 'Application' in SDK 'iOS 10.2')