1.对于一般的app基本只需要自动配置证书就行
2.有推送的需要重新配置推送证书再次配置
3.如有iCloud功能会报错误如下
Xcode failed to provision this target. Please file a bug report at <https://feedbackassistant.apple.com> and include the Update Signing report from the Report navigator.
Provisioning profile "iOS Team Provisioning Profile: xxx" doesn't match the entitlements file's value for the com.apple.developer.ubiquity-kvstore-identifier entitlement.
留言有偿帮解决。