每次添加临时安装的新设备时都需要重新编译吗? [英] Do I have to re-compile everytime I add a new device for ad-hoc installation?

查看:69
本文介绍了每次添加临时安装的新设备时都需要重新编译吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为我的iPhone应用程序创建了一个临时配置文件。每次添加新设备时,是否需要重新编译应用程序以便可以分发它?

I have created an ad-hoc provision profile for my iPhone application. Everytime I add a new device, do I need to re-compile my application so that it can be distributed? This is VERY tedious.

推荐答案

是的。编译应用程序时,将使用为当前构建配置选择的* .mobileprovision对代码进行签名。每次添加新设备时,它都会更改* .mobileprovision文件以允许该唯一的UDID,因此您需要重新编译并重新安装* .mobileprovision(通过再次拖动到iTunes中),以便新设备运行临时发行。

Yes. When you compile your application it is code signed with the *.mobileprovision you have selected for the current build configuration. Each time you add a new device, it changes the *.mobileprovision file to allow for that unique UDID, so you need to both recompile AND reinstall your *.mobileprovision (by dragging into iTunes again) in order for the new devices to run the Ad Hoc distro.

这篇关于每次添加临时安装的新设备时都需要重新编译吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