在开发时 Provisioning profile 使用 开发者的Team证书。
在发布时 Provisioning profile 使用发布的(为发布创建的)证书。
在开发时 Code Sining Identity 中使用 developer的证书
而在发布时时 需要使用 distribution 的证书。
如果违反上面原则,xcode会报告如下错误:
A valid provisioning profile for this executable was not found.