The entitlements specified in your application’s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016).
解决方法:
1)找到Targets中的Build Settings选项卡中的Code Signing Entitlements,删除该项的值,重新Build即可解决。