如何将Xcode中的iPhone应用程序安装到远程iPhone上

时间:2020-11-28 20:52:08

is there a possibility to install an application from Xcode to a remote iPhone? I have the dev account and able to install it locally.

是否有可能将应用程序从Xcode安装到远程iPhone?我有开发帐户,可以在本地安装。

I am currently in Sydney and would like to install a prototype of a game on the device of a coworker in Germany. The work is still in progress so it's has to be done quite often...

我目前在悉尼,想在德国同事的设备上安装一个游戏原型。这项工作仍在进行中,因此必须经常进行......

Is there a way to do this without jailbreak?

有没有办法在没有越狱的情况下做到这一点?

Thanks

谢谢

Tom

汤姆

7 个解决方案

#1


16  

I think you've got two options:

我想你有两个选择:

  1. Use AdHoc distribution to compile a copy with a special provisioning profile that allows him to install it on his device through iTunes. AdHoc distribution allow you to share your application with up to 100 other iPhone or iPod touch users, and you can share your application through email or by posting it to a web site or server.

    使用AdHoc发行版编译具有特殊配置文件的副本,允许他通过iTunes将其安装在他的设备上。 AdHoc发行版允许您与最多100个其他iPhone或iPod touch用户共享您的应用程序,您可以通过电子邮件或将其发布到网站或服务器来共享您的应用程序。

  2. Set him up as a member of your development group in Apple's Program Portal (requires business-level membership) and then send him the entire source folder for your project and let him build it. He could check it out of version control and build it without too much hassle.

    将他设置为Apple的程序门户中的开发组成员(需要业务级别的成员资格),然后向他发送项目的整个源文件夹并让他构建它。他可以从版本控制中检查出来并构建它而不会有太多麻烦。

I'd opt for option 1, though you need to setup ad-hoc provisioning profiles for your project in the Program Portal, which can be kind of a pain.

我会选择选项1,但您需要在程序门户中为项目设置临时配置文件,这可能会很麻烦。

#2


8  

You need to use a method called ad-hoc distribution.

您需要使用称为ad-hoc分发的方法。

You need to add the offsite phone to your applicaiton's provisioning profile, (you will need it's UUID to do that), once you have built and signed the application you send a zip file that contains the .app created by Xcode and a copy of the .mobileprovision file to your co-worker.

您需要将非现场电话添加到您的应用程序的配置文件中(您将需要它的UUID才能执行此操作),一旦您构建并签署了应用程序,您就会发送一个包含Xcode创建的.app的zip文件和一份副本。 .mobileprovision文件给你的同事。

He drags them both into iTunes, the app should then show up and he syncs it onto his phone.

他将它们拖入iTunes中,应用程序应该出现并将其同步到手机上。

Look into the apple iPhone Dev center for more info

查看苹果iPhone开发中心了解更多信息

#3


3  

If you're still looking -> http://testflightapp.com ;)

如果你还在寻找 - > http://testflightapp.com;)

TestFlightApp is a webapp tool which allow you creating teams (you give a recruit link) and then you can manage members. Promote a tester as developper and the contrary. When you upload a build (.ipa), then all your teammates (from every team you push the build for) will receive an email to tell them the new build and changelog, and the webapp will allow them install or upgrade the new build.

TestFlightApp是一个webapp工具,允许您创建团队(您提供招聘链接),然后您可以管理成员。推动测试人员作为开发人员,相反。当您上传构建(.ipa)时,所有团队成员(来自您推动构建的每个团队)都会收到一封电子邮件,告诉他们新的构建和更改日志,而webapp将允许他们安装或升级新构建。

Very interesting.

很有意思。

#4


2  

You can ask for you coworker UUID and add him as a Beta tester for your app in your Developper Portal.

您可以向您询问同事UUID并将其作为您的应用程序的Beta测试人员添加到您的开发人员门户中。

