开发者

automatic provisioning profile selection

开发者 https://www.devze.com 2023-01-28 09:01 出处:网络
I have two Team provisioning profiles which I need. The automatic sele开发者_StackOverflow中文版ction picks the wrong one for me at the moment.

I have two Team provisioning profiles which I need. The automatic sele开发者_StackOverflow中文版ction picks the wrong one for me at the moment. I can't force it to use a specific one, because that choice gets submitted to svn. Is there a way to influence the automatic selection?


I figured out that XCode picks the Team Provisioning Profile that was last added. So, When you need to change the default picked profile, just reinstall it on your machine.


The defaults are chosen based on the bundle identifiers associated with each profile. You might think that the selector would choose the most specific identifier which matches your project, but this is not the case.

The selector chooses any profile which matches your project, with a preference for the most distant expiry date. The selection can therefore be shifted by generating your profiles in a specific order. The most recently generated profile will have a slightly later expiration date, and will therefore be preferred over older matching profiles.

(paraphrased from retrodreamer)

0

精彩评论

暂无评论...
验证码 换一张
取 消