简体   繁体   English

如何在真正的iPhone上运行我的应用程序? (我有我同事的证明)

[英]How do I run my app on real iPhone? (i have a certificate from my coworker)

So I've been running my app in the simulator, but now it's time to test it on a real device. 因此,我一直在模拟器中运行我的应用程序,但是现在是时候在真实设备上对其进行测试了。 One of my coworkers sent me a certificate, which I installed. 我的一个同事给我发了证书,我安装了。 I selected this developer in Code Signing Identity menu, but when I try to build it tells me that No provisioning profiles with a valid signing identity were found . 我在“代码签名身份”菜单中选择了该开发人员,但是当我尝试构建它时,它告诉我没有找到具有有效签名身份的配置文件

What now? 现在怎么办? Should I request something else from him? 我应该再要求他吗?

We're in different time zones and I'm losing lots of time getting a reply from him. 我们在不同的时区,而我正浪费很多时间来得到他的答复。

This process can be sometimes quite complicated. 这个过程有时会非常复杂。 I suggest you to take easier way to do it, which could be done directly in xcode. 我建议您采取一种更简单的方法,可以直接在xcode中完成。

Ask your friend to export his developer account from his computer and import it on yours. 请您的朋友从他的计算机上导出他的开发者帐户,然后将其导入到您的计算机中。 You can export account from xcode doing those steps: 您可以按照以下步骤从xcode导出帐户:
1. Open xcode. 1.打开xcode。
2. Open xcode's main preferences. 2.打开xcode的主要首选项。
3. Select account for export, click on "option" button below and choose export account. 3.选择要导出的帐户,单击下面的“选项”按钮,然后选择导出帐户。

After importing, setting build settings and adding your device to development list you should be able to test on it. 导入后,设置构建设置并将您的设备添加到开发列表中,您应该可以对其进行测试。

For building app in device you need two things: 1. Certificate 2. Provisioning profile which should be linked with above certificate. 要在设备中构建应用程序,您需要做两件事:1.证书2.应与上述证书链接的配置文件。

Please tell your coworker to send provisioning profile that include given certificate. 请告诉您的同事发送包含给定证书的配置文件。

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

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