you'll be able to send a zip file which can be install on the targeted iPhone, full step by step : http://furbo.org/2008/08/06/beta-testing-on-iphone-20/

你将能够发送一个可以在目标iPhone上安装的zip文件,一步一步完成:http://furbo.org/2008/08/06/beta-testing-on-iphone-20/

[edit] If your coworker is also developper and you just want him/her to test the binary without seeing the source code, he/she can resign the application bundle: resign a application (TUAW)

[编辑]如果您的同事也是开发人员,并且您只是希望他/她在不查看源代码的情况下测试二进制文件,他/她可以重新签名应用程序包:重新签名应用程序(TUAW)

#5


2  

This page has a really good walk through for Windows and iTunes installation. Along with making sure you drag the .app folder (not the zip), this is probably the most important part of the process - dragging into the library not the device:

这个页面非常适合Windows和iTunes安装。除了确保拖动.app文件夹(而不是zip)之外,这可能是该过程中最重要的部分 - 拖入库而不​​是设备:

alt text http://iphone.farook.org/images/faqs/adhoc-3.png

alt text http://iphone.farook.org/images/faqs/adhoc-3.png

#6


0  

Your coworker would need an Apple Developer license and would need to go though the standard process.

您的同事需要Apple开发人员许可证,并且需要通过标准流程。

Alternatively, I believe it'd have to go though the App Store.

或者,我相信它必须通过App Store。

#7


0  

You have to have a license too, to create provision proviles (like the Ad-Hoc provision profile as described above). But if you have, you have to create that, enable it in your project as provision-profile for build "Ad-Hoc" (if doesn't exists, make one) and build it to a device (only build, not build-and-go). Mail the product and the ad-hoc provision profile to your friend, and let him drag both files to iTunes. Now he can sync and install the app on his device.

您还必须拥有许可证才能创建配置文件(如上所述的Ad-Hoc配置文件)。但是,如果你有,你必须创建它,在你的项目中启用它作为构建“Ad-Hoc”的供应配置文件(如果不存在,制作一个)并将其构建到设备(仅构建,而不是构建 - 去)。将产品和临时提供配置文件邮寄给您的朋友,然后让他将这两个文件拖到iTunes。现在,他可以在他的设备上同步和安装应用程序。

Don't forget to add his device-identifier to your ad-hoc provision profile.

不要忘记将他的设备标识符添加到您的ad-hoc配置文件中。

#1


16  

I think you've got two options:

我想你有两个选择:

  1. Use AdHoc distribution to compile a copy with a special provisioning profile that allows him to install it on his device through iTunes. AdHoc distribution allow you to share your application with up to 100 other iPhone or iPod touch users, and you can share your application through email or by posting it to a web site or server.

    使用AdHoc发行版编译具有特殊配置文件的副本,允许他通过iTunes将其安装在他的设备上。 AdHoc发行版允许您与最多100个其他iPhone或iPod touch用户共享您的应用程序,您可以通过电子邮件或将其发布到网站或服务器来共享您的应用程序。

  2. Set him up as a member of your development group in Apple's Program Portal (requires business-level membership) and then send him the entire source folder for your project and let him build it. He could check it out of version control and build it without too much hassle.

    将他设置为Apple的程序门户中的开发组成员(需要业务级别的成员资格),然后向他发送项目的整个源文件夹并让他构建它。他可以从版本控制中检查出来并构建它而不会有太多麻烦。

I'd opt for option 1, though you need to setup ad-hoc provisioning profiles for your project in the Program Portal, which can be kind of a pain.

我会选择选项1,但您需要在程序门户中为项目设置临时配置文件,这可能会很麻烦。

#2


8  

You need to use a method called ad-hoc distribution.

您需要使用称为ad-hoc分发的方法。

You need to add the offsite phone to your applicaiton's provisioning profile, (you will need it's UUID to do that), once you have built and signed the application you send a zip file that contains the .app created by Xcode and a copy of the .mobileprovision file to your co-worker.

您需要将非现场电话添加到您的应用程序的配置文件中(您将需要它的UUID才能执行此操作),一旦您构建并签署了应用程序,您就会发送一个包含Xcode创建的.app的zip文件和一份副本。 .mobileprovision文件给你的同事。

He drags them both into iTunes, the app should then show up and he syncs it onto his phone.

他将它们拖入iTunes中,应用程序应该出现并将其同步到手机上。

Look into the apple iPhone Dev center for more info

查看苹果iPhone开发中心了解更多信息

#3


3  

If you're still looking -> http://testflightapp.com ;)

如果你还在寻找 - > http://testflightapp.com;)

TestFlightApp is a webapp tool which allow you creating teams (you give a recruit link) and then you can manage members. Promote a tester as developper and the contrary. When you upload a build (.ipa), then all your teammates (from every team you push the build for) will receive an email to tell them the new build and changelog, and the webapp will allow them install or upgrade the new build.

TestFlightApp是一个webapp工具,允许您创建团队(您提供招聘链接),然后您可以管理成员。推动测试人员作为开发人员,相反。当您上传构建(.ipa)时,所有团队成员(来自您推动构建的每个团队)都会收到一封电子邮件,告诉他们新的构建和更改日志,而webapp将允许他们安装或升级新构建。

Very interesting.

很有意思。

#4


2  

You can ask for you coworker UUID and add him as a Beta tester for your app in your Developper Portal.

您可以向您询问同事UUID并将其作为您的应用程序的Beta测试人员添加到您的开发人员门户中。

you'll be able to send a zip file which can be install on the targeted iPhone, full step by step : http://furbo.org/2008/08/06/beta-testing-on-iphone-20/

你将能够发送一个可以在目标iPhone上安装的zip文件,一步一步完成:http://furbo.org/2008/08/06/beta-testing-on-iphone-20/

[edit] If your coworker is also developper and you just want him/her to test the binary without seeing the source code, he/she can resign the application bundle: resign a application (TUAW)

[编辑]如果您的同事也是开发人员,并且您只是希望他/她在不查看源代码的情况下测试二进制文件,他/她可以重新签名应用程序包:重新签名应用程序(TUAW)

#5


2  

This page has a really good walk through for Windows and iTunes installation. Along with making sure you drag the .app folder (not the zip), this is probably the most important part of the process - dragging into the library not the device:

这个页面非常适合Windows和iTunes安装。除了确保拖动.app文件夹(而不是zip)之外,这可能是该过程中最重要的部分 - 拖入库而不​​是设备:

alt text http://iphone.farook.org/images/faqs/adhoc-3.png

alt text http://iphone.farook.org/images/faqs/adhoc-3.png

#6


0  

Your coworker would need an Apple Developer license and would need to go though the standard process.

您的同事需要Apple开发人员许可证,并且需要通过标准流程。

Alternatively, I believe it'd have to go though the App Store.

或者,我相信它必须通过App Store。

#7


0  

You have to have a license too, to create provision proviles (like the Ad-Hoc provision profile as described above). But if you have, you have to create that, enable it in your project as provision-profile for build "Ad-Hoc" (if doesn't exists, make one) and build it to a device (only build, not build-and-go). Mail the product and the ad-hoc provision profile to your friend, and let him drag both files to iTunes. Now he can sync and install the app on his device.

您还必须拥有许可证才能创建配置文件(如上所述的Ad-Hoc配置文件)。但是,如果你有,你必须创建它,在你的项目中启用它作为构建“Ad-Hoc”的供应配置文件(如果不存在,制作一个)并将其构建到设备(仅构建,而不是构建 - 去)。将产品和临时提供配置文件邮寄给您的朋友,然后让他将这两个文件拖到iTunes。现在,他可以在他的设备上同步和安装应用程序。

Don't forget to add his device-identifier to your ad-hoc provision profile.

不要忘记将他的设备标识符添加到您的ad-hoc配置文件中。