Xcode 6.3 测试版不支持 iOS 8.2
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28974926/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
iOS 8.2 not supported in Xcode 6.3 beta
提问by Fawkes
As stated in the title, upgraded today to iOS 8.2 and my device is not supported in Xcode 6.3 beta.
如标题所述,今天升级到 iOS 8.2,我的设备在 Xcode 6.3 beta 中不受支持。
Even though Xcode 6.3 supports iOS 8.3, I also cannot install iOS 8.2 simulator.
即使 Xcode 6.3 支持 iOS 8.3,我也无法安装 iOS 8.2 模拟器。
I cannot quit using Xcode 6.3 beta because I have quite of a lot of code modified according to Swift 1.2 changes and as far as I know Xcode 6.2 does not yet support Swift 1.2.
我不能停止使用 Xcode 6.3 beta,因为我根据 Swift 1.2 的变化修改了很多代码,据我所知 Xcode 6.2 还不支持 Swift 1.2。
Is there any known solution except downgrading or upgrading to iOS 8.3 beta? (also iOS 8.3 beta was not to be found along apple links for download)
除了降级或升级到 iOS 8.3 测试版之外,还有其他已知的解决方案吗?(在苹果的下载链接中也找不到 iOS 8.3 测试版)
P.S.. I was able to run Swift code on the device prior to upgrade..
附注。在升级之前,我能够在设备上运行 Swift 代码。
回答by Fawkes
After installing Xcode 6.2 also released this days, I opened a random project, it signed (or did something with my device) and after that Xcode 6.3 beta recognised my iOS 8.2 version!
在安装了这天也发布的 Xcode 6.2 后,我打开了一个随机项目,它签名(或用我的设备做了一些事情),然后 Xcode 6.3 beta 识别了我的 iOS 8.2 版本!
- Install the last stable Xcode version
- open a random project
- connect your device while keeping the Xcode opened
- let Xcode make it's own procedures for recognising the device ("copy symbols"..)
- open your beta Xcode and enjoy using your test device as always
- 安装最后一个稳定的 Xcode 版本
- 打开一个随机项目
- 在保持 Xcode 打开的同时连接您的设备
- 让 Xcode 自己制作识别设备的程序(“复制符号”..)
- 打开您的测试版 Xcode,一如既往地享受使用您的测试设备的乐趣
回答by kalpeshdeo
The fix is: Go to Product > Destination, and even though it says your device is ineligible, it will still allow you to select it, then building to it will work.
解决方法是:转到“产品”>“目标”,即使它说您的设备不符合条件,它仍然允许您选择它,然后构建它就可以了。
回答by HEK
This worked after I installed latest beta today: Open Xcode 6.2 and go to Devices. Connect your iPhone and wait for the spinner to finish (some minutes in my case). Close 6.2 and re-open 6.3. Now it should work!
这在我今天安装了最新的测试版后起作用了:打开 Xcode 6.2 并转到设备。连接你的 iPhone 并等待微调器完成(在我的情况下需要几分钟)。关闭 6.2 并重新打开 6.3。现在它应该可以工作了!
Thanks to Christian Zangl on the Apple Developer forum!
感谢 Apple 开发者论坛上的 Christian Zangl!
回答by Fernando Martínez
回答by ixpert
Played with the workaround till Apple guys fix it. If you have xcode 6.2 installed, symlink the 8.2 device support from Xcode 6.2 into Xcode 6.3 beta.
尝试解决方法,直到 Apple 人员修复它。如果您安装了 xcode 6.2,请将 8.2 设备支持从 Xcode 6.2 符号链接到 Xcode 6.3 beta。
ln -s "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.2 (12D508)" /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.2
Enjoy :)
享受 :)
回答by Nitin Nain
I was able to resolve this without installing the stable version of XCode (~3.5GB download) to register my iOS device. (Other answers propose that you install the other XCode version.)
我无需安装稳定版本的 XCode(约 3.5GB 下载)即可解决此问题以注册我的 iOS 设备。(其他答案建议您安装其他 XCode 版本。)
FIX: iOS devices can be registered for development manually as well (i.e. without XCode). Here are the steps http://support.smartbear.com/viewarticle/63764/
修复:iOS 设备也可以手动注册进行开发(即没有 XCode)。以下是步骤http://support.smartbear.com/viewarticle/63764/
P.S. - It took me only about 10mins to complete this process manually. Requires iTunes (to read the devices UDID) and 'admin' access to the member centre.
PS - 我只花了大约 10 分钟就手动完成了这个过程。需要 iTunes(读取设备 UDID)和会员中心的“管理员”访问权限。