问题描述(question)

当ios证书的包名即与与App包名不一致时, 会出现以下的错误

Code Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing 
identity (i.e. certificate and private key pair) matching the bundle identifier “com.yun” were found.

问题原因

ios证书关联的包名与app设置的包名不一致;

解决方案

保证ios证书关联的包名(参考http://doc.wex5.com/ios-certificate-request/,其中”4.4 查看生成AppID”)与app设置的包名一致;