简体   繁体   English

如何在iOS设备上远程安装App

[英]how to Install App on device remotely iOS

I am android developer but I have just started the iOS development it was quite a fun until and unless i faced the distribution time. 我是android开发人员,但我刚刚开始进行iOS开发,直到并且除非遇到发布时间,这还是很有趣的。

My app is completed. 我的应用程序完成了。 now I have to give/send demo of the app to my client, I did R&D and found that to install app on device I need a UDID. 现在我必须将应用程序演示提供给/发送给我的客户端,我进行了研发,发现要在设备上安装应用程序,我需要一个UDID。 I have one device also with me I have already added its UDID in my profile, so I can test on it. 我也有一个设备,我已经在个人资料中添加了它的UDID,因此可以对其进行测试。

Now tell me if I ask my client for UDID and if he supply me UDID, then after it how can I run app on his device. 现在告诉我,如果我问我的客户UDID,以及他是否向我提供UDID,那么之后如何在他的设备上运行应用程序。 I can not access the client device physically. 我无法物理访问客户端设备。

I know this has been asked so many times and I have read those question. 我知道这个问题已经问了很多遍了,我已经读过这些问题了。 but most of them are outdated as I can not find those options in xcode 但它们中的大多数已过时,因为我无法在xcode中找到这些选项

I am using xcode 9.2 and swft 4.2 . 我正在使用xcode 9.2和swft 4.2。 Please suggest me a batter way of doing that...... 请建议我这样做的一种连击方式...

There are many options:- 有很多选择:

  1. Create adhoc profile then add UDID of client, then create IPA.Now create diawi link and share to client 创建即席配置文件,然后添加客户端的UDID,然后创建IPA。现在创建diawi链接并共享给客户端

  2. Create enterprise profile, Create diawi and then create diawi and share it. 创建企业资料,创建diawi,然后创建diawi并共享它。

  3. Go with testflight. 一起试飞。

Useful Links:- 有用的链接:

How create diawi 如何创建diawi

Create adhox 创建adhox

Use of test 使用测试

Thanks 谢谢

If you have client's device UDID then you can send build using Diawi link, Simply follow this steps. 如果您具有客户端的设备UDID,则可以使用Diawi链接发送构建,只需按照以下步骤操作即可。

First of all add client's UDID in developer.apple account. 首先,在developer.apple帐户中添加客户端的UDID。

Then Create "Provisioning profile -> AdHoc" profile. 然后创建“配置文件-> AdHoc”配置文件。 when you create AdHoc profile at that time select Client's UDID. 当您在那时创建AdHoc配置文件时,请选择客户端的UDID。 (See more details https://support.magplus.com/hc/en-us/articles/204270188-iOS-Creating-an-Ad-Hoc-Distribution-Provisioning-Profile ) (查看更多详细信息https://support.magplus.com/hc/en-us/articles/204270188-iOS-Creating-an-Ad-Hoc-Distribution-Provisioning-Profile

在此处输入图片说明

Using AdHoc profile archive project in xcode and export .ipa of application. 在xcode中使用AdHoc配置文件存档项目并导出应用程序的.ipa。

Upload exported .ipa file in https://www.diawi.com/ https://www.diawi.com/中上传导出的.ipa文件

After finishing upload you can share build link with client. 上传完成后,您可以与客户端共享构建链接。

Open this build link in safari browser(in device) to install application. 在Safari浏览器(在设备中)中打开此构建链接以安装应用程序。

I suggest you use TestFlight . 我建议您使用TestFlight

You can create App on Appstore Connect and then upload one build to the Appstore using Xcode . 您可以在Appstore Connect上创建App,然后使用Xcode将一个内部版本上传到Appstore After that you can simply use TestFlight to allow Internal or External Testers to download the app using TestFlight. 之后,您可以简单地使用TestFlight允许内部或外部测试人员使用TestFlight 下载应用程序

Advantages of TestFlight is that you don't need to have UDID s of users, you can invite them using their email addresses. TestFlight的优点是您不需要用户的UDID ,您可以使用他们的电子邮件地址邀请他们。 Also, you can invite external testers by using the Public Link now. 另外,您现在可以使用公共链接来邀请外部测试人员。 You don't need email addresses of users if you create a Public Link and share the links with the users. 如果创建公共链接并与用户共享链接,则不需要用户的电子邮件地址。

Apple beta distribution options are following, Apple Beta发行选项如下,

You must have apple developer account enrolled to give away beta app. 您必须注册有Apple开发人员帐户才能放弃Beta版应用程序。

1) TestFlight internal testers:- We can direct distribute by adding testers apple email to TestFlight section in AppStoreConnect. 1) TestFlight内部测试人员:-我们可以通过向AppStoreConnect的TestFlight部分添加测试人员Apple电子邮件来直接分发。

2) TestFlight External Testers:- We need to add any email ids of testers, they will get invitation with a redeem code, testers will have to redeem it using TestFlight app . 2) TestFlight外部测试人员:-我们需要添加任何测试人员的电子邮件ID,他们将获得带有兑换代码的邀请,测试人员必须使用TestFlight应用程序进行兑换。 User will notify for every build through TestFlight app. 用户将通过TestFlight应用程序通知每个构建。 For External we have to submit for review for the first time only for every app version. 对于外部,我们仅需要针对每个应用版本首次提交审核。 Recently apple released feature to create a Public Link to invite testers, which you can share to any tester and tester can insert details directly from a web page. 苹果最近发布了一项功能,用于创建邀请测试人员的公共链接,您可以将其共享给任何测试人员,并且测试人员可以直接从网页插入详细信息。

3) Diawi Link:- You can upload build directly to Diawi, and distribute to testers whose UDIDS are attached with provisioning profile. 3) Diawi链接:-您可以直接将构建版本上传到Diawi,并分发给其UDIDS随供应配置文件附加的测试人员。 There are some limitations to upload to Diawi like max ipa size is 100mb, expiration time 1day,.... 上传到Diawi有一些限制,例如最大ipa大小为100mb,有效期为1天,.....

4) AppBox:- To get rid if Diawi limitations, Some one introduce AppBox. 4) AppBox:-要摆脱Diawi的限制,有人介绍AppBox。 AppBox is an open source GitHub repo, I found it some time ago, not using it regularly so I don't have deeper idea. AppBox是一个开源的GitHub存储库,我是在一段时间前找到的,没有定期使用它,所以我没有更深的想法。 AppBox is using dropbox to upload and using link to share with testers, we can directly upload to AppStore as-well. AppBox使用Dropbox上载并使用链接与测试人员共享,我们也可以直接上载到AppStore。

Hope it covers all options of beta distribution for iOS, will update answer for AppBox as I will use more. 希望它涵盖iOS Beta发行版的所有选项,随着我将使用更多内容,它将更新AppBox的答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM