Xcode 5显示两次相同的设备 [英] Xcode 5 shows the same device twice

查看:99
本文介绍了Xcode 5显示两次相同的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我的团队从Xcode 4切换到5后,这个奇怪的错误出现了:

Ever since my team switched from Xcode 4 to 5, this weird bug shows up, that:

当我们将iPhone / iPod touch连接到mac时,设备将显示为两个设备作为部署候选。
两者都正确显示了相同的设备名称但如果我们在第一个上运行我们的应用程序,有时segue会导致崩溃,而同一个segue在第二个上工作正常。

When we connect the iPhone/iPod touch to the macs, the device will be shown as two devices as deployment candidate. Both have the same device name correctly displayed but if we run our app on the 1st one, sometimes a segue will cause a crash whereas the same segue will work fine on the 2nd one.

我们在不同Mac上的所有设备上都会出现此问题:iPod Touch 5,iPhone 4s,带iOS 6和7的iPhone 5

This issue occurs on all of our devices on different macs: iPod Touch 5, iPhone 4s, iPhone 5 with iOS 6 and 7

所以我的问题是,为什么有2个相同的设备,而且,我如何修复它?

So my questions are, why are there 2 of the same device, and further, how do I fix it?

推荐答案

as @Petesh states这是因为将6.1 SDK添加到xCode 5.此外,其中一个设备将以iOS 6.1视觉样式运行,而另一个设备将以7.0样式运行。遗憾的是,你无法分辨出6.1风格的运行方式和7.0风格的运行方式。

as @Petesh states, this is due to adding the 6.1 SDK to xCode 5. Additionally, one of the devices will run with iOS 6.1 visual styles while the other will run with 7.0 styles. Sadly you can't tell the difference which will run with the 6.1 styles and which will run with the 7.0 styles.

这篇关于Xcode 5显示两次相同的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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