ios:The executable was signed with invalid entitlements新设备run出现这个问题

新的一部newipad跑程序出现The executable was signed with invalid entitlements错误,在网上查了好多资料都是以前的解决方法,对于Xcode4.5已经不适用了,现在总结下解决方法:首先在开发者帐号中添加设备,其次在对应工程的Provisioning Profile 文件(edit)中加入新加入的这个设备,最后在Organizer的Library中的Provisioning Profile中找到工程对应的Profile文件,将其直接拖动到新设备的Provisioning Profile中,即可运行程序。

你可能感兴趣的:(ios:The executable was signed with invalid entitlements新设备run出现这个问题)