xcode更换team证书后遇到的问题

仅仅修改了target中的team设置,能编译成功,但是launch时一直报错: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).

网上搜索资料,多番尝试仍然无解。后来把taegetTests也修改了team设置,运行即成功。不知道为什么非要把tests也设置为正确的。

你可能感兴趣的:(xcode更换team证书后遇到的问题)