通过VMWare进行iOS设备测试 [英] iOS device testing via VMWare

查看:84
本文介绍了通过VMWare进行iOS设备测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将我的iPhone应用程序上传到我的iPhone.我在VMWare虚拟机上运行Xcode和OSX.即使iTunes在插入时可以识别iPhone(这意味着虚拟机和iPhone之间的USB连接正常工作),但是无论我做什么,Xcode都无法识别该设备.

I am trying to upload my iPhone app to my iPhone. I'm running Xcode and OS X on a VMWare virtual machine. Even though iTunes recognizes the iPhone when it's plugged in (implying that the USB connection between the virtual machine and the iPhone is working fine), no matter what I do, Xcode does not recognize the device.

错误是:

Xcode无法使用所选设备运行. 没有可用的兼容iOS版本的预配置iOS设备.将iOS设备与最新版本的iOS连接,以运行您的应用程序或选择iOS模拟器作为目标.

Xcode cannot run using the selected device. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.

想法?

推荐答案

未配置设备"表示您没有将设备添加到配置门户,或者没有安装适当的配置和证书.

'No provisioned devices' implies that you did not add your device to the provisioning portal, or you dont have the proper provisions and certificates installed.

Xcode和iOS在代码签名方面非常严格,因此,没有适当的证书和置备配置文件,应用程序将无法安装在任何设备上(模拟器之外).它们非常容易制作,只需要一个苹果开发者帐户即可获得$ 100.

Xcode and iOS are VERY strict about code signing, and so apps will not install on any device (besides the simulator) without the proper certificates and provisioning profiles. They're very easy to make, and only require an apple developer account available for $100.

从设备端:

即插即用在设备中,输入管理器,然后选择设备并单击管理器中的加号按钮.它将要求您提供登录凭据,然后,如果一切顺利,会将您的设备添加到开发人员门户中,并可能生成通配符.

Plug In your device, enter the organizer, then select your device and click the plus button in the organizer. It will ask for login credentials, then if all goes well, will add your device to your developer portal and possibly generate a wildcard provision.

从计算机端:

进入苹果开发商会员中心.单击"iOS设置门户",然后申请并下载适当的证书.然后将这些证书拖到xcode应用程序图标上,它将证书安装到您的钥匙串中,并将其移动到组织器内的适当位置.

Enter the apple developer member center. Click 'iOS provisioning portal' and apply for and download the proper certifications. Then drag those certifications onto the xcode application icon and it will install them in your keychain and move them to the proper place within the organizer.

这篇关于通过VMWare进行iOS设备测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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