iOS:how to update/renew Provisioning profile

来源:互联网 发布:玩酷网络 编辑:程序博客网 时间:2024/05/22 16:22

cert过期,添加或删除用于测试的device等,都要对provisioning profile进行更新。对于development provisioning profile最简单的方法就是在apple developer site里修改你的provisioning profile,然后在xcode的organizer window的"devices tab > Library > Provisioning Profiles"里click refresh button。然后check the provisionning profile in device


然后在你的project里需要重新recompile,但当你re compile时就会出错,原因是provisioning profile已经更新,而project仍然使用旧的。解决方案是:target > Building settings > Code signing Identity"里更新Debug and Release iOS SDK的设置



参考文档:

http://stackoverflow.com/questions/1342497/renew-provisioning-profile

http://stackoverflow.com/questions/1528768/adhoc-provisioning-whats-the-easiest-way-to-add-a-few-more-devices-to-an-exis